vercel 50.34.3 → 50.35.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.
Files changed (58) hide show
  1. package/dist/chunks/{chunk-2B73MZTZ.js → chunk-2MZ2A7NV.js} +1 -1
  2. package/dist/chunks/{chunk-MR5QNBWQ.js → chunk-3KZHRNXR.js} +1 -1
  3. package/dist/chunks/{chunk-ORWD35TP.js → chunk-5X5D56SC.js} +1 -1
  4. package/dist/chunks/{chunk-PRFBCCG3.js → chunk-5ZVJYXLU.js} +1 -1
  5. package/dist/chunks/{chunk-XXUJIT6K.js → chunk-7DONLUDG.js} +1 -1
  6. package/dist/chunks/{chunk-3ASOFJTM.js → chunk-AY4LBM3J.js} +1 -1
  7. package/dist/chunks/{chunk-ICIBJ66I.js → chunk-CFMQN4KW.js} +2 -2
  8. package/dist/chunks/{chunk-YKTKHFLC.js → chunk-CTY6ZEQZ.js} +1 -1
  9. package/dist/chunks/{chunk-OIS5SBTC.js → chunk-E2FTX3MJ.js} +2 -2
  10. package/dist/chunks/{chunk-O22Z3FMV.js → chunk-E3DU27YT.js} +2 -2
  11. package/dist/chunks/{chunk-XFDX3ZUB.js → chunk-FB7VLWYT.js} +146 -11
  12. package/dist/chunks/{chunk-EYJUCT27.js → chunk-H5CHJPPZ.js} +6 -61
  13. package/dist/chunks/{chunk-M5SK37EQ.js → chunk-JS6JXSM3.js} +1 -1
  14. package/dist/chunks/{chunk-LTBRK27Q.js → chunk-KN7ZKW46.js} +3 -3
  15. package/dist/chunks/{chunk-UYMK2BOV.js → chunk-LCHBLUU5.js} +5 -5
  16. package/dist/chunks/{chunk-OHTLC46O.js → chunk-MPC4SSYA.js} +4 -4
  17. package/dist/chunks/{chunk-GEGS6S4G.js → chunk-MRILE22L.js} +8 -8
  18. package/dist/chunks/{chunk-OQVICKJE.js → chunk-MTX2A6OC.js} +1 -1
  19. package/dist/chunks/{chunk-FVUPBXPH.js → chunk-N7ABINT7.js} +6 -3
  20. package/dist/chunks/{chunk-RUFDGFR6.js → chunk-NQELOCER.js} +1 -1
  21. package/dist/chunks/{chunk-I5MMJLMS.js → chunk-O5OD4JWH.js} +2 -2
  22. package/dist/chunks/{chunk-UCOKJMA5.js → chunk-OTUROTQ2.js} +2 -2
  23. package/dist/chunks/{chunk-KL5M3C5S.js → chunk-QIZEWDZG.js} +2 -2
  24. package/dist/chunks/{chunk-KAEQ7YVI.js → chunk-QQ3CX3WN.js} +4 -4
  25. package/dist/chunks/{chunk-GJKEGSBH.js → chunk-SV3GZCMS.js} +1 -1
  26. package/dist/chunks/{chunk-WCXDGBGE.js → chunk-TLDVMWUJ.js} +1 -1
  27. package/dist/chunks/{chunk-AQ7NTSF2.js → chunk-TX2H4WB5.js} +2 -2
  28. package/dist/chunks/{chunk-OCHQWS33.js → chunk-U2VTKOYW.js} +1 -1
  29. package/dist/chunks/chunk-V7AUULPM.js +69 -0
  30. package/dist/chunks/{chunk-YCMIF7CZ.js → chunk-VKEKG35M.js} +5 -5
  31. package/dist/chunks/{chunk-FJWTUCYK.js → chunk-XNWJLL5I.js} +11 -42
  32. package/dist/chunks/{chunk-7C3TWDAN.js → chunk-YPQHRLKW.js} +6 -6
  33. package/dist/chunks/{chunk-7VUZ5VVT.js → chunk-ZFRYHXOW.js} +1 -1
  34. package/dist/chunks/{compile-vercel-config-YAV22JWA.js → compile-vercel-config-4P6ITRAJ.js} +3 -3
  35. package/dist/chunks/{delete-OWLJICTF.js → delete-MHRFOKQN.js} +9 -7
  36. package/dist/chunks/{disable-KURVGOJR.js → disable-6BCLBCQ2.js} +6 -5
  37. package/dist/chunks/{discard-MLPLPLHC.js → discard-M4LLIIB2.js} +6 -5
  38. package/dist/chunks/{edit-OWV6AAT3.js → edit-53JQSSIV.js} +7 -6
  39. package/dist/chunks/{enable-3LSQ47OV.js → enable-BKGMRJ6N.js} +6 -5
  40. package/dist/chunks/{export-GOI3ALLT.js → export-T6SX6BHR.js} +6 -5
  41. package/dist/chunks/{list-A4NUC7J6.js → list-5KEEAHA2.js} +6 -6
  42. package/dist/chunks/{list-4CRN6YVE.js → list-KY5N5GFY.js} +5 -5
  43. package/dist/chunks/{publish-M7MCTEBX.js → publish-YBLCN75N.js} +6 -5
  44. package/dist/chunks/{query-4BIURBSO.js → query-IQTIXHUP.js} +37 -15
  45. package/dist/chunks/{reorder-C73VHWJV.js → reorder-YRQTCSJY.js} +6 -5
  46. package/dist/chunks/{restore-33RIU4CH.js → restore-UDUD6TWT.js} +6 -5
  47. package/dist/chunks/{schema-HFD5JPLP.js → schema-DU5ZM4TM.js} +7 -7
  48. package/dist/chunks/{types-MCOZ4ZK7.js → types-AHFPPACX.js} +3 -3
  49. package/dist/commands/build/index.js +117 -24
  50. package/dist/commands/deploy/index.js +497 -95
  51. package/dist/commands/dev/index.js +13 -13
  52. package/dist/commands/env/index.js +16 -16
  53. package/dist/commands/link/index.js +16 -16
  54. package/dist/commands/list/index.js +9 -9
  55. package/dist/commands-bulk.js +1677 -644
  56. package/dist/index.js +20 -20
  57. package/dist/version.mjs +1 -1
  58. package/package.json +13 -13
