vercel 32.5.6 → 32.6.1

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 +8 -5
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -145213,8 +145213,8 @@ var require_frameworks = __commonJS2({
145213
145213
  placeholder: "`yarn install`, `pnpm install`, `npm install`, or `bun install`"
145214
145214
  },
145215
145215
  buildCommand: {
145216
- placeholder: "`npm run build` or `nuxt generate`",
145217
- value: "nuxt generate"
145216
+ placeholder: "`npm run build` or `nuxt build`",
145217
+ value: "nuxt build"
145218
145218
  },
145219
145219
  devCommand: {
145220
145220
  value: "nuxt"
@@ -163604,16 +163604,19 @@ async function selectOrg(client2, question, autoConfirm) {
163604
163604
  value: { type: "team", id: team.id, slug: team.slug }
163605
163605
  }))
163606
163606
  ];
163607
- const defaultOrgIndex = teams.findIndex((team) => team.id === currentTeam) + 1;
163607
+ const defaultChoiceIndex = Math.max(
163608
+ choices.findIndex((choice) => choice.value.id === currentTeam),
163609
+ 0
163610
+ );
163608
163611
  if (autoConfirm) {
163609
- return choices[defaultOrgIndex].value;
163612
+ return choices[defaultChoiceIndex].value;
163610
163613
  }
163611
163614
  const answers = await client2.prompt({
163612
163615
  type: "list",
163613
163616
  name: "org",
163614
163617
  message: question,
163615
163618
  choices,
163616
- default: defaultOrgIndex
163619
+ default: defaultChoiceIndex
163617
163620
  });
163618
163621
  const org = answers.org;
163619
163622
  return org;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "32.5.6",
3
+ "version": "32.6.1",
4
4
  "preferGlobal": true,
5
5
  "license": "Apache-2.0",
6
6
  "description": "The command-line interface for Vercel",
@@ -23,15 +23,15 @@
23
23
  "dependencies": {
24
24
  "@vercel/build-utils": "7.2.5",
25
25
  "@vercel/fun": "1.1.0",
26
- "@vercel/go": "3.0.3",
26
+ "@vercel/go": "3.0.4",
27
27
  "@vercel/hydrogen": "1.0.1",
28
28
  "@vercel/next": "4.0.15",
29
29
  "@vercel/node": "3.0.11",
30
30
  "@vercel/python": "4.1.0",
31
31
  "@vercel/redwood": "2.0.5",
32
- "@vercel/remix-builder": "2.0.11",
32
+ "@vercel/remix-builder": "2.0.12",
33
33
  "@vercel/ruby": "2.0.3",
34
- "@vercel/static-build": "2.0.12",
34
+ "@vercel/static-build": "2.0.13",
35
35
  "chokidar": "3.3.1"
36
36
  },
37
37
  "devDependencies": {
@@ -81,8 +81,8 @@
81
81
  "@vercel-internals/types": "1.0.16",
82
82
  "@vercel/client": "13.0.9",
83
83
  "@vercel/error-utils": "2.0.2",
84
- "@vercel/frameworks": "2.0.3",
85
- "@vercel/fs-detectors": "5.1.3",
84
+ "@vercel/frameworks": "2.0.4",
85
+ "@vercel/fs-detectors": "5.1.4",
86
86
  "@vercel/routing-utils": "3.1.0",
87
87
  "ajv": "6.12.2",
88
88
  "alpha-sort": "2.0.1",