@vercel/static-build 2.7.21 → 2.7.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.
- package/dist/index.js +5 -3
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -26756,15 +26756,17 @@ var require_get_monorepo_default_settings = __commonJS({
|
|
|
26756
26756
|
})
|
|
26757
26757
|
]);
|
|
26758
26758
|
if (monorepoManager === "turbo") {
|
|
26759
|
-
const [turboJSONBuf, packageJSONBuf] = await Promise.all([
|
|
26759
|
+
const [turboJSONBuf, turboJSONCBuf, packageJSONBuf] = await Promise.all([
|
|
26760
26760
|
detectorFilesystem.readFile("turbo.json").catch(() => null),
|
|
26761
|
+
detectorFilesystem.readFile("turbo.jsonc").catch(() => null),
|
|
26761
26762
|
detectorFilesystem.readFile("package.json").catch(() => null)
|
|
26762
26763
|
]);
|
|
26763
26764
|
let hasBuildPipeline = false;
|
|
26764
26765
|
let hasTurboTasks = false;
|
|
26765
26766
|
let turboSemVer = null;
|
|
26766
|
-
|
|
26767
|
-
|
|
26767
|
+
const turboConfigBuf = turboJSONBuf || turboJSONCBuf;
|
|
26768
|
+
if (turboConfigBuf !== null) {
|
|
26769
|
+
const turboJSON = import_json5.default.parse(turboConfigBuf.toString("utf-8"));
|
|
26768
26770
|
hasTurboTasks = "tasks" in (turboJSON || {});
|
|
26769
26771
|
if (turboJSON?.pipeline?.build || turboJSON?.tasks?.build) {
|
|
26770
26772
|
hasBuildPipeline = true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.22",
|
|
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.95",
|
|
18
18
|
"@vercel/static-config": "3.1.2",
|
|
19
19
|
"ts-morph": "12.0.0"
|
|
20
20
|
},
|
|
@@ -28,10 +28,10 @@
|
|
|
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": "12.
|
|
31
|
+
"@vercel/build-utils": "12.1.0",
|
|
32
32
|
"@vercel/error-utils": "2.0.3",
|
|
33
33
|
"@vercel/frameworks": "3.8.2",
|
|
34
|
-
"@vercel/fs-detectors": "5.
|
|
34
|
+
"@vercel/fs-detectors": "5.5.0",
|
|
35
35
|
"@vercel/routing-utils": "5.1.1",
|
|
36
36
|
"execa": "3.2.0",
|
|
37
37
|
"fs-extra": "10.0.0",
|