@@ -11,7 +11,7 @@ import {
11
11
  nextOption,
12
12
  packageName,
13
13
  yesOption
14
- } from "./chunk-FVUPBXPH.js";
14
+ } from "./chunk-N7ABINT7.js";
15
15
 
16
16
  // src/commands/list/command.ts
17
17
  var listCommand = {
@@ -9,7 +9,7 @@ import {
9
9
  limitOption,
10
10
  nextOption,
11
11
  packageName
12
- } from "./chunk-FVUPBXPH.js";
12
+ } from "./chunk-N7ABINT7.js";
13
13
 
14
14
  // src/commands/activity/command.ts
15
15
  var typesSubcommand = {
@@ -13,7 +13,7 @@ import {
13
13
  InvalidDeploymentId,
14
14
  TooManyRequests,
15
15
  isAPIError
16
- } from "./chunk-FVUPBXPH.js";
16
+ } from "./chunk-N7ABINT7.js";
17
17
 
18
18
  // src/util/to-host.ts
19
19
  function toHost(url) {
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  init_pkg,
9
9
  pkg_default
10
- } from "./chunk-FVUPBXPH.js";
10
+ } from "./chunk-N7ABINT7.js";
11
11
 
12
12
  // src/util/ua.ts
13
13
  init_pkg();
