@vercel/static-build 2.12.7 → 2.12.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +10 -31
  2. package/package.json +8 -7
package/dist/index.js CHANGED
@@ -11172,16 +11172,10 @@ var require_frameworks = __commonJS({
11172
11172
  value: "N/A"
11173
11173
  }
11174
11174
  },
11175
- getOutputDirName: async () => "public",
11176
- defaultRoutes: [
11177
- {
11178
- handle: "filesystem"
11179
- },
11180
- {
11181
- src: "/(.*)",
11182
- dest: "/src/main"
11183
- }
11184
- ]
11175
+ getOutputDirName: async () => "public"
11176
+ // No `defaultRoutes`: `@vercel/rust` emits mode-specific routes. Plain
11177
+ // servers must preserve rewritten request paths, while `vercel_runtime`
11178
+ // servers retain the legacy `/src/main` fallback.
11185
11179
  },
11186
11180
  {
11187
11181
  name: "Axum",
@@ -11221,16 +11215,8 @@ var require_frameworks = __commonJS({
11221
11215
  value: "N/A"
11222
11216
  }
11223
11217
  },
11224
- getOutputDirName: async () => "public",
11225
- defaultRoutes: [
11226
- {
11227
- handle: "filesystem"
11228
- },
11229
- {
11230
- src: "/(.*)",
11231
- dest: "/src/main"
11232
- }
11233
- ]
11218
+ getOutputDirName: async () => "public"
11219
+ // Routes are emitted by `@vercel/rust` based on the selected mode.
11234
11220
  },
11235
11221
  {
11236
11222
  name: "Actix Web",
@@ -11271,16 +11257,8 @@ var require_frameworks = __commonJS({
11271
11257
  value: "N/A"
11272
11258
  }
11273
11259
  },
11274
- getOutputDirName: async () => "public",
11275
- defaultRoutes: [
11276
- {
11277
- handle: "filesystem"
11278
- },
11279
- {
11280
- src: "/(.*)",
11281
- dest: "/src/main"
11282
- }
11283
- ]
11260
+ getOutputDirName: async () => "public"
11261
+ // Routes are emitted by `@vercel/rust` based on the selected mode.
11284
11262
  },
11285
11263
  {
11286
11264
  name: "Bun",
@@ -30764,7 +30742,8 @@ ${issues}`,
30764
30742
  import_zod4.z.array(dependencyGroupEntrySchema)
30765
30743
  );
30766
30744
  var pyProjectToolVercelFastapiStaticSectionSchema = import_zod4.z.object({
30767
- cdn: import_zod4.z.boolean().optional()
30745
+ cdn: import_zod4.z.boolean().optional(),
30746
+ exclude: import_zod4.z.boolean().optional()
30768
30747
  });
30769
30748
  var pyProjectToolVercelFastapiSectionSchema = import_zod4.z.object({
30770
30749
  static: pyProjectToolVercelFastapiStaticSectionSchema.optional()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/static-build",
3
- "version": "2.12.7",
3
+ "version": "2.12.8",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/build-step",
@@ -14,9 +14,9 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "ts-morph": "12.0.0",
17
- "@vercel/gatsby-plugin-vercel-builder": "2.2.41",
18
- "@vercel/static-config": "3.4.1",
19
- "@vercel/gatsby-plugin-vercel-analytics": "1.0.12"
17
+ "@vercel/gatsby-plugin-vercel-analytics": "1.0.12",
18
+ "@vercel/gatsby-plugin-vercel-builder": "2.2.42",
19
+ "@vercel/static-config": "3.4.1"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/aws-lambda": "8.10.64",
@@ -37,10 +37,10 @@
37
37
  "semver": "7.5.2",
38
38
  "tree-kill": "1.2.2",
39
39
  "vitest": "4.1.10",
40
- "@vercel/build-utils": "14.1.1",
41
40
  "@vercel/error-utils": "2.2.1",
42
- "@vercel/fs-detectors": "6.15.8",
43
- "@vercel/frameworks": "3.31.0",
41
+ "@vercel/build-utils": "14.2.0",
42
+ "@vercel/frameworks": "3.32.0",
43
+ "@vercel/fs-detectors": "6.15.10",
44
44
  "@vercel/routing-utils": "6.5.0"
45
45
  },
46
46
  "scripts": {
@@ -48,6 +48,7 @@
48
48
  "test": "vitest run --config ../../vitest.config.mts",
49
49
  "test-unit": "vitest run --config ../../vitest.config.mts test/build.test.ts test/hugo.test.ts test/gatsby.test.ts test/prepare-cache.test.ts",
50
50
  "test-e2e": "vitest run --config ../../vitest.config.mts test/integration-",
51
+ "test-e2e-builder": "pnpm run test-e2e",
51
52
  "type-check": "tsc --noEmit"
52
53
  }
53
54
  }