vercel 35.2.1 → 35.2.2

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -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 && buildConfig.framework && "output" in buildResult && !buildResult.routes) {
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.1",
3
+ "version": "35.2.2",
4
4
  "preferGlobal": true,
5
5
  "license": "Apache-2.0",
6
6
  "description": "The command-line interface for Vercel",
@@ -29,7 +29,7 @@
29
29
  "@vercel/node": "3.2.7",
30
30
  "@vercel/python": "4.3.1",
31
31
  "@vercel/redwood": "2.1.3",
32
- "@vercel/remix-builder": "2.2.1",
32
+ "@vercel/remix-builder": "2.2.2",
33
33
  "@vercel/ruby": "2.1.0",
34
34
  "@vercel/static-build": "2.5.17",
35
35
  "chokidar": "3.3.1"
@@ -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": "1.3.1",
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/",