@vercel/static-build 2.5.40 → 2.5.42
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 +21 -22
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -9560,7 +9560,6 @@ var require_frameworks = __commonJS({
|
|
|
9560
9560
|
{
|
|
9561
9561
|
name: "Saber",
|
|
9562
9562
|
slug: "saber",
|
|
9563
|
-
demo: "https://saber-template.vercel.app",
|
|
9564
9563
|
logo: "https://api-frameworks.vercel.sh/framework-logos/saber.svg",
|
|
9565
9564
|
tagline: "Saber is a framework for building static sites in Vue.js that supports data from any source.",
|
|
9566
9565
|
description: "A Saber site, created with npm init.",
|
|
@@ -10006,6 +10005,7 @@ var require_frameworks = __commonJS({
|
|
|
10006
10005
|
tagline: "Vite is a new breed of frontend build tool that significantly improves the frontend development experience.",
|
|
10007
10006
|
description: "A Vue.js app, created with Vite.",
|
|
10008
10007
|
website: "https://vitejs.dev",
|
|
10008
|
+
supersedes: ["ionic-react"],
|
|
10009
10009
|
envPrefix: "VITE_",
|
|
10010
10010
|
detectors: {
|
|
10011
10011
|
every: [
|
|
@@ -19275,23 +19275,24 @@ var require_local_file_system_detector = __commonJS({
|
|
|
19275
19275
|
}
|
|
19276
19276
|
async _readdir(dir) {
|
|
19277
19277
|
const dirPath = this.getFilePath(dir);
|
|
19278
|
-
const
|
|
19279
|
-
|
|
19280
|
-
|
|
19281
|
-
|
|
19282
|
-
|
|
19283
|
-
|
|
19284
|
-
|
|
19285
|
-
|
|
19286
|
-
|
|
19287
|
-
|
|
19288
|
-
|
|
19289
|
-
|
|
19290
|
-
|
|
19291
|
-
|
|
19292
|
-
|
|
19293
|
-
})
|
|
19294
|
-
|
|
19278
|
+
const entries = await import_promises.default.readdir(dirPath, { withFileTypes: true });
|
|
19279
|
+
const result = [];
|
|
19280
|
+
for (const entry of entries) {
|
|
19281
|
+
let type;
|
|
19282
|
+
if (entry.isFile()) {
|
|
19283
|
+
type = "file";
|
|
19284
|
+
} else if (entry.isDirectory()) {
|
|
19285
|
+
type = "dir";
|
|
19286
|
+
} else {
|
|
19287
|
+
continue;
|
|
19288
|
+
}
|
|
19289
|
+
result.push({
|
|
19290
|
+
name: entry.name,
|
|
19291
|
+
path: (0, import_path7.join)(this.getRelativeFilePath(dir), entry.name),
|
|
19292
|
+
type
|
|
19293
|
+
});
|
|
19294
|
+
}
|
|
19295
|
+
return result;
|
|
19295
19296
|
}
|
|
19296
19297
|
_chdir(name) {
|
|
19297
19298
|
return new _LocalFileSystemDetector(this.getFilePath(name));
|
|
@@ -27630,8 +27631,7 @@ var build = async ({
|
|
|
27630
27631
|
cliType,
|
|
27631
27632
|
lockfileVersion,
|
|
27632
27633
|
packageJsonPackageManager,
|
|
27633
|
-
turboSupportsCorepackHome
|
|
27634
|
-
detectedLockfile
|
|
27634
|
+
turboSupportsCorepackHome
|
|
27635
27635
|
} = await (0, import_build_utils4.scanParentDirs)(entrypointDir, true);
|
|
27636
27636
|
spawnOpts.env = (0, import_build_utils4.getEnvForPackageManager)({
|
|
27637
27637
|
cliType,
|
|
@@ -27639,8 +27639,7 @@ var build = async ({
|
|
|
27639
27639
|
packageJsonPackageManager,
|
|
27640
27640
|
nodeVersion,
|
|
27641
27641
|
env: spawnOpts.env || {},
|
|
27642
|
-
turboSupportsCorepackHome
|
|
27643
|
-
detectedLockfile
|
|
27642
|
+
turboSupportsCorepackHome
|
|
27644
27643
|
});
|
|
27645
27644
|
if (meta.isDev) {
|
|
27646
27645
|
(0, import_build_utils4.debug)("Skipping dependency installation because dev mode is enabled");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.42",
|
|
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.64",
|
|
18
18
|
"@vercel/static-config": "3.0.0",
|
|
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": "9.
|
|
31
|
+
"@vercel/build-utils": "9.1.0",
|
|
32
32
|
"@vercel/error-utils": "2.0.3",
|
|
33
|
-
"@vercel/frameworks": "3.
|
|
34
|
-
"@vercel/fs-detectors": "5.3.
|
|
33
|
+
"@vercel/frameworks": "3.5.0",
|
|
34
|
+
"@vercel/fs-detectors": "5.3.3",
|
|
35
35
|
"@vercel/routing-utils": "5.0.0",
|
|
36
36
|
"execa": "3.2.0",
|
|
37
37
|
"fs-extra": "10.0.0",
|