@@ -8,7 +8,7 @@ import {
8
8
  formatOption,
9
9
  limitOption,
10
10
  packageName
11
- } from "./chunk-FVUPBXPH.js";
11
+ } from "./chunk-N7ABINT7.js";
12
12
 
13
13
  // src/commands/alerts/command.ts
14
14
  var listSubcommand = {
@@ -8,7 +8,7 @@ import {
8
8
  APIError,
9
9
  InvalidToken,
10
10
  MissingUser
11
- } from "./chunk-FVUPBXPH.js";
11
+ } from "./chunk-N7ABINT7.js";
12
12
  import {
13
13
  __commonJS,
14
14
  __require
@@ -6,11 +6,11 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  STANDARD_ENVIRONMENTS
9
- } from "./chunk-FJWTUCYK.js";
9
+ } from "./chunk-XNWJLL5I.js";
10
10
  import {
11
11
  getCommandName,
12
12
  require_lib
13
- } from "./chunk-FVUPBXPH.js";
13
+ } from "./chunk-N7ABINT7.js";
14
14
  import {
15
15
  output_manager_default
16
16
  } from "./chunk-FDJURQMQ.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_string_width
9
- } from "./chunk-FVUPBXPH.js";
9
+ } from "./chunk-N7ABINT7.js";
10
10
  import {
11
11
  __commonJS,
12
12
  __require,
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_lib
9
- } from "./chunk-FJWTUCYK.js";
9
+ } from "./chunk-XNWJLL5I.js";
10
10
  import {
11
11
  packageName
12
- } from "./chunk-FVUPBXPH.js";
12
+ } from "./chunk-N7ABINT7.js";
13
13
  import {
14
14
  __toESM
15
15
  } from "./chunk-TZ2YI2VH.js";
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  table
9
- } from "./chunk-YKTKHFLC.js";
9
+ } from "./chunk-CTY6ZEQZ.js";
10
10
  import {
11
11
  require_strip_ansi
12
- } from "./chunk-FVUPBXPH.js";
12
+ } from "./chunk-N7ABINT7.js";
13
13
  import {
14
14
  require_source
15
15
  } from "./chunk-S7KYDPEM.js";
@@ -6,29 +6,29 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  routesCommand
9
- } from "./chunk-GJKEGSBH.js";
9
+ } from "./chunk-SV3GZCMS.js";
10
10
  import {
11
11
  devCommand
12
- } from "./chunk-7VUZ5VVT.js";
12
+ } from "./chunk-ZFRYHXOW.js";
13
13
  import {
14
14
  activityCommand
15
- } from "./chunk-MR5QNBWQ.js";
15
+ } from "./chunk-3KZHRNXR.js";
16
16
  import {
17
17
  alertsCommand
18
- } from "./chunk-XXUJIT6K.js";
18
+ } from "./chunk-7DONLUDG.js";
19
19
  import {
20
20
  metricsCommand
21
- } from "./chunk-OCHQWS33.js";
21
+ } from "./chunk-U2VTKOYW.js";
22
22
  import {
23
23
  listCommand
24
- } from "./chunk-2B73MZTZ.js";
24
+ } from "./chunk-2MZ2A7NV.js";
25
25
  import {
26
26
  buildCommand,
27
27
  pullCommand
28
- } from "./chunk-UCOKJMA5.js";
28
+ } from "./chunk-OTUROTQ2.js";
29
29
  import {
30
30
  envCommand
31
- } from "./chunk-FJWTUCYK.js";
31
+ } from "./chunk-XNWJLL5I.js";
32
32
  import {
33
33
  confirmOption,
34
34
  forceOption,
@@ -38,7 +38,7 @@ import {
38
38
  nextOption,
39
39
  packageName,
40
40
  yesOption
41
- } from "./chunk-FVUPBXPH.js";
41
+ } from "./chunk-N7ABINT7.js";
42
42
  import {
43
43
  output_manager_default
44
44
  } from "./chunk-FDJURQMQ.js";
