vercel 54.4.1 → 54.5.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 (51) hide show
  1. package/dist/chunks/{add-6XIRI7GJ.js → add-LTKUOIRH.js} +4 -4
  2. package/dist/chunks/{chunk-XPQUP4VC.js → chunk-2O23IWFZ.js} +13 -3
  3. package/dist/chunks/{chunk-UDG7NUUQ.js → chunk-5OGU2MKL.js} +2 -2
  4. package/dist/chunks/{chunk-SFCULGGZ.js → chunk-6DYBMAPE.js} +1 -1
  5. package/dist/chunks/{chunk-F23AADZM.js → chunk-ACQYPB26.js} +8 -4
  6. package/dist/chunks/{chunk-4VFNBXZ2.js → chunk-APRQ4WOM.js} +1 -1
  7. package/dist/chunks/{chunk-CPI4NTRV.js → chunk-B7343AJ4.js} +2 -2
  8. package/dist/chunks/{chunk-L3JT6XDK.js → chunk-CWRL2B64.js} +78 -3
  9. package/dist/chunks/{chunk-MZM2IMEM.js → chunk-EARP53GN.js} +1 -1
  10. package/dist/chunks/{chunk-4W26QRXA.js → chunk-EP42IGC6.js} +4 -4
  11. package/dist/chunks/{chunk-BTQ6HRS4.js → chunk-EQMRA3RA.js} +1 -1
  12. package/dist/chunks/{chunk-PHZ7DOO3.js → chunk-HQQ5VXCJ.js} +1 -1
  13. package/dist/chunks/{chunk-KW4SFTHO.js → chunk-J6V7CB2T.js} +3 -3
  14. package/dist/chunks/{chunk-FVMTH5YE.js → chunk-NJ3JN4BJ.js} +105 -4
  15. package/dist/chunks/{chunk-RIRQQSUQ.js → chunk-NN5CMMC2.js} +1 -1
  16. package/dist/chunks/{chunk-HE7FK57F.js → chunk-OG2W73UH.js} +6 -2
  17. package/dist/chunks/{chunk-LHB57VQA.js → chunk-P66MJG2R.js} +1 -1
  18. package/dist/chunks/{chunk-ASARRYQ2.js → chunk-R2C4MTKL.js} +7 -7
  19. package/dist/chunks/{chunk-YQS3X3N5.js → chunk-UG5OAYHF.js} +1 -1
  20. package/dist/chunks/{chunk-QYUIKYIF.js → chunk-XEYTEMBL.js} +12 -3
  21. package/dist/chunks/{compile-vercel-config-5WZ2LFBA.js → compile-vercel-config-JLD22EQF.js} +1 -1
  22. package/dist/chunks/{delete-JB4S3TTR.js → delete-ZJ65LJPR.js} +2 -2
  23. package/dist/chunks/{disable-Y5MQYBZT.js → disable-55BFUWA3.js} +2 -2
  24. package/dist/chunks/{discard-DNGSXOP5.js → discard-GCFLECLA.js} +2 -2
  25. package/dist/chunks/{edit-FHYSRIAM.js → edit-2UXOWJYI.js} +3 -3
  26. package/dist/chunks/{enable-TI7IDW4D.js → enable-V2PVTE7B.js} +2 -2
  27. package/dist/chunks/{export-DGCLBJXG.js → export-6PJONV3Q.js} +2 -2
  28. package/dist/chunks/{inspect-YSEEB6K3.js → inspect-UAT7WWFU.js} +3 -3
  29. package/dist/chunks/{list-K2E7LRUZ.js → list-3TXV2JDY.js} +3 -3
  30. package/dist/chunks/{list-2IC4JQ7V.js → list-PHUNLXFO.js} +2 -2
  31. package/dist/chunks/{ls-LV3EOIGK.js → ls-DL6Y2ECG.js} +4 -4
  32. package/dist/chunks/{publish-UCZDXEVP.js → publish-WE5FWUGS.js} +2 -2
  33. package/dist/chunks/{query-ZKEZEP6A.js → query-R5DCNK4W.js} +2 -2
  34. package/dist/chunks/{reorder-5PEIRI7B.js → reorder-Y7KUZIBT.js} +2 -2
  35. package/dist/chunks/{restore-BNKCGWUN.js → restore-X4PYKEPU.js} +2 -2
  36. package/dist/chunks/{rm-MMZJTUSV.js → rm-A4HRBNZ5.js} +4 -4
  37. package/dist/chunks/{rule-inspect-45WAIMAY.js → rule-inspect-ZC2GT4MO.js} +4 -4
  38. package/dist/chunks/{rules-F7NTLPKL.js → rules-RMGHA3LC.js} +6 -6
  39. package/dist/chunks/{schema-V33O6TZC.js → schema-PG3P2NP4.js} +2 -2
  40. package/dist/chunks/{update-LSMYRPF7.js → update-IIPJIUMA.js} +4 -4
  41. package/dist/commands/build/index.js +9 -9
  42. package/dist/commands/deploy/index.js +10 -10
  43. package/dist/commands/dev/index.js +8 -8
  44. package/dist/commands/env/index.js +4 -4
  45. package/dist/commands/link/index.js +7 -7
  46. package/dist/commands/list/index.js +3 -3
  47. package/dist/commands-bulk.js +1560 -1158
  48. package/dist/index.js +11 -10
  49. package/dist/vc.js +2 -1
  50. package/dist/version.mjs +1 -1
  51. package/package.json +25 -25
