@vercel/static-build 33.0.0 → 33.0.1-snapshot-e90c74f31ca1
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.
- package/dist/index.js +8 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -12445,6 +12445,7 @@ var require_static_builder = __commonJS({
|
|
|
12445
12445
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
12446
12446
|
var static_builder_exports = {};
|
|
12447
12447
|
__export2(static_builder_exports, {
|
|
12448
|
+
CONTAINER_IGNORE_FILES: () => CONTAINER_IGNORE_FILES2,
|
|
12448
12449
|
STATIC_EXCLUDED_FILES: () => STATIC_EXCLUDED_FILES2,
|
|
12449
12450
|
createExcludeFilesMatcher: () => createExcludeFilesMatcher2,
|
|
12450
12451
|
createStaticBuilder: () => createStaticBuilder,
|
|
@@ -12455,6 +12456,10 @@ var require_static_builder = __commonJS({
|
|
|
12455
12456
|
var import_path7 = require("path");
|
|
12456
12457
|
var import_build_utils5 = require("@vercel/build-utils");
|
|
12457
12458
|
var version2 = 2;
|
|
12459
|
+
var CONTAINER_IGNORE_FILES2 = [
|
|
12460
|
+
"**/.dockerignore",
|
|
12461
|
+
"**/.containerignore"
|
|
12462
|
+
];
|
|
12458
12463
|
var STATIC_EXCLUDED_FILES2 = [
|
|
12459
12464
|
".git/**",
|
|
12460
12465
|
".vercel/**",
|
|
@@ -12463,6 +12468,7 @@ var require_static_builder = __commonJS({
|
|
|
12463
12468
|
".env*",
|
|
12464
12469
|
".env*/**",
|
|
12465
12470
|
".gitignore",
|
|
12471
|
+
...CONTAINER_IGNORE_FILES2,
|
|
12466
12472
|
"package.json",
|
|
12467
12473
|
"package-lock.json",
|
|
12468
12474
|
"yarn.lock",
|
|
@@ -70992,10 +70998,8 @@ async function collectStaticFiles(distPath, sourceRoot, meta, mountpoint, servic
|
|
|
70992
70998
|
const publishingRoot = [workPath, sourceRoot].some(
|
|
70993
70999
|
(rootPath) => import_path6.default.resolve(rootPath) === resolvedDistPath
|
|
70994
71000
|
);
|
|
70995
|
-
const ignore = publishingRoot ? import_static_builder.STATIC_EXCLUDED_FILES :
|
|
70996
|
-
|
|
70997
|
-
(0, import_build_utils4.debug)(`Using ignore: ${JSON.stringify(ignore)}`);
|
|
70998
|
-
}
|
|
71001
|
+
const ignore = publishingRoot ? import_static_builder.STATIC_EXCLUDED_FILES : import_static_builder.CONTAINER_IGNORE_FILES;
|
|
71002
|
+
(0, import_build_utils4.debug)(`Using ignore: ${JSON.stringify(ignore)}`);
|
|
70999
71003
|
if (!meta?.daemonContext && !meta?.servicesContext)
|
|
71000
71004
|
return removeExcludedFiles(
|
|
71001
71005
|
await (0, import_build_utils4.glob)("**", { cwd: distPath, ignore }, mountpoint),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "33.0.
|
|
3
|
+
"version": "33.0.1-snapshot-e90c74f31ca1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/build-step",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"ts-morph": "12.0.0",
|
|
17
|
-
"@vercel/gatsby-plugin-vercel-builder": "2.2.93",
|
|
18
17
|
"@vercel/gatsby-plugin-vercel-analytics": "1.0.12",
|
|
18
|
+
"@vercel/gatsby-plugin-vercel-builder": "2.2.93",
|
|
19
19
|
"@vercel/static-config": "3.4.4"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"semver": "7.5.2",
|
|
41
41
|
"tree-kill": "1.2.2",
|
|
42
42
|
"vitest": "4.1.10",
|
|
43
|
-
"@vercel-internals/builder-orchestration": "1.2.
|
|
43
|
+
"@vercel-internals/builder-orchestration": "1.2.3",
|
|
44
44
|
"@vercel/error-utils": "2.2.1",
|
|
45
45
|
"@vercel/build-utils": "15.9.0",
|
|
46
46
|
"@vercel/frameworks": "3.35.1",
|