@vercel/static-build 31.0.0 → 32.0.0-snapshot-24d117b8c08a

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 +8 -1
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -59118,6 +59118,9 @@ var require_resolve_v2 = __commonJS({
59118
59118
  if (buildTarget) {
59119
59119
  builderConfig.buildTarget = buildTarget;
59120
59120
  }
59121
+ if (typeof config.publishContainerImages === "boolean") {
59122
+ builderConfig.publishContainerImages = config.publishContainerImages;
59123
+ }
59121
59124
  return {
59122
59125
  service: {
59123
59126
  schema: "experimentalServicesV2",
@@ -70980,7 +70983,11 @@ function removeExcludedFiles(output, excludeFiles, workPath) {
70980
70983
  return output;
70981
70984
  }
70982
70985
  async function collectStaticFiles(distPath, sourceRoot, meta, mountpoint, serviceName, excludeFiles, workPath) {
70983
- const ignore = import_path6.default.relative(sourceRoot, distPath) === "" ? import_static_builder.STATIC_EXCLUDED_FILES : [];
70986
+ const resolvedDistPath = import_path6.default.resolve(distPath);
70987
+ const publishingRoot = [workPath, sourceRoot].some(
70988
+ (rootPath) => import_path6.default.resolve(rootPath) === resolvedDistPath
70989
+ );
70990
+ const ignore = publishingRoot ? import_static_builder.STATIC_EXCLUDED_FILES : [];
70984
70991
  if (ignore.length > 0) {
70985
70992
  (0, import_build_utils4.debug)(`Using ignore: ${JSON.stringify(ignore)}`);
70986
70993
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/static-build",
3
- "version": "31.0.0",
3
+ "version": "32.0.0-snapshot-24d117b8c08a",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/build-step",
@@ -15,11 +15,11 @@
15
15
  "dependencies": {
16
16
  "ts-morph": "12.0.0",
17
17
  "@vercel/gatsby-plugin-vercel-analytics": "1.0.12",
18
- "@vercel/static-config": "3.4.4",
19
- "@vercel/gatsby-plugin-vercel-builder": "2.2.91"
18
+ "@vercel/gatsby-plugin-vercel-builder": "2.2.92-snapshot-24d117b8c08a",
19
+ "@vercel/static-config": "3.4.4"
20
20
  },
21
21
  "peerDependencies": {
22
- "@vercel/build-utils": "15.7.0"
22
+ "@vercel/build-utils": "15.8.0-snapshot-24d117b8c08a"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/aws-lambda": "8.10.64",
@@ -40,12 +40,12 @@
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.1",
44
+ "@vercel/build-utils": "15.8.0-snapshot-24d117b8c08a",
43
45
  "@vercel/error-utils": "2.2.1",
44
- "@vercel/frameworks": "3.35.1",
45
- "@vercel-internals/builder-orchestration": "1.2.0",
46
- "@vercel/build-utils": "15.7.0",
47
- "@vercel/fs-detectors": "7.14.0",
48
- "@vercel/routing-utils": "6.6.1"
46
+ "@vercel/fs-detectors": "7.15.0-snapshot-24d117b8c08a",
47
+ "@vercel/routing-utils": "6.6.1",
48
+ "@vercel/frameworks": "3.35.1"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "node ../../utils/build-builder.mjs",