@@ -3287,6 +3287,131 @@ var mcpCommand = {
3287
3287
  };
3288
3288
 
3289
3289
  // src/commands/microfrontends/command.ts
3290
+ var createGroupSubcommand = {
3291
+ name: "create-group",
3292
+ aliases: [],
3293
+ description: "Create a new microfrontends group to compose multiple projects into one cohesive application with shared routing",
3294
+ arguments: [],
3295
+ options: [
3296
+ {
3297
+ name: "name",
3298
+ shorthand: null,
3299
+ type: String,
3300
+ deprecated: false,
3301
+ description: "Name of the microfrontends group"
3302
+ },
3303
+ {
3304
+ name: "project",
3305
+ shorthand: null,
3306
+ type: [String],
3307
+ deprecated: false,
3308
+ description: "Project name to include (repeatable)"
3309
+ },
3310
+ {
3311
+ name: "default-app",
3312
+ shorthand: null,
3313
+ type: String,
3314
+ deprecated: false,
3315
+ description: "Project name for the default application"
3316
+ },
3317
+ {
3318
+ name: "default-route",
3319
+ shorthand: null,
3320
+ type: String,
3321
+ deprecated: false,
3322
+ description: "Default route for the default application"
3323
+ }
3324
+ ],
3325
+ examples: [
3326
+ {
3327
+ name: "Create a microfrontends group interactively",
3328
+ value: `${packageName} microfrontends create-group`
3329
+ },
3330
+ {
3331
+ name: "Create a microfrontends group with flags",
3332
+ value: `${packageName} mf create-group --name="My Group" --project=web --project=docs --default-app=web`
3333
+ }
3334
+ ]
3335
+ };
3336
+ var addToGroupSubcommand = {
3337
+ name: "add-to-group",
3338
+ aliases: [],
3339
+ description: "Add the current project to a microfrontends group so it can be independently deployed as part of the microfrontends group",
3340
+ arguments: [],
3341
+ options: [
3342
+ {
3343
+ name: "group",
3344
+ shorthand: null,
3345
+ type: String,
3346
+ deprecated: false,
3347
+ description: "Name of the microfrontends group to add to"
3348
+ },
3349
+ {
3350
+ name: "default-route",
3351
+ shorthand: null,
3352
+ type: String,
3353
+ deprecated: false,
3354
+ description: "Default route for this project (e.g. /docs)"
3355
+ }
3356
+ ],
3357
+ examples: [
3358
+ {
3359
+ name: "Add current project to a group interactively",
3360
+ value: `${packageName} microfrontends add-to-group`
3361
+ },
3362
+ {
3363
+ name: "Add current project to a group with flags",
3364
+ value: `${packageName} mf add-to-group --group="My Group" --default-route=/docs`
3365
+ }
3366
+ ]
3367
+ };
3368
+ var removeFromGroupSubcommand = {
3369
+ name: "remove-from-group",
3370
+ aliases: [],
3371
+ description: "Remove the current project from its microfrontends group so it is no longer part of the composed application",
3372
+ arguments: [],
3373
+ options: [
3374
+ {
3375
+ ...yesOption,
3376
+ description: "Skip project linking confirmation"
3377
+ }
3378
+ ],
3379
+ examples: [
3380
+ {
3381
+ name: "Remove current project from its group interactively",
3382
+ value: `${packageName} microfrontends remove-from-group`
3383
+ }
3384
+ ]
3385
+ };
3386
+ var deleteGroupSubcommand = {
3387
+ name: "delete-group",
3388
+ aliases: [],
3389
+ description: "Delete a microfrontends group and all of its settings. This action is not reversible.",
3390
+ arguments: [],
3391
+ options: [
3392
+ {
3393
+ ...yesOption,
3394
+ description: "Skip project linking confirmation"
3395
+ },
3396
+ {
3397
+ name: "group",
3398
+ shorthand: null,
3399
+ type: String,
3400
+ deprecated: false,
3401
+ description: "Name or ID of the microfrontends group to delete"
3402
+ }
3403
+ ],
3404
+ examples: [
3405
+ {
3406
+ name: "Delete a microfrontends group interactively",
3407
+ value: `${packageName} microfrontends delete-group`
3408
+ },
3409
+ {
3410
+ name: "Delete a microfrontends group with flags",
3411
+ value: `${packageName} mf delete-group --group="My Group"`
3412
+ }
3413
+ ]
3414
+ };
3290
3415
  var pullSubcommand = {
3291
3416
  name: "pull",
3292
3417
  aliases: [],
@@ -3319,9 +3444,15 @@ var pullSubcommand = {
3319
3444
  var microfrontendsCommand = {
3320
3445
  name: "microfrontends",
3321
3446
  aliases: ["mf"],
3322
- description: "Manages your microfrontends",
3447
+ description: "Manage microfrontends groups that compose multiple projects into one cohesive application",
3323
3448
  arguments: [],
3324
- subcommands: [pullSubcommand],
3449
+ subcommands: [
3450
+ createGroupSubcommand,
3451
+ addToGroupSubcommand,
3452
+ removeFromGroupSubcommand,
3453
+ deleteGroupSubcommand,
3454
+ pullSubcommand
3455
+ ],
3325
3456
  options: [],
3326
3457
  examples: []
3327
3458
  };
@@ -5158,6 +5289,10 @@ export {
5158
5289
  CommandTimeout,
5159
5290
  logsCommand,
5160
5291
  mcpCommand,
5292
+ createGroupSubcommand,
5293
+ addToGroupSubcommand,
5294
+ removeFromGroupSubcommand,
5295
+ deleteGroupSubcommand,
5161
5296
  pullSubcommand,
5162
5297
  microfrontendsCommand,
5163
5298
  openCommand,
@@ -4,11 +4,15 @@ import { dirname as __dirname_ } from 'node:path';
4
4
  const require = __createRequire(import.meta.url);
5
5
  const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
+ import {
8
+ AGENT_REASON,
9
+ AGENT_STATUS
10
+ } from "./chunk-V7AUULPM.js";
7
11
  import {
8
12
  buildCommandWithYes,
9
13
  getLinkedProject,
10
14
  outputAgentError
11
- } from "./chunk-FJWTUCYK.js";
15
+ } from "./chunk-XNWJLL5I.js";
12
16
  import {
13
17
  getCommandName,
14
18
  getCommandNamePlain,
@@ -16,7 +20,7 @@ import {
16
20
  getGlobalFlagsOnlyFromArgs,
17
21
  parseArguments,
18
22
  printError
19
- } from "./chunk-FVUPBXPH.js";
23
+ } from "./chunk-N7ABINT7.js";
20
24
  import {
21
25
  output_manager_default
22
26
  } from "./chunk-FDJURQMQ.js";
@@ -27,62 +31,6 @@ import {
27
31
  __toESM
28
32
  } from "./chunk-TZ2YI2VH.js";
29
33
 
30
- // src/util/agent-output-constants.ts
31
- var AGENT_STATUS = {
32
- ERROR: "error",
33
- ACTION_REQUIRED: "action_required",
34
- OK: "ok"
35
- };
36
- var AGENT_REASON = {
37
- // Common (use across dns, flags, routes, env, domains, link)
38
- MISSING_ARGUMENTS: "missing_arguments",
39
- INVALID_ARGUMENTS: "invalid_arguments",
40
- CONFIRMATION_REQUIRED: "confirmation_required",
41
- LOGIN_REQUIRED: "login_required",
42
- NOT_LINKED: "not_linked",
43
- NOT_FOUND: "not_found",
44
- MISSING_SCOPE: "missing_scope",
45
- API_ERROR: "api_error",
46
- // Env
47
- MISSING_REQUIREMENTS: "missing_requirements",
48
- MISSING_NAME: "missing_name",
49
- MISSING_VALUE: "missing_value",
50
- MISSING_ENVIRONMENT: "missing_environment",
51
- ENV_NOT_FOUND: "env_not_found",
52
- MULTIPLE_ENVS: "multiple_envs",
53
- ENV_FILE_EXISTS: "env_file_exists",
54
- GIT_BRANCH_REQUIRED: "git_branch_required",
55
- ENV_KEY_SENSITIVE: "env_key_sensitive",
56
- // Routes
57
- AMBIGUOUS_ROUTE: "ambiguous_route",
58
- ROUTE_CREATE_FAILED: "route_create_failed",
59
- ROUTE_GENERATION_FAILED: "route_generation_failed",
60
- // DNS
61
- DOMAIN_NOT_FOUND: "domain_not_found",
62
- DNS_RECORD_NOT_FOUND: "dns_record_not_found",
63
- INCOMPLETE_RECORD: "incomplete_record",
64
- PERMISSION_DENIED: "permission_denied",
65
- INVALID_PORT: "invalid_port",
66
- INVALID_DNS_TYPE: "invalid_dns_type",
67
- DNS_ADD_FAILED: "dns_add_failed",
68
- INVALID_DOMAIN: "invalid_domain",
69
- // Webhooks
70
- MISSING_URL: "missing_url",
71
- MISSING_EVENTS: "missing_events",
72
- INVALID_URL: "invalid_url",
73
- INVALID_EVENT: "invalid_event",
74
- // Redirects
75
- REDIRECT_NOT_FOUND: "redirect_not_found",
76
- VERSION_NOT_FOUND: "version_not_found",
77
- VERSION_ALREADY_LIVE: "version_already_live",
78
- VERSION_IS_STAGING: "version_is_staging"
79
- };
80
- var AGENT_ACTION = {
81
- MISSING_ARGUMENTS: "missing_arguments",
82
- CONFIRMATION_REQUIRED: "confirmation_required",
83
- LOGIN_REQUIRED: "login_required"
84
- };
85
-
86
34
  // src/util/routes/types.ts
87
35
  var ROUTE_TYPE_LABELS = {
88
36
  rewrite: "Rewrite",
@@ -499,9 +447,6 @@ async function getRoutes(client, projectId, options = {}) {
499
447
  }
500
448
 
501
449
  export {
502
- AGENT_STATUS,
503
- AGENT_REASON,
504
- AGENT_ACTION,
505
450
  getRouteTypeLabel,
506
451
  getSrcSyntaxLabel,
507
452
  withGlobalFlags,
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  formatCondition,
9
9
  formatTransform
10
- } from "./chunk-EYJUCT27.js";
10
+ } from "./chunk-H5CHJPPZ.js";
11
11
  import {
12
12
  output_manager_default
13
13
  } from "./chunk-FDJURQMQ.js";
@@ -6,18 +6,18 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  setupAndLink
9
- } from "./chunk-OHTLC46O.js";
9
+ } from "./chunk-MPC4SSYA.js";
10
10
  import {
11
11
  buildCommandWithYes,
12
12
  getLinkedProject,
13
13
  outputActionRequired,
14
14
  param,
15
15
  resolveProjectCwd
16
- } from "./chunk-FJWTUCYK.js";
16
+ } from "./chunk-XNWJLL5I.js";
17
17
  import {
18
18
  getCommandName,
19
19
  getCommandNamePlain
20
- } from "./chunk-FVUPBXPH.js";
20
+ } from "./chunk-N7ABINT7.js";
21
21
  import {
22
22
  output_manager_default
23
23
  } from "./chunk-FDJURQMQ.js";
