@vercel/static-build 2.6.6 → 2.7.1
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 +20 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -27688,7 +27688,8 @@ var build = async ({
|
|
|
27688
27688
|
packageJsonPackageManager,
|
|
27689
27689
|
nodeVersion,
|
|
27690
27690
|
env: spawnOpts.env || {},
|
|
27691
|
-
turboSupportsCorepackHome
|
|
27691
|
+
turboSupportsCorepackHome,
|
|
27692
|
+
projectCreatedAt: config.projectSettings?.createdAt
|
|
27692
27693
|
});
|
|
27693
27694
|
if (meta.isDev) {
|
|
27694
27695
|
(0, import_build_utils4.debug)("Skipping dependency installation because dev mode is enabled");
|
|
@@ -27702,7 +27703,14 @@ var build = async ({
|
|
|
27702
27703
|
};
|
|
27703
27704
|
if (!config.zeroConfig) {
|
|
27704
27705
|
(0, import_build_utils4.debug)('Detected "builds" - not zero config');
|
|
27705
|
-
await (0, import_build_utils4.runNpmInstall)(
|
|
27706
|
+
await (0, import_build_utils4.runNpmInstall)(
|
|
27707
|
+
entrypointDir,
|
|
27708
|
+
[],
|
|
27709
|
+
spawnOpts,
|
|
27710
|
+
meta,
|
|
27711
|
+
nodeVersion,
|
|
27712
|
+
config.projectSettings?.createdAt
|
|
27713
|
+
);
|
|
27706
27714
|
isNpmInstall = true;
|
|
27707
27715
|
} else if (typeof installCommand === "string") {
|
|
27708
27716
|
if (installCommand.trim()) {
|
|
@@ -27749,7 +27757,14 @@ var build = async ({
|
|
|
27749
27757
|
isPipInstall = true;
|
|
27750
27758
|
}
|
|
27751
27759
|
if (pkg) {
|
|
27752
|
-
await (0, import_build_utils4.runNpmInstall)(
|
|
27760
|
+
await (0, import_build_utils4.runNpmInstall)(
|
|
27761
|
+
entrypointDir,
|
|
27762
|
+
[],
|
|
27763
|
+
spawnOpts,
|
|
27764
|
+
meta,
|
|
27765
|
+
nodeVersion,
|
|
27766
|
+
config.projectSettings?.createdAt
|
|
27767
|
+
);
|
|
27753
27768
|
isNpmInstall = true;
|
|
27754
27769
|
}
|
|
27755
27770
|
}
|
|
@@ -27856,7 +27871,8 @@ Details: https://err.sh/vercel/vercel/now-static-build-failed-to-detect-a-server
|
|
|
27856
27871
|
}) : await (0, import_build_utils4.runPackageJsonScript)(
|
|
27857
27872
|
entrypointDir,
|
|
27858
27873
|
["vercel-build", "now-build", "build"],
|
|
27859
|
-
spawnOpts
|
|
27874
|
+
spawnOpts,
|
|
27875
|
+
config.projectSettings?.createdAt
|
|
27860
27876
|
);
|
|
27861
27877
|
if (!found) {
|
|
27862
27878
|
throw new Error(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/build-step",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@vercel/gatsby-plugin-vercel-analytics": "1.0.11",
|
|
17
|
-
"@vercel/gatsby-plugin-vercel-builder": "2.0.
|
|
17
|
+
"@vercel/gatsby-plugin-vercel-builder": "2.0.75",
|
|
18
18
|
"@vercel/static-config": "3.0.0",
|
|
19
19
|
"ts-morph": "12.0.0"
|
|
20
20
|
},
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@types/node-fetch": "2.5.4",
|
|
29
29
|
"@types/promise-timeout": "1.3.0",
|
|
30
30
|
"@types/semver": "7.3.13",
|
|
31
|
-
"@vercel/build-utils": "10.
|
|
31
|
+
"@vercel/build-utils": "10.3.0",
|
|
32
32
|
"@vercel/error-utils": "2.0.3",
|
|
33
33
|
"@vercel/frameworks": "3.6.1",
|
|
34
34
|
"@vercel/fs-detectors": "5.3.8",
|