@@ -9,8 +9,8 @@ import {
9
9
  handleRulesApiError,
10
10
  parseRulesFlagsAndScope,
11
11
  rulesCollectionPath
12
- } from "./chunk-RIRQQSUQ.js";
13
- import "./chunk-UDG7NUUQ.js";
12
+ } from "./chunk-NN5CMMC2.js";
13
+ import "./chunk-5OGU2MKL.js";
14
14
  import "./chunk-HTOH3MSD.js";
15
15
  import {
16
16
  validateJsonOutput
@@ -21,8 +21,8 @@ import {
21
21
  import {
22
22
  AGENT_REASON
23
23
  } from "./chunk-L6Q2EQPI.js";
24
- import "./chunk-LHB57VQA.js";
25
- import "./chunk-L3JT6XDK.js";
24
+ import "./chunk-P66MJG2R.js";
25
+ import "./chunk-CWRL2B64.js";
26
26
  import "./chunk-4CIXZOP4.js";
27
27
  import {
28
28
  buildCommandWithGlobalFlags,
@@ -12,10 +12,10 @@ import {
12
12
  } from "./chunk-76ZNZKIN.js";
13
13
  import {
14
14
  getLocalPathConfig
15
- } from "./chunk-PHZ7DOO3.js";
15
+ } from "./chunk-HQQ5VXCJ.js";
16
16
  import {
17
17
  autoInstallVercelPlugin
18
- } from "./chunk-BTQ6HRS4.js";
18
+ } from "./chunk-EQMRA3RA.js";
19
19
  import {
20
20
  DEFAULT_VERCEL_CONFIG_FILENAME,
21
21
  VERCEL_CONFIG_EXTENSIONS,
@@ -39,7 +39,7 @@ import {
39
39
  useKeypress,
40
40
  usePrefix,
41
41
  useState
42
- } from "./chunk-L3JT6XDK.js";
42
+ } from "./chunk-CWRL2B64.js";
43
43
  import {
44
44
  require_load_json_file
45
45
  } from "./chunk-4CIXZOP4.js";
@@ -2539,9 +2539,19 @@ ${error.stack}`);
2539
2539
  writeToConfigFile(this.config);
2540
2540
  }
2541
2541
  updateAuthConfig(authConfig) {
2542
+ if (authConfig.token && authConfig.token !== this.authConfig.token) {
2543
+ this.user = void 0;
2544
+ this.userPromise = void 0;
2545
+ this.teams = void 0;
2546
+ this.teamsPromise = void 0;
2547
+ }
2542
2548
  this.authConfig = { ...this.authConfig, ...authConfig };
2543
2549
  }
2544
2550
  emptyAuthConfig() {
2551
+ this.user = void 0;
2552
+ this.userPromise = void 0;
2553
+ this.teams = void 0;
2554
+ this.teamsPromise = void 0;
2545
2555
  this.authConfig = this.authConfig.skipWrite ? { skipWrite: true } : {};
2546
2556
  }
2547
2557
  writeToAuthConfigFile() {
@@ -12,11 +12,11 @@ import {
12
12
  } from "./chunk-L6Q2EQPI.js";
13
13
  import {
14
14
  getScope
15
- } from "./chunk-LHB57VQA.js";
15
+ } from "./chunk-P66MJG2R.js";
16
16
  import {
17
17
  getLinkedProject,
18
18
  getProjectByNameOrId
19
- } from "./chunk-L3JT6XDK.js";
19
+ } from "./chunk-CWRL2B64.js";
20
20
  import {
21
21
  buildCommandWithGlobalFlags,
22
22
  outputAgentError
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  STANDARD_ENVIRONMENTS
9
- } from "./chunk-L3JT6XDK.js";
9
+ } from "./chunk-CWRL2B64.js";
10
10
  import {
11
11
  getCommandName,
12
12
  require_lib
@@ -6,18 +6,19 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getUpdateCommand,
9
- isGlobal
10
- } from "./chunk-QYUIKYIF.js";
9
+ isGlobal,
10
+ isNativeBinaryInstall
11
+ } from "./chunk-XEYTEMBL.js";
11
12
  import {
12
13
  getGlobalPathConfig,
13
14
  login,
14
15
  writeToConfigFile
15
- } from "./chunk-XPQUP4VC.js";
16
+ } from "./chunk-2O23IWFZ.js";
16
17
  import {
17
18
  apiCommand,
18
19
  listSubcommand2 as listSubcommand,
19
20
  loginCommand
20
- } from "./chunk-FVMTH5YE.js";
21
+ } from "./chunk-NJ3JN4BJ.js";
21
22
  import {
22
23
  help
23
24
  } from "./chunk-TTOZFGDX.js";
@@ -2626,6 +2627,9 @@ function setAutoUpdate(client, enabled) {
2626
2627
  writeToConfigFile(client.config);
2627
2628
  }
2628
2629
  async function canAutoUpdate(client, exitCode, command) {
2630
+ if (isNativeBinaryInstall()) {
2631
+ return false;
2632
+ }
2629
2633
  if (!isAutoUpdateEnabled(client.config)) {
2630
2634
  return false;
2631
2635
  }
@@ -8,7 +8,7 @@ import {
8
8
  VERCEL_DIR,
9
9
  VERCEL_DIR_PROJECT,
10
10
  require_lib
11
- } from "./chunk-L3JT6XDK.js";
11
+ } from "./chunk-CWRL2B64.js";
12
12
  import {
13
13
  require_dist
14
14
  } from "./chunk-ZQKJVHXY.js";
@@ -7,12 +7,12 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  printProjectNotFoundError,
9
9
  setupAndLink
10
- } from "./chunk-KW4SFTHO.js";
10
+ } from "./chunk-J6V7CB2T.js";
11
11
  import {
12
12
  getLinkedProject,
13
13
  param,
14
14
  resolveProjectCwd
15
- } from "./chunk-L3JT6XDK.js";
15
+ } from "./chunk-CWRL2B64.js";
16
16
  import {
17
17
  buildCommandWithYes,
18
18
  outputActionRequired
@@ -36631,7 +36631,7 @@ var require_package = __commonJS({
36631
36631
  "../client/package.json"(exports, module) {
36632
36632
  module.exports = {
36633
36633
  name: "@vercel/client",
36634
- version: "17.5.3",
36634
+ version: "17.5.5",
36635
36635
  main: "dist/index.js",
36636
36636
  typings: "dist/index.d.ts",
36637
36637
  homepage: "https://vercel.com",
@@ -50078,6 +50078,18 @@ async function getProjectByNameOrId(client, projectNameOrId, accountId, includeR
50078
50078
 
50079
50079
  // src/util/get-user.ts
50080
50080
  async function getUser(client) {
50081
+ if (client.user) {
50082
+ return client.user;
50083
+ }
50084
+ if (client.userPromise) {
50085
+ return client.userPromise;
50086
+ }
50087
+ client.userPromise = fetchUser(client).finally(() => {
50088
+ client.userPromise = void 0;
50089
+ });
50090
+ return client.userPromise;
50091
+ }
50092
+ async function fetchUser(client) {
50081
50093
  try {
50082
50094
  const res = await client.fetch("/v2/user", {
50083
50095
  useCurrentTeam: false
@@ -50094,9 +50106,12 @@ async function getUser(client) {
50094
50106
  }
50095
50107
  }
50096
50108
  client.telemetryEventStore.updateUserId(res.user.id);
50109
+ client.user = res.user;
50097
50110
  return res.user;
50098
50111
  } catch (error) {
50099
50112
  if (error instanceof APIError && error.status === 403) {
50113
+ client.user = void 0;
50114
+ client.userPromise = void 0;
50100
50115
  if (client.authConfig.userId) {
50101
50116
  client.updateAuthConfig({ userId: void 0 });
50102
50117
  try {
@@ -51528,6 +51543,28 @@ async function getOriginUrl(configPath) {
51528
51543
  // src/util/teams/get-teams.ts
51529
51544
  import { URLSearchParams as URLSearchParams2 } from "url";
51530
51545
  async function getTeams(client, opts = {}) {
51546
+ const { apiVersion = 1 } = opts;
51547
+ if (apiVersion === 1) {
51548
+ if (client.teams) {
51549
+ return client.teams;
51550
+ }
51551
+ if (client.teamsPromise) {
51552
+ return client.teamsPromise;
51553
+ }
51554
+ client.teamsPromise = fetchTeams(client, opts).then((result) => {
51555
+ const teams = Array.isArray(result) ? result : result.teams;
51556
+ client.teams = teams;
51557
+ return teams;
51558
+ });
51559
+ try {
51560
+ return await client.teamsPromise;
51561
+ } finally {
51562
+ client.teamsPromise = void 0;
51563
+ }
51564
+ }
51565
+ return fetchTeams(client, opts);
51566
+ }
51567
+ async function fetchTeams(client, opts = {}) {
51531
51568
  const { apiVersion = 1 } = opts;
51532
51569
  let query = "";
51533
51570
  if (opts.apiVersion === 2) {
@@ -51547,7 +51584,11 @@ async function getTeams(client, opts = {}) {
51547
51584
  }
51548
51585
  );
51549
51586
  if (apiVersion === 1) {
51550
- return body.teams || [];
51587
+ const teams = body.teams || [];
51588
+ for (const team of teams) {
51589
+ teamCache.set(team.id, team);
51590
+ }
51591
+ return teams;
51551
51592
  }
51552
51593
  return body;
51553
51594
  } catch (error) {
@@ -51583,6 +51624,40 @@ async function selectOrg(client, question, autoConfirm) {
51583
51624
  const {
51584
51625
  config: { currentTeam }
51585
51626
  } = client;
51627
+ if (autoConfirm && !client.nonInteractive) {
51628
+ if (currentTeam) {
51629
+ output_manager_default.spinner("Loading team\u2026", 1e3);
51630
+ try {
51631
+ const team = await getTeamById(client, currentTeam);
51632
+ return { type: "team", id: team.id, slug: team.slug };
51633
+ } catch (err) {
51634
+ output_manager_default.debug(`Unable to load current team directly: ${err}`);
51635
+ } finally {
51636
+ output_manager_default.stopSpinner();
51637
+ }
51638
+ }
51639
+ output_manager_default.spinner("Loading user\u2026", 1e3);
51640
+ let user2;
51641
+ try {
51642
+ user2 = await getUser(client);
51643
+ } finally {
51644
+ output_manager_default.stopSpinner();
51645
+ }
51646
+ if (user2.version !== "northstar") {
51647
+ return { type: "user", id: user2.id, slug: user2.username };
51648
+ }
51649
+ if (user2.defaultTeamId) {
51650
+ output_manager_default.spinner("Loading team\u2026", 1e3);
51651
+ try {
51652
+ const team = await getTeamById(client, user2.defaultTeamId);
51653
+ return { type: "team", id: team.id, slug: team.slug };
51654
+ } catch (err) {
51655
+ output_manager_default.debug(`Unable to load default team directly: ${err}`);
51656
+ } finally {
51657
+ output_manager_default.stopSpinner();
51658
+ }
51659
+ }
51660
+ }
51586
51661
  output_manager_default.spinner("Loading teams\u2026", 1e3);
51587
51662
  let user;
51588
51663
  let teams;
@@ -55030,6 +55105,7 @@ export {
55030
55105
  envCommand,
55031
55106
  param,
55032
55107
  getUser,
55108
+ getTeamById,
55033
55109
  getTeams,
55034
55110
  isBackspaceKey,
55035
55111
  isEnterKey,
@@ -55052,7 +55128,6 @@ export {
55052
55128
  require_fast_deep_equal,
55053
55129
  require_ajv,
55054
55130
  getProjectByNameOrId,
55055
- getTeamById,
55056
55131
  isDirectory,
55057
55132
  require_pluralize,
55058
55133
  require_slugify,
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-L6Q2EQPI.js";
11
11
  import {
12
12
  getLinkedProject
13
- } from "./chunk-L3JT6XDK.js";
13
+ } from "./chunk-CWRL2B64.js";
14
14
  import {
15
15
  buildCommandWithYes,
16
16
  outputAgentError
@@ -6,14 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  writeProjectSettings
9
- } from "./chunk-4VFNBXZ2.js";
9
+ } from "./chunk-APRQ4WOM.js";
10
10
  import {
11
11
  ensureLink
12
- } from "./chunk-CPI4NTRV.js";
12
+ } from "./chunk-B7343AJ4.js";
13
13
  import {
14
14
  autoInstallVercelPlugin,
15
15
  pullCommand
16
- } from "./chunk-BTQ6HRS4.js";
16
+ } from "./chunk-EQMRA3RA.js";
17
17
  import {
18
18
  help
19
19
  } from "./chunk-TTOZFGDX.js";
@@ -23,7 +23,7 @@ import {
23
23
  envPullCommandLogic,
24
24
  humanizePath,
25
25
  parseTarget
26
- } from "./chunk-L3JT6XDK.js";
26
+ } from "./chunk-CWRL2B64.js";
27
27
  import {
28
28
  TelemetryClient
29
29
  } from "./chunk-4CIXZOP4.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getEnvTargetPlaceholder
9
- } from "./chunk-L3JT6XDK.js";
9
+ } from "./chunk-CWRL2B64.js";
10
10
  import {
11
11
  projectOption,
12
12
  yesOption
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  VERCEL_DIR,
9
9
  isVercelTomlEnabled
10
- } from "./chunk-L3JT6XDK.js";
10
+ } from "./chunk-CWRL2B64.js";
11
11
  import {
12
12
  parseArguments
13
13
  } from "./chunk-H33IJ7OP.js";
@@ -10,10 +10,10 @@ import {
10
10
  } from "./chunk-L6Q2EQPI.js";
11
11
  import {
12
12
  getLocalPathConfig
13
- } from "./chunk-PHZ7DOO3.js";
13
+ } from "./chunk-HQQ5VXCJ.js";
14
14
  import {
15
15
  getScope
16
- } from "./chunk-LHB57VQA.js";
16
+ } from "./chunk-P66MJG2R.js";
17
17
  import {
18
18
  VERCEL_DIR_PROJECT,
19
19
  VERCEL_DIR_README,
@@ -47,7 +47,7 @@ import {
47
47
  selectAndParseRemoteUrl,
48
48
  selectOrg,
49
49
  writeServicesConfig
50
- } from "./chunk-L3JT6XDK.js";
50
+ } from "./chunk-CWRL2B64.js";
51
51
  import {
52
52
  buildCommandWithGlobalFlags,
53
53
  outputAgentError,
@@ -25,10 +25,10 @@ import {
25
25
  import {
26
26
  buildCommand,
27
27
  pullCommand
28
- } from "./chunk-BTQ6HRS4.js";
28
+ } from "./chunk-EQMRA3RA.js";
29
29
  import {
30
30
  envCommand
31
- } from "./chunk-L3JT6XDK.js";
31
+ } from "./chunk-CWRL2B64.js";
32
32
  import {
33
33
  confirmOption,
34
34
  forceOption,
@@ -1481,6 +1481,30 @@ var listSubcommand4 = {
1481
1481
  deprecated: false,
1482
1482
  description: "Cursor for the next page of results"
1483
1483
  },
1484
+ {
1485
+ name: "search",
1486
+ shorthand: null,
1487
+ type: String,
1488
+ argument: "TEXT",
1489
+ deprecated: false,
1490
+ description: "Search connectors by name or UID"
1491
+ },
1492
+ {
1493
+ name: "service",
1494
+ shorthand: null,
1495
+ type: [String],
1496
+ argument: "NAME",
1497
+ deprecated: false,
1498
+ description: "Filter by service name (e.g. slack, mcp.linear.app). Repeatable."
1499
+ },
1500
+ {
1501
+ name: "type",
1502
+ shorthand: null,
1503
+ type: [String],
1504
+ argument: "TYPE",
1505
+ deprecated: false,
1506
+ description: "Filter by connector type (slack, github, oauth, custom). Repeatable."
1507
+ },
1484
1508
  formatOption
1485
1509
  ],
1486
1510
  examples: [
@@ -1492,6 +1516,26 @@ var listSubcommand4 = {
1492
1516
  name: "List every connector in the team",
1493
1517
  value: `${packageName} connect list --all-projects`
1494
1518
  },
1519
+ {
1520
+ name: "Filter by connector type",
1521
+ value: `${packageName} connect list --type slack`
1522
+ },
1523
+ {
1524
+ name: "Filter by multiple types",
1525
+ value: `${packageName} connect list --type oauth --type github`
1526
+ },
1527
+ {
1528
+ name: "Filter by service name",
1529
+ value: `${packageName} connect list --service mcp.linear.app`
1530
+ },
1531
+ {
1532
+ name: "Search by text",
1533
+ value: `${packageName} connect list --search linear`
1534
+ },
1535
+ {
1536
+ name: "Combine filters",
1537
+ value: `${packageName} connect list --type oauth --search prod`
1538
+ },
1495
1539
  {
1496
1540
  name: "Limit the number of results",
1497
1541
  value: `${packageName} connect list --limit 10`
@@ -2264,11 +2308,12 @@ var removeSubcommand6 = {
2264
2308
  var priceSubcommand = {
2265
2309
  name: "price",
2266
2310
  aliases: [],
2267
- description: "Show registrar price quote for a domain",
2311
+ description: "Show registrar price quotes for one or more domains",
2268
2312
  arguments: [
2269
2313
  {
2270
2314
  name: "domain",
2271
- required: true
2315
+ required: true,
2316
+ multiple: true
2272
2317
  }
2273
2318
  ],
2274
2319
  options: [formatOption],
@@ -2277,6 +2322,10 @@ var priceSubcommand = {
2277
2322
  name: "Price quote for a domain",
2278
2323
  value: `${packageName} domains price example.com`
2279
2324
  },
2325
+ {
2326
+ name: "Price quotes for multiple domains",
2327
+ value: `${packageName} domains price one.com two.com three.com`
2328
+ },
2280
2329
  {
2281
2330
  name: "JSON output",
2282
2331
  value: `${packageName} domains price example.com --format json`
@@ -2296,6 +2345,33 @@ var buySubcommand = {
2296
2345
  options: [],
2297
2346
  examples: []
2298
2347
  };
2348
+ var checkSubcommand = {
2349
+ name: "check",
2350
+ aliases: [],
2351
+ description: "Check if a domain is available to buy",
2352
+ arguments: [
2353
+ {
2354
+ name: "domain",
2355
+ required: true,
2356
+ multiple: true
2357
+ }
2358
+ ],
2359
+ options: [formatOption],
2360
+ examples: [
2361
+ {
2362
+ name: "Check if a domain is available",
2363
+ value: `${packageName} domains check example.com`
2364
+ },
2365
+ {
2366
+ name: "Check availability for multiple domains",
2367
+ value: `${packageName} domains check one.com two.com three.com`
2368
+ },
2369
+ {
2370
+ name: "JSON output",
2371
+ value: `${packageName} domains check example.com --format json`
2372
+ }
2373
+ ]
2374
+ };
2299
2375
  var moveSubcommand = {
2300
2376
  name: "move",
2301
2377
  aliases: [],
@@ -2349,6 +2425,7 @@ var domainsCommand = {
2349
2425
  inspectSubcommand,
2350
2426
  addSubcommand5,
2351
2427
  buySubcommand,
2428
+ checkSubcommand,
2352
2429
  moveSubcommand,
2353
2430
  priceSubcommand,
2354
2431
  transferInSubcommand,
@@ -7445,6 +7522,21 @@ var getSubcommand2 = {
7445
7522
  argument: "NAME|ID",
7446
7523
  deprecated: false,
7447
7524
  description: "Project name or id to fetch the trace from (overrides the linked project)."
7525
+ },
7526
+ {
7527
+ name: "open",
7528
+ shorthand: null,
7529
+ type: Boolean,
7530
+ deprecated: false,
7531
+ description: "Open the trace in the Vercel Dashboard instead of printing it."
7532
+ },
7533
+ {
7534
+ name: "view",
7535
+ shorthand: null,
7536
+ type: String,
7537
+ argument: "timeline|tree|gantt",
7538
+ deprecated: false,
7539
+ description: "Dashboard view to open. Only valid with --open. Defaults to timeline."
7448
7540
  }
7449
7541
  ],
7450
7542
  examples: [
@@ -7463,6 +7555,14 @@ var getSubcommand2 = {
7463
7555
  {
7464
7556
  name: "Fetch a trace from a specific team and project",
7465
7557
  value: `${packageName} traces get req_1234567890 --scope my-team --project my-app`
7558
+ },
7559
+ {
7560
+ name: "Open the trace in the Vercel Dashboard",
7561
+ value: `${packageName} traces get req_1234567890 --open`
7562
+ },
7563
+ {
7564
+ name: "Open the trace in the Vercel Dashboard with the gantt view",
7565
+ value: `${packageName} traces get req_1234567890 --open --view gantt`
7466
7566
  }
7467
7567
  ]
7468
7568
  };
@@ -8320,6 +8420,7 @@ export {
8320
8420
  removeSubcommand6,
8321
8421
  priceSubcommand,
8322
8422
  buySubcommand,
8423
+ checkSubcommand,
8323
8424
  moveSubcommand,
8324
8425
  transferInSubcommand,
8325
8426
  domainsCommand,
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  resolveAlertsScope
9
- } from "./chunk-UDG7NUUQ.js";
9
+ } from "./chunk-5OGU2MKL.js";
10
10
  import {
11
11
  handleValidationError,
12
12
  outputError,
@@ -18,7 +18,7 @@ import {
18
18
  require_lib,
19
19
  require_minimatch,
20
20
  require_pluralize
21
- } from "./chunk-L3JT6XDK.js";
21
+ } from "./chunk-CWRL2B64.js";
22
22
  import {
23
23
  CantParseJSONFile,
24
24
  cmd,
@@ -11226,7 +11226,8 @@ import {
11226
11226
  getLambdaOptionsFromFunction,
11227
11227
  normalizePath,
11228
11228
  isBackendBuilder,
11229
- isExperimentalBackendsEnabled
11229
+ isExperimentalBackendsEnabled,
11230
+ isExternalSymlink
11230
11231
  } from "@vercel/build-utils";
11231
11232
 
11232
11233
  // src/util/build/merge.ts
@@ -11905,6 +11906,9 @@ function filesWithoutFsRefs(files, repoRootPath, sharedDest, standalone) {
11905
11906
  if (!filePathMap)
11906
11907
  filePathMap = {};
11907
11908
  if (standalone && sharedDest) {
11909
+ if (isExternalSymlink(file)) {
11910
+ continue;
11911
+ }
11908
11912
  shared[path2] = file;
11909
11913
  filePathMap[normalizePath(path2)] = normalizePath(
11910
11914
  relative2(repoRootPath, join4(sharedDest, path2))
@@ -11,7 +11,7 @@ import {
11
11
  getTeamById,
12
12
  getUser,
13
13
  getVercelDirectory
14
- } from "./chunk-L3JT6XDK.js";
14
+ } from "./chunk-CWRL2B64.js";
15
15
  import {
16
16
  TeamDeleted
17
17
  } from "./chunk-UGXBNJMO.js";
@@ -9,7 +9,7 @@ import {
9
9
  printIndications,
10
10
  require_dist as require_dist2,
11
11
  sleep
12
- } from "./chunk-XPQUP4VC.js";
12
+ } from "./chunk-2O23IWFZ.js";
13
13
  import {
14
14
  suggestNextCommands
15
15
  } from "./chunk-LOS7HHU3.js";
@@ -19,23 +19,23 @@ import {
19
19
  } from "./chunk-NYJXGEIR.js";
20
20
  import {
21
21
  CommandTimeout
22
- } from "./chunk-FVMTH5YE.js";
22
+ } from "./chunk-NJ3JN4BJ.js";
23
23
  import {
24
24
  ua_default
25
25
  } from "./chunk-76ZNZKIN.js";
26
26
  import {
27
27
  showPluginTipIfNeeded
28
- } from "./chunk-BTQ6HRS4.js";
28
+ } from "./chunk-EQMRA3RA.js";
29
29
  import {
30
30
  getScope
31
- } from "./chunk-LHB57VQA.js";
31
+ } from "./chunk-P66MJG2R.js";
32
32
  import {
33
33
  getProjectByNameOrId,
34
34
  param,
35
35
  printAlignedLabel,
36
36
  require_dist as require_dist3,
37
37
  require_pluralize
38
- } from "./chunk-L3JT6XDK.js";
38
+ } from "./chunk-CWRL2B64.js";
39
39
  import {
40
40
  require_ms,
41
41
  stamp_default
@@ -1584,7 +1584,7 @@ var import_ansi_escapes = __toESM(require_ansi_escapes(), 1);
1584
1584
  import { URLSearchParams } from "url";
1585
1585
  async function printEvents(client, urlOrDeploymentId, { mode, onEvent, quiet, findOpts }, abortController) {
1586
1586
  const { log, debug } = output_manager_default;
1587
- const { contextName } = await getScope(client);
1587
+ const scope = mode === "deploy" ? await getScope(client) : null;
1588
1588
  let o = 0;
1589
1589
  await (0, import_async_retry.default)(
1590
1590
  async (bail, attemptNumber) => {
@@ -1620,7 +1620,7 @@ async function printEvents(client, urlOrDeploymentId, { mode, onEvent, quiet, fi
1620
1620
  try {
1621
1621
  const json = await getDeployment(
1622
1622
  client,
1623
- contextName,
1623
+ scope.contextName,
1624
1624
  urlOrDeploymentId
1625
1625
  );
1626
1626
  if (json.readyState === "READY") {
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  formatCondition,
9
9
  formatTransform
10
- } from "./chunk-MZM2IMEM.js";
10
+ } from "./chunk-EARP53GN.js";
11
11
  import {
12
12
  output_manager_default
13
13
  } from "./chunk-ZQKJVHXY.js";