@@ -6,16 +6,16 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getUpdateCommand
9
- } from "./chunk-OIS5SBTC.js";
9
+ } from "./chunk-E2FTX3MJ.js";
10
10
  import {
11
11
  login
12
- } from "./chunk-YCMIF7CZ.js";
12
+ } from "./chunk-VKEKG35M.js";
13
13
  import {
14
14
  loginCommand
15
- } from "./chunk-XFDX3ZUB.js";
15
+ } from "./chunk-FB7VLWYT.js";
16
16
  import {
17
17
  help
18
- } from "./chunk-I5MMJLMS.js";
18
+ } from "./chunk-O5OD4JWH.js";
19
19
  import {
20
20
  TelemetryClient
21
21
  } from "./chunk-MXPZBZ2X.js";
@@ -24,7 +24,7 @@ import {
24
24
  parseArguments,
25
25
  printError,
26
26
  require_strip_ansi
27
- } from "./chunk-FVUPBXPH.js";
27
+ } from "./chunk-N7ABINT7.js";
28
28
  import {
29
29
  output_manager_default
30
30
  } from "./chunk-FDJURQMQ.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getLocalPathConfig
9
- } from "./chunk-AQ7NTSF2.js";
9
+ } from "./chunk-TX2H4WB5.js";
10
10
  import {
11
11
  VERCEL_DIR_PROJECT,
12
12
  VERCEL_DIR_README,
@@ -31,16 +31,16 @@ import {
31
31
  selectAndParseRemoteUrl,
32
32
  selectOrg,
33
33
  writeServicesConfig
34
- } from "./chunk-FJWTUCYK.js";
34
+ } from "./chunk-XNWJLL5I.js";
35
35
  import {
36
36
  table
37
- } from "./chunk-YKTKHFLC.js";
37
+ } from "./chunk-CTY6ZEQZ.js";
38
38
  import {
39
39
  CantParseJSONFile,
40
40
  ProjectNotFound,
41
41
  isAPIError,
42
42
  printError
43
- } from "./chunk-FVUPBXPH.js";
43
+ } from "./chunk-N7ABINT7.js";
44
44
  import {
45
45
  output_manager_default
46
46
  } from "./chunk-FDJURQMQ.js";
