@vercel/static-build 0.25.3-canary.2 → 0.26.0
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 +2 -2
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -16780,14 +16780,14 @@ const build = async ({ files, entrypoint, workPath, config, meta = {}, }) => {
|
|
|
16780
16780
|
lockfileVersion >= 2 &&
|
|
16781
16781
|
((nodeVersion === null || nodeVersion === void 0 ? void 0 : nodeVersion.major) || 0) < 16) {
|
|
16782
16782
|
// Ensure that npm 7 is at the beginning of the `$PATH`
|
|
16783
|
-
spawnOpts.env.PATH = `/node16/bin-npm7
|
|
16783
|
+
spawnOpts.env.PATH = `/node16/bin-npm7${path_1.default.delimiter}${spawnOpts.env.PATH}`;
|
|
16784
16784
|
console.log('Detected `package-lock.json` generated by npm 7...');
|
|
16785
16785
|
}
|
|
16786
16786
|
}
|
|
16787
16787
|
else if (cliType === 'pnpm') {
|
|
16788
16788
|
if (typeof lockfileVersion === 'number' && lockfileVersion === 5.4) {
|
|
16789
16789
|
// Ensure that pnpm 7 is at the beginning of the `$PATH`
|
|
16790
|
-
spawnOpts.env.PATH = `/pnpm7/node_modules/.bin
|
|
16790
|
+
spawnOpts.env.PATH = `/pnpm7/node_modules/.bin${path_1.default.delimiter}${spawnOpts.env.PATH}`;
|
|
16791
16791
|
console.log('Detected `pnpm-lock.yaml` generated by pnpm 7...');
|
|
16792
16792
|
}
|
|
16793
16793
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/build-step",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"@types/ms": "0.7.31",
|
|
38
38
|
"@types/node-fetch": "2.5.4",
|
|
39
39
|
"@types/promise-timeout": "1.3.0",
|
|
40
|
-
"@vercel/build-utils": "3.1.1
|
|
41
|
-
"@vercel/frameworks": "0.
|
|
40
|
+
"@vercel/build-utils": "3.1.1",
|
|
41
|
+
"@vercel/frameworks": "1.0.0",
|
|
42
42
|
"@vercel/ncc": "0.24.0",
|
|
43
43
|
"@vercel/routing-utils": "1.13.3",
|
|
44
44
|
"fs-extra": "10.0.0",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"rc9": "1.2.0",
|
|
50
50
|
"typescript": "4.3.4"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "ad436313e155b0e07cb14475e11c5c12e1b36f75"
|
|
53
53
|
}
|