From a6972276f88b140948e2c5dc06410ee82feaae34 Mon Sep 17 00:00:00 2001 From: "Houston (Bot)" <108291165+astrobot-houston@users.noreply.github.com> Date: Thu, 10 Aug 2023 06:25:28 -0700 Subject: [PATCH 1/5] [ci] release (#8017) Co-authored-by: github-actions[bot] --- packages/integrations/vercel/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index 39451bd41f..566cead6fb 100644 --- a/packages/integrations/vercel/package.json +++ b/packages/integrations/vercel/package.json @@ -61,7 +61,7 @@ "web-vitals": "^3.3.2" }, "peerDependencies": { - "astro": "workspace:^2.10.4" + "astro": "workspace:^2.10.5" }, "devDependencies": { "@types/set-cookie-parser": "^2.4.2", From 8bd6b3c8410e840a1429e8277f5624ade2edf227 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Fri, 11 Aug 2023 09:58:32 -0400 Subject: [PATCH 2/5] Prevent Vercel NFT from scanning /dev (#8039) * Prevent Vercel NFT from scanning /dev * Add a comment --- packages/integrations/vercel/src/lib/nft.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/integrations/vercel/src/lib/nft.ts b/packages/integrations/vercel/src/lib/nft.ts index 752f87251b..adba8d985c 100644 --- a/packages/integrations/vercel/src/lib/nft.ts +++ b/packages/integrations/vercel/src/lib/nft.ts @@ -28,6 +28,9 @@ export async function copyDependenciesToFunction({ const { nodeFileTrace } = await import('@vercel/nft'); const result = await nodeFileTrace([entryPath], { base: fileURLToPath(base), + // If you have a route of /dev this appears in source and NFT will try to + // scan your local /dev :8 + ignore: ['/dev/**'] }); for (const error of result.warnings) { From 30402df908c3bca95db310ed9f7b07e230124657 Mon Sep 17 00:00:00 2001 From: matthewp Date: Fri, 11 Aug 2023 14:00:50 +0000 Subject: [PATCH 3/5] [ci] format --- packages/integrations/vercel/src/lib/nft.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/integrations/vercel/src/lib/nft.ts b/packages/integrations/vercel/src/lib/nft.ts index adba8d985c..10c298a1dc 100644 --- a/packages/integrations/vercel/src/lib/nft.ts +++ b/packages/integrations/vercel/src/lib/nft.ts @@ -30,7 +30,7 @@ export async function copyDependenciesToFunction({ base: fileURLToPath(base), // If you have a route of /dev this appears in source and NFT will try to // scan your local /dev :8 - ignore: ['/dev/**'] + ignore: ['/dev/**'], }); for (const error of result.warnings) { From 7fbd4b1a62ebd9ce3b8caad87cd6be26e519bc0d Mon Sep 17 00:00:00 2001 From: "Houston (Bot)" <108291165+astrobot-houston@users.noreply.github.com> Date: Fri, 11 Aug 2023 08:22:23 -0700 Subject: [PATCH 4/5] [ci] release (#8023) Co-authored-by: github-actions[bot] --- packages/integrations/vercel/CHANGELOG.md | 9 +++++++++ packages/integrations/vercel/package.json | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md index 899005dc0b..d255604532 100644 --- a/packages/integrations/vercel/CHANGELOG.md +++ b/packages/integrations/vercel/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/vercel +## 3.8.1 + +### Patch Changes + +- [#8039](https://github.com/withastro/astro/pull/8039) [`6b57628d1`](https://github.com/withastro/astro/commit/6b57628d128779290db3344bbb6de7282196fb97) Thanks [@matthewp](https://github.com/matthewp)! - Prevent Vercel NFT from scanning /dev + +- Updated dependencies [[`1b8d30209`](https://github.com/withastro/astro/commit/1b8d3020990130dabfaaf753db73a32c6e0c896a), [`405913cdf`](https://github.com/withastro/astro/commit/405913cdf20b26407aa351c090f0a0859a4e6f54), [`87d4b1843`](https://github.com/withastro/astro/commit/87d4b18437c7565c48cad4bea81831c2a244ebb8), [`c23377caa`](https://github.com/withastro/astro/commit/c23377caafbc75deb91c33b9678c1b6868ad40ea), [`86bee2812`](https://github.com/withastro/astro/commit/86bee2812185df6e14025e5962a335f51853587b)]: + - astro@2.10.6 + ## 3.8.0 ### Minor Changes diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index 566cead6fb..ff5ee6d3f2 100644 --- a/packages/integrations/vercel/package.json +++ b/packages/integrations/vercel/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/vercel", "description": "Deploy your site to Vercel", - "version": "3.8.0", + "version": "3.8.1", "type": "module", "author": "withastro", "license": "MIT", @@ -61,7 +61,7 @@ "web-vitals": "^3.3.2" }, "peerDependencies": { - "astro": "workspace:^2.10.5" + "astro": "workspace:^2.10.6" }, "devDependencies": { "@types/set-cookie-parser": "^2.4.2", From 9db0ecb6123ad339c309769f9b03f843138290d7 Mon Sep 17 00:00:00 2001 From: "Houston (Bot)" <108291165+astrobot-houston@users.noreply.github.com> Date: Fri, 11 Aug 2023 11:02:47 -0700 Subject: [PATCH 5/5] [ci] release (#8043) Co-authored-by: github-actions[bot] --- packages/integrations/vercel/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index ff5ee6d3f2..726587005a 100644 --- a/packages/integrations/vercel/package.json +++ b/packages/integrations/vercel/package.json @@ -61,7 +61,7 @@ "web-vitals": "^3.3.2" }, "peerDependencies": { - "astro": "workspace:^2.10.6" + "astro": "workspace:^2.10.7" }, "devDependencies": { "@types/set-cookie-parser": "^2.4.2",