@@ -9,35 +9,35 @@ import {
9
9
  printIndications,
10
10
  require_dist as require_dist2,
11
11
  sleep
12
- } from "./chunk-YCMIF7CZ.js";
12
+ } from "./chunk-VKEKG35M.js";
13
13
  import {
14
14
  suggestNextCommands
15
15
  } from "./chunk-XR53KVJD.js";
16
16
  import {
17
17
  getDeployment,
18
18
  mapCertError
19
- } from "./chunk-ORWD35TP.js";
19
+ } from "./chunk-5X5D56SC.js";
20
20
  import {
21
21
  getScope
22
- } from "./chunk-KL5M3C5S.js";
22
+ } from "./chunk-QIZEWDZG.js";
23
23
  import {
24
24
  CommandTimeout
25
- } from "./chunk-XFDX3ZUB.js";
25
+ } from "./chunk-FB7VLWYT.js";
26
26
  import {
27
27
  ua_default
28
- } from "./chunk-PRFBCCG3.js";
28
+ } from "./chunk-5ZVJYXLU.js";
29
29
  import {
30
30
  getProjectByNameOrId,
31
31
  param,
32
32
  require_dist as require_dist3,
33
33
  require_lib3 as require_lib
34
- } from "./chunk-FJWTUCYK.js";
34
+ } from "./chunk-XNWJLL5I.js";
35
35
  import {
36
36
  stamp_default
37
37
  } from "./chunk-SOTR4CXR.js";
