@vercel/static-build 2.9.20 → 2.9.22

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 +13 -1
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -24667,7 +24667,19 @@ var require_detect_builders = __commonJS({
24667
24667
  var import_build_utils5 = require("@vercel/build-utils");
24668
24668
  var import_get_services_builders = require_get_services_builders();
24669
24669
  var REGEX_MIDDLEWARE_FILES = "middleware.[jt]s";
24670
- var REGEX_VERCEL_PLATFORM_FILES = `api/**,package.json,${REGEX_MIDDLEWARE_FILES}`;
24670
+ var REGEX_VERCEL_PLATFORM_FILES = [
24671
+ "api/**",
24672
+ "node_modules/**",
24673
+ REGEX_MIDDLEWARE_FILES,
24674
+ "package.json",
24675
+ "package-lock.json",
24676
+ "yarn.lock",
24677
+ "pnpm-lock.yaml",
24678
+ "bun.lock",
24679
+ "bun.lockb",
24680
+ ".gitignore",
24681
+ "README.md"
24682
+ ].join(",");
24671
24683
  var REGEX_NON_VERCEL_PLATFORM_FILES2 = `!{${REGEX_VERCEL_PLATFORM_FILES}}`;
24672
24684
  var slugToFramework = new Map(
24673
24685
  import_frameworks2.frameworkList.map((f) => [f.slug, f])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/static-build",
3
- "version": "2.9.20",
3
+ "version": "2.9.22",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/build-step",
@@ -15,8 +15,8 @@
15
15
  "dependencies": {
16
16
  "ts-morph": "12.0.0",
17
17
  "@vercel/gatsby-plugin-vercel-analytics": "1.0.11",
18
- "@vercel/gatsby-plugin-vercel-builder": "2.1.20",
19
- "@vercel/static-config": "3.2.0"
18
+ "@vercel/static-config": "3.3.0",
19
+ "@vercel/gatsby-plugin-vercel-builder": "2.2.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/aws-lambda": "8.10.64",
@@ -38,11 +38,11 @@
38
38
  "rc9": "1.2.0",
39
39
  "semver": "7.5.2",
40
40
  "tree-kill": "1.2.2",
41
- "@vercel/build-utils": "13.19.1",
42
- "@vercel/error-utils": "2.0.3",
43
- "@vercel/frameworks": "3.24.1",
44
- "@vercel/fs-detectors": "5.19.1",
45
- "@vercel/routing-utils": "6.1.1"
41
+ "@vercel/build-utils": "13.21.0",
42
+ "@vercel/frameworks": "3.25.0",
43
+ "@vercel/error-utils": "2.1.0",
44
+ "@vercel/routing-utils": "6.2.0",
45
+ "@vercel/fs-detectors": "6.1.0"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "node ../../utils/build-builder.mjs",