vercel 35.2.1 → 35.2.3
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 +4 -3
- package/package.json +9 -9
package/dist/index.js
CHANGED
@@ -62540,7 +62540,7 @@ var require_package = __commonJS2({
|
|
62540
62540
|
"../client/package.json"(exports2, module2) {
|
62541
62541
|
module2.exports = {
|
62542
62542
|
name: "@vercel/client",
|
62543
|
-
version: "13.3.
|
62543
|
+
version: "13.3.4",
|
62544
62544
|
main: "dist/index.js",
|
62545
62545
|
typings: "dist/index.d.ts",
|
62546
62546
|
homepage: "https://vercel.com",
|
@@ -62577,7 +62577,7 @@ var require_package = __commonJS2({
|
|
62577
62577
|
typescript: "4.9.5"
|
62578
62578
|
},
|
62579
62579
|
dependencies: {
|
62580
|
-
"@vercel/build-utils": "8.3.
|
62580
|
+
"@vercel/build-utils": "8.3.6",
|
62581
62581
|
"@vercel/error-utils": "2.0.2",
|
62582
62582
|
"@vercel/routing-utils": "3.1.0",
|
62583
62583
|
"@zeit/fetch": "5.2.0",
|
@@ -148617,6 +148617,7 @@ async function doBuild(client2, project, buildsJson, cwd, outputDir) {
|
|
148617
148617
|
output2.debug(`Setting env ${envKey} to "${value}"`);
|
148618
148618
|
}
|
148619
148619
|
}
|
148620
|
+
const isFrontendBuilder = build2.config && "framework" in build2.config;
|
148620
148621
|
const buildConfig = isZeroConfig ? {
|
148621
148622
|
outputDirectory: projectSettings.outputDirectory ?? void 0,
|
148622
148623
|
...build2.config,
|
@@ -148641,7 +148642,7 @@ async function doBuild(client2, project, buildsJson, cwd, outputDir) {
|
|
148641
148642
|
let buildResult;
|
148642
148643
|
try {
|
148643
148644
|
buildResult = await builder.build(buildOptions);
|
148644
|
-
if (buildConfig.zeroConfig &&
|
148645
|
+
if (buildConfig.zeroConfig && isFrontendBuilder && "output" in buildResult && !buildResult.routes) {
|
148645
148646
|
const framework2 = import_frameworks4.frameworkList.find(
|
148646
148647
|
(f) => f.slug === buildConfig.framework
|
148647
148648
|
);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "35.2.
|
3
|
+
"version": "35.2.3",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -21,17 +21,17 @@
|
|
21
21
|
"node": ">= 16"
|
22
22
|
},
|
23
23
|
"dependencies": {
|
24
|
-
"@vercel/build-utils": "8.3.
|
24
|
+
"@vercel/build-utils": "8.3.6",
|
25
25
|
"@vercel/fun": "1.1.0",
|
26
26
|
"@vercel/go": "3.1.1",
|
27
27
|
"@vercel/hydrogen": "1.0.4",
|
28
28
|
"@vercel/next": "4.3.6",
|
29
|
-
"@vercel/node": "3.2.
|
29
|
+
"@vercel/node": "3.2.8",
|
30
30
|
"@vercel/python": "4.3.1",
|
31
31
|
"@vercel/redwood": "2.1.3",
|
32
|
-
"@vercel/remix-builder": "2.2.
|
32
|
+
"@vercel/remix-builder": "2.2.3",
|
33
33
|
"@vercel/ruby": "2.1.0",
|
34
|
-
"@vercel/static-build": "2.5.
|
34
|
+
"@vercel/static-build": "2.5.18",
|
35
35
|
"chokidar": "3.3.1"
|
36
36
|
},
|
37
37
|
"devDependencies": {
|
@@ -82,8 +82,8 @@
|
|
82
82
|
"@types/yauzl-promise": "2.1.0",
|
83
83
|
"@vercel-internals/constants": "1.0.4",
|
84
84
|
"@vercel-internals/get-package-json": "1.0.0",
|
85
|
-
"@vercel-internals/types": "1.0.
|
86
|
-
"@vercel/client": "13.3.
|
85
|
+
"@vercel-internals/types": "1.0.45",
|
86
|
+
"@vercel/client": "13.3.4",
|
87
87
|
"@vercel/error-utils": "2.0.2",
|
88
88
|
"@vercel/frameworks": "3.1.1",
|
89
89
|
"@vercel/fs-detectors": "5.2.7",
|
@@ -160,7 +160,7 @@
|
|
160
160
|
"universal-analytics": "0.4.20",
|
161
161
|
"utility-types": "2.1.0",
|
162
162
|
"vite": "5.1.6",
|
163
|
-
"vitest": "
|
163
|
+
"vitest": "2.0.1",
|
164
164
|
"which": "3.0.0",
|
165
165
|
"write-json-file": "2.2.0",
|
166
166
|
"xdg-app-paths": "5.1.0",
|
@@ -168,7 +168,7 @@
|
|
168
168
|
},
|
169
169
|
"scripts": {
|
170
170
|
"test": "jest --reporters=default --reporters=jest-junit --env node --verbose --bail",
|
171
|
-
"vitest-run": "vitest",
|
171
|
+
"vitest-run": "vitest -c ../../vitest.config.mts",
|
172
172
|
"vitest-unit": "jest test/unit/ --listTests",
|
173
173
|
"test-e2e": "rimraf test/fixtures/integration && pnpm test test/integration-1.test.ts test/integration-2.test.ts test/integration-3.test.ts",
|
174
174
|
"test-dev": "pnpm test test/dev/",
|