38
38
  import {
39
39
  require_pluralize
40
- } from "./chunk-3ASOFJTM.js";
40
+ } from "./chunk-AY4LBM3J.js";
41
41
  import {
42
42
  require_ms
43
43
  } from "./chunk-GGP5R3FU.js";
@@ -60,7 +60,7 @@ import {
60
60
  require_bytes,
61
61
  require_strip_ansi,
62
62
  responseError
63
- } from "./chunk-FVUPBXPH.js";
63
+ } from "./chunk-N7ABINT7.js";
64
64
  import {
65
65
  emoji,
66
66
  eraseLines,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-IE7MNZ56.js";
10
10
  import {
11
11
  isAPIError
12
- } from "./chunk-FVUPBXPH.js";
12
+ } from "./chunk-N7ABINT7.js";
13
13
  import {
14
14
  output_manager_default
15
15
  } from "./chunk-FDJURQMQ.js";
@@ -613,9 +613,6 @@ function getFlagsSpecification(options) {
613
613
  return flagsSpecification;
614
614
  }
615
615
 
616
- // src/util/get-args.ts
617
- var import_arg = __toESM(require_arg(), 1);
618
-
619
616
  // src/util/arg-common.ts
620
617
  var globalCommandOptions = [
621
618
  {
@@ -843,8 +840,13 @@ function getGlobalFlagsOnlyFromArgs(args) {
843
840
  }
844
841
  return out;
845
842
  }
843
+ function getCommandNameWithGlobalFlags(commandTemplate, argv) {
844
+ const flags = getGlobalFlagsOnlyFromArgs(argv.slice(2));
845
+ return getCommandNamePlain(`${commandTemplate} ${flags.join(" ")}`.trim());
846
+ }
846
847
 
847
848
  // src/util/get-args.ts
849
+ var import_arg = __toESM(require_arg(), 1);
848
850
  function getArgs(argv, argsOptions, argOptions = {}) {
849
851
  return (0, import_arg.default)(Object.assign({}, arg_common_default(), argsOptions), {
850
852
  ...argOptions,
@@ -1630,6 +1632,7 @@ export {
1630
1632
  jsonOption,
1631
1633
  allOption,
1632
1634
  getGlobalFlagsOnlyFromArgs,
1635
+ getCommandNameWithGlobalFlags,
1633
1636
  getArgs,
1634
1637
  parseArguments,
1635
1638
  require_bytes,
@@ -8,7 +8,7 @@ import {
8
8
  VERCEL_DIR,
9
9
  VERCEL_DIR_PROJECT,
10
10
  require_lib
11
- } from "./chunk-FJWTUCYK.js";
11
+ } from "./chunk-XNWJLL5I.js";
12
12
  import {
13
13
  require_dist
14
14
  } from "./chunk-FDJURQMQ.js";
@@ -10,10 +10,10 @@ import {
10
10
  import {
11
11
  noBorderChars,
12
12
  require_cli_table3
13
- } from "./chunk-YKTKHFLC.js";
13
+ } from "./chunk-CTY6ZEQZ.js";
14
14
  import {
15
15
  globalCommandOptions
16
- } from "./chunk-FVUPBXPH.js";
16
+ } from "./chunk-N7ABINT7.js";
17
17
  import {
18
18
  require_source
19
19
  } from "./chunk-S7KYDPEM.js";
@@ -6,11 +6,11 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getEnvTargetPlaceholder
9
- } from "./chunk-FJWTUCYK.js";
9
+ } from "./chunk-XNWJLL5I.js";
10
10
  import {
11
11
  packageName,
12
12
  yesOption
13
- } from "./chunk-FVUPBXPH.js";
13
+ } from "./chunk-N7ABINT7.js";
14
14
 
15
15
  // src/commands/build/command.ts
16
16
  var buildCommand = {
@@ -7,10 +7,10 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getTeamById,
9
9
  getUser
10
- } from "./chunk-3ASOFJTM.js";
10
+ } from "./chunk-AY4LBM3J.js";
11
11
  import {
12
12
  TeamDeleted
13
- } from "./chunk-FVUPBXPH.js";
13
+ } from "./chunk-N7ABINT7.js";
14
14
 
15
15
  // src/util/get-scope.ts
16
16
  async function getScope(client, opts = {}) {