vercel 54.10.3 → 54.11.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.
@@ -73,6 +73,18 @@ async function isGlobal() {
73
73
  async function getUpdateCommand() {
74
74
  const nativeInstall = isNativeBinaryInstall();
75
75
  const pkgAndVersion = `${nativeInstall ? nativePackageName : packageName}@latest`;
76
+ if (nativeInstall) {
77
+ const segments = process.execPath.split(sep);
78
+ let cliType2 = "npm";
79
+ if (segments.includes("pnpm") || segments.includes(".pnpm")) {
80
+ cliType2 = "pnpm";
81
+ } else if (segments.includes("yarn") || segments.includes(".yarn")) {
82
+ cliType2 = "yarn";
83
+ }
84
+ const install2 = cliType2 === "yarn" ? "global add" : "i -g";
85
+ const force2 = cliType2 === "npm" ? " --force" : "";
86
+ return `${cliType2} ${install2} ${pkgAndVersion}${force2}`;
87
+ }
76
88
  const entrypoint = await (0, import_fs_extra.realpath)(process.argv[1]);
77
89
  let { cliType, lockfilePath } = await scanParentDirs(
78
90
  dirname(dirname(entrypoint))
@@ -8,7 +8,7 @@ import {
8
8
  getUpdateCommand,
9
9
  isGlobal,
10
10
  isNativeBinaryInstall
11
- } from "./chunk-KCQWKLFD.js";
11
+ } from "./chunk-EAKQRHY6.js";
12
12
  import {
13
13
  getGlobalPathConfig,
14
14
  writeToConfigFile
@@ -1257,6 +1257,7 @@ async function doBuild(client, project, buildsJson, cwd, outputDir, span, standa
1257
1257
  packageManifests.push({
1258
1258
  workspace,
1259
1259
  key: fullKey,
1260
+ buildConfig,
1260
1261
  manifest: packageManifest,
1261
1262
  service,
1262
1263
  builderUse: builderPkg.name
@@ -1616,6 +1617,7 @@ async function doBuild(client, project, buildsJson, cwd, outputDir, span, standa
1616
1617
  const projectManifest = {};
1617
1618
  for (const {
1618
1619
  workspace,
1620
+ buildConfig,
1619
1621
  manifest,
1620
1622
  service,
1621
1623
  builderUse
@@ -1624,7 +1626,7 @@ async function doBuild(client, project, buildsJson, cwd, outputDir, span, standa
1624
1626
  ...manifest,
1625
1627
  workspace,
1626
1628
  builder: builderUse,
1627
- framework: service?.framework,
1629
+ framework: service?.framework ?? buildConfig.framework,
1628
1630
  serviceName: service?.name,
1629
1631
  serviceType: service && isExperimentalService(service) ? service.type : void 0,
1630
1632
  routePrefix: service && isExperimentalService(service) ? service.routePrefix : void 0
@@ -9,7 +9,7 @@ import {
9
9
  } from "../../chunks/chunk-2HSQ7YUK.js";
10
10
  import {
11
11
  getUpdateCommand
12
- } from "../../chunks/chunk-KCQWKLFD.js";
12
+ } from "../../chunks/chunk-EAKQRHY6.js";
13
13
  import {
14
14
  highlight
15
15
  } from "../../chunks/chunk-V5P25P7F.js";
@@ -64,11 +64,11 @@ import {
64
64
  resolveOpenApiTagForTeamsCli,
65
65
  setAutoUpdate,
66
66
  tryOpenApiFallback
67
- } from "./chunks/chunk-4J5CBI5E.js";
67
+ } from "./chunks/chunk-EMW6TUP2.js";
68
68
  import {
69
69
  getUpdateCommand,
70
70
  isGlobal
71
- } from "./chunks/chunk-KCQWKLFD.js";
71
+ } from "./chunks/chunk-EAKQRHY6.js";
72
72
  import {
73
73
  Now,
74
74
  collectContactInformation,
package/dist/index.js CHANGED
@@ -18,11 +18,11 @@ import {
18
18
  require_ci_info,
19
19
  setAutoUpdate,
20
20
  tryOpenApiFallback
21
- } from "./chunks/chunk-4J5CBI5E.js";
21
+ } from "./chunks/chunk-EMW6TUP2.js";
22
22
  import {
23
23
  getUpdateCommand,
24
24
  isNativeBinaryInstall
25
- } from "./chunks/chunk-KCQWKLFD.js";
25
+ } from "./chunks/chunk-EAKQRHY6.js";
26
26
  import {
27
27
  Client,
28
28
  getAuthConfigFilePath,
package/dist/version.mjs CHANGED
@@ -1 +1 @@
1
- export const version = "54.10.3";
1
+ export const version = "54.11.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "54.10.3",
3
+ "version": "54.11.0",
4
4
  "type": "module",
5
5
  "preferGlobal": true,
6
6
  "license": "Apache-2.0",
@@ -36,26 +36,26 @@
36
36
  "zod": "4.1.11",
37
37
  "@vercel/backends": "0.8.9",
38
38
  "@vercel/build-utils": "13.28.0",
39
+ "@vercel/cli-config": "0.2.0",
39
40
  "@vercel/cli-auth": "0.3.0",
40
41
  "@vercel/detect-agent": "1.2.3",
41
- "@vercel/cli-config": "0.2.0",
42
42
  "@vercel/elysia": "0.1.90",
43
- "@vercel/fastify": "0.1.93",
44
43
  "@vercel/express": "0.1.100",
45
- "@vercel/h3": "0.1.99",
44
+ "@vercel/fastify": "0.1.93",
46
45
  "@vercel/go": "3.8.0",
46
+ "@vercel/h3": "0.1.99",
47
47
  "@vercel/hono": "0.2.93",
48
48
  "@vercel/hydrogen": "1.4.0",
49
49
  "@vercel/koa": "0.1.73",
50
+ "@vercel/next": "4.18.0",
50
51
  "@vercel/nestjs": "0.2.94",
51
52
  "@vercel/node": "5.8.14",
52
- "@vercel/next": "4.18.0",
53
53
  "@vercel/python": "6.44.0",
54
54
  "@vercel/redwood": "2.5.0",
55
+ "@vercel/remix-builder": "5.9.0",
55
56
  "@vercel/ruby": "2.4.0",
56
57
  "@vercel/rust": "1.3.0",
57
- "@vercel/static-build": "2.10.0",
58
- "@vercel/remix-builder": "5.9.0"
58
+ "@vercel/static-build": "2.10.0"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@edge-runtime/node-utils": "2.3.0",
@@ -180,12 +180,12 @@
180
180
  "yauzl-promise": "2.1.3",
181
181
  "@vercel-internals/constants": "1.0.4",
182
182
  "@vercel-internals/get-package-json": "1.0.0",
183
- "@vercel-internals/types": "3.0.6",
184
183
  "@vercel/client": "17.5.12",
185
- "@vercel/frameworks": "3.28.0",
186
- "@vercel/fs-detectors": "6.8.1",
187
184
  "@vercel/error-utils": "2.2.0",
188
- "@vercel/routing-utils": "6.2.0"
185
+ "@vercel/frameworks": "3.28.0",
186
+ "@vercel/routing-utils": "6.2.0",
187
+ "@vercel-internals/types": "3.0.6",
188
+ "@vercel/fs-detectors": "6.8.1"
189
189
  },
190
190
  "scripts": {
191
191
  "test": "vitest run --config ./vitest.config.mts",