vercel 58.0.0 → 58.3.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 (108) hide show
  1. package/dist/chunks/{add-E4KH6P4A.js → add-3RKTVRL7.js} +10 -8
  2. package/dist/chunks/{add-7PPD4ZUJ.js → add-X634O3US.js} +14 -9
  3. package/dist/chunks/add-YTFWON7N.js +187 -0
  4. package/dist/chunks/build-DJIDUWYB.js +243 -0
  5. package/dist/chunks/{chunk-DWMH5M4Q.js → chunk-2SFMOCWR.js} +1 -1
  6. package/dist/chunks/{chunk-3PKFXNJZ.js → chunk-3KNPVXJ3.js} +7 -5
  7. package/dist/chunks/chunk-3ZE5CFVM.js +346 -0
  8. package/dist/chunks/{chunk-FHEMFAHB.js → chunk-4LDQIDRM.js} +15 -9
  9. package/dist/chunks/{chunk-R5FOIIHT.js → chunk-4N7XLXM2.js} +2 -2
  10. package/dist/chunks/{chunk-KCF6S3XF.js → chunk-4UYKSYKQ.js} +10 -6
  11. package/dist/chunks/{chunk-AZTV7WPZ.js → chunk-5YXUTGSY.js} +1 -1
  12. package/dist/chunks/{chunk-MDQJLTGN.js → chunk-752Z4JQP.js} +1 -1
  13. package/dist/chunks/{chunk-OGG6UBXK.js → chunk-7QVJTI5H.js} +1 -1
  14. package/dist/chunks/{chunk-FYQPTH5C.js → chunk-A5KP5HAI.js} +7 -5
  15. package/dist/chunks/{chunk-3VS4DTAU.js → chunk-AW5YINX6.js} +106 -12
  16. package/dist/chunks/{chunk-BYQQLGCT.js → chunk-AZNCOIGT.js} +2 -2
  17. package/dist/chunks/{chunk-GIL3VAUR.js → chunk-B3JTF4CF.js} +5 -3
  18. package/dist/chunks/{chunk-4QVAYRYH.js → chunk-BEQV3X2L.js} +16 -1
  19. package/dist/chunks/{chunk-TPX7RZBM.js → chunk-BM5FP7VW.js} +9 -5
  20. package/dist/chunks/{chunk-WDE2EDYX.js → chunk-C33L5ZKY.js} +4 -4
  21. package/dist/chunks/{chunk-VUESC3YO.js → chunk-C6BDHNNF.js} +207 -4
  22. package/dist/chunks/{chunk-4G6QZSBL.js → chunk-CSJBZKC5.js} +6 -4
  23. package/dist/chunks/{chunk-TEWJ7TIW.js → chunk-D3EEVTWR.js} +2 -2
  24. package/dist/chunks/{chunk-3PGXYIKC.js → chunk-EBLH23AQ.js} +2 -2
  25. package/dist/chunks/{chunk-YA3WQFLY.js → chunk-GFG6QDIE.js} +1 -1
  26. package/dist/chunks/{chunk-FB4UFWEC.js → chunk-IH5JOYGQ.js} +4 -4
  27. package/dist/chunks/chunk-J6LK45HT.js +163 -0
  28. package/dist/chunks/{chunk-FYR7WEUJ.js → chunk-JID5CRQL.js} +3 -3
  29. package/dist/chunks/{chunk-ZVLPUREX.js → chunk-JLWQWYKO.js} +2 -2
  30. package/dist/chunks/{chunk-SZXT3PDQ.js → chunk-KBEX5MYS.js} +1 -136
  31. package/dist/chunks/{chunk-NZRWTCRM.js → chunk-KT4XXKJK.js} +1 -1
  32. package/dist/chunks/{chunk-VZSZBD4V.js → chunk-M22O6CYY.js} +1 -1
  33. package/dist/chunks/{chunk-2MJROFVC.js → chunk-MAHXF73X.js} +8 -5
  34. package/dist/chunks/{chunk-YZMZCQP3.js → chunk-MTW6MVY7.js} +10 -8
  35. package/dist/chunks/{chunk-ZMVFTCQF.js → chunk-NVSQ6KXI.js} +1 -1
  36. package/dist/chunks/{chunk-LHFNIZ2P.js → chunk-O5GNPPTU.js} +4 -2
  37. package/dist/chunks/{chunk-KGVT2RSG.js → chunk-OTQD3MHJ.js} +5 -11
  38. package/dist/chunks/{chunk-RSCSALZH.js → chunk-PNXQB4IO.js} +6 -5
  39. package/dist/chunks/{chunk-L4WYMJB3.js → chunk-QZV24TDR.js} +28 -12
  40. package/dist/chunks/chunk-RBIFXFZX.js +52 -0
  41. package/dist/chunks/{chunk-OF2GNB42.js → chunk-RQ7H43CJ.js} +1 -1
  42. package/dist/chunks/{chunk-EA22NMFU.js → chunk-RUOBMMEA.js} +2 -2
  43. package/dist/chunks/{chunk-KSSNLCL4.js → chunk-SOFC4MLS.js} +2 -2
  44. package/dist/chunks/{chunk-R54DAHCL.js → chunk-UDDCOV62.js} +2 -2
  45. package/dist/chunks/{chunk-OQGN4TEC.js → chunk-UJNNTGJY.js} +3 -3
  46. package/dist/chunks/{chunk-DGFASMSE.js → chunk-UQJMDWCY.js} +7 -5
  47. package/dist/chunks/{chunk-B2MTCHPO.js → chunk-WXJ6E3MY.js} +6 -4
  48. package/dist/chunks/{chunk-QZD5DKUR.js → chunk-XIG4GH62.js} +2 -2
  49. package/dist/chunks/chunk-XLKFJPMT.js +150 -0
  50. package/dist/chunks/{chunk-UDWRZXIT.js → chunk-Z5ZQJ5VJ.js} +15 -14
  51. package/dist/chunks/{chunk-WANVKOVB.js → chunk-ZPH66MB6.js} +808 -538
  52. package/dist/chunks/{chunk-DMSLNAVH.js → chunk-ZX2FSPWV.js} +2 -2
  53. package/dist/chunks/clear-J3OCB2DQ.js +132 -0
  54. package/dist/chunks/{compile-vercel-config-G2IVBXEI.js → compile-vercel-config-G2WILJR4.js} +5 -4
  55. package/dist/chunks/{delete-2EIVGM6P.js → delete-3NQLU7PQ.js} +7 -6
  56. package/dist/chunks/{delete-E6ZQNE5X.js → delete-HKUZTZE7.js} +7 -6
  57. package/dist/chunks/{disable-M3Q6BBB7.js → disable-7AIA4JV3.js} +7 -6
  58. package/dist/chunks/{discard-3R6ETBPS.js → discard-MIGUGPGO.js} +7 -6
  59. package/dist/chunks/{edit-7JUDPVXD.js → edit-3AU746TG.js} +8 -7
  60. package/dist/chunks/{edit-ICVMGRRU.js → edit-MDQW3S4R.js} +7 -6
  61. package/dist/chunks/{enable-HLTA35QL.js → enable-EGNWRQEI.js} +7 -6
  62. package/dist/chunks/{export-E6XZUFW3.js → export-EMBHNUMU.js} +7 -6
  63. package/dist/chunks/{image-SIRPPQZT.js → image-XXZ5DRIW.js} +5 -5
  64. package/dist/chunks/{inspect-6TQWDIBG.js → inspect-7V5ZHBBB.js} +13 -11
  65. package/dist/chunks/{inspect-65YX7L3O.js → inspect-MYUNZMLJ.js} +14 -12
  66. package/dist/chunks/{inspect-NFOURIGN.js → inspect-O7SVDBHM.js} +16 -13
  67. package/dist/chunks/{inspect-OEWWGAHZ.js → inspect-S5WJ47OH.js} +8 -7
  68. package/dist/chunks/{inspect-4FYBOOM5.js → inspect-TXVTHRAZ.js} +14 -12
  69. package/dist/chunks/{list-APFMKZJO.js → list-BQLJJACX.js} +13 -11
  70. package/dist/chunks/{list-27DCGMBI.js → list-LC2ON7OM.js} +8 -6
  71. package/dist/chunks/{list-XQCZVLES.js → list-NZ4ZOO6B.js} +8 -7
  72. package/dist/chunks/{login-FMU4CQOV.js → login-4B7KPSUW.js} +22 -51
  73. package/dist/chunks/ls-4J2WGR7U.js +178 -0
  74. package/dist/chunks/{ls-BFACWH6C.js → ls-7XMM4KCU.js} +17 -14
  75. package/dist/chunks/{ls-24BRCAZR.js → ls-FRSKR6K2.js} +15 -13
  76. package/dist/chunks/{ls-3L6EN4YU.js → ls-TWNQ7KZN.js} +13 -11
  77. package/dist/chunks/{ls-T5RGDBCV.js → ls-WCTLFAPI.js} +15 -13
  78. package/dist/chunks/{open-AG3VYJZM.js → open-J4SAVWUP.js} +7 -6
  79. package/dist/chunks/permissions-67T43WNH.js +95 -0
  80. package/dist/chunks/{publish-5OVCPS4J.js → publish-CSXOTJLD.js} +7 -6
  81. package/dist/chunks/push-7KOVRV5N.js +183 -0
  82. package/dist/chunks/{query-QS4VKBXJ.js → query-CTRPYYXR.js} +12 -10
  83. package/dist/chunks/{reorder-B5V2P7YM.js → reorder-E4PPJNEX.js} +7 -6
  84. package/dist/chunks/{reply-JBLWE6RS.js → reply-Z742BMF3.js} +7 -6
  85. package/dist/chunks/{resolve-2I6XH2G3.js → resolve-KPZJZ6IQ.js} +7 -6
  86. package/dist/chunks/{restore-O63FZXCL.js → restore-ZTH2FY4I.js} +7 -6
  87. package/dist/chunks/{rm-P3NJSCMY.js → rm-C4ODJDWP.js} +12 -8
  88. package/dist/chunks/{rm-N7W3QYWZ.js → rm-DE37CFKU.js} +15 -10
  89. package/dist/chunks/{rm-HUED5R3Q.js → rm-FVGLSIHP.js} +10 -8
  90. package/dist/chunks/rm-VOFJM4XW.js +186 -0
  91. package/dist/chunks/{rule-inspect-M3QUSPU2.js → rule-inspect-6RLS3ZNB.js} +13 -11
  92. package/dist/chunks/{rules-NSSWPJ2B.js → rules-VSXJT2QE.js} +8 -8
  93. package/dist/chunks/{schema-G2PAXPVA.js → schema-3E24G2AG.js} +11 -9
  94. package/dist/chunks/{tags-JFMO63D4.js → tags-AIZLNITP.js} +4 -4
  95. package/dist/chunks/{types-QKLIFDDP.js → types-QTOA2BTQ.js} +7 -5
  96. package/dist/chunks/{update-VJCKD6YG.js → update-QHWT7YG4.js} +10 -8
  97. package/dist/commands/build/index.js +15 -19
  98. package/dist/commands/deploy/index.js +33 -25
  99. package/dist/commands/dev/index.js +85 -17
  100. package/dist/commands/env/index.js +32 -24
  101. package/dist/commands/link/index.js +25 -22
  102. package/dist/commands/list/index.js +16 -9
  103. package/dist/commands-bulk.js +4171 -2411
  104. package/dist/help.js +1 -1
  105. package/dist/index.js +38 -34
  106. package/dist/version.mjs +1 -1
  107. package/package.json +43 -94
  108. package/dist/chunks/chunk-6OMC3HOW.js +0 -73
@@ -19,12 +19,12 @@ import {
19
19
  require_lib,
20
20
  require_minimatch,
21
21
  require_pluralize
22
- } from "./chunk-TPX7RZBM.js";
22
+ } from "./chunk-BM5FP7VW.js";
23
23
  import {
24
24
  CantParseJSONFile,
25
25
  cmd,
26
26
  code
27
- } from "./chunk-KSSNLCL4.js";
27
+ } from "./chunk-SOFC4MLS.js";
28
28
  import {
29
29
  pkg_default
30
30
  } from "./chunk-P4QNYOFB.js";
@@ -11105,8 +11105,8 @@ var builderPins;
11105
11105
  function getBuilderPins() {
11106
11106
  if (!builderPins) {
11107
11107
  builderPins = /* @__PURE__ */ new Map();
11108
- const peerDependencies = pkg_default.peerDependencies ?? {};
11109
- for (const [name, version2] of Object.entries(peerDependencies)) {
11108
+ const pins = pkg_default.builders ?? {};
11109
+ for (const [name, version2] of Object.entries(pins)) {
11110
11110
  if ((0, import_semver2.validRange)(version2)) {
11111
11111
  builderPins.set(name, version2);
11112
11112
  }
@@ -0,0 +1,163 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __dirname_ } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __dirname_(__filename);
7
+ import {
8
+ formatOption,
9
+ limitOption,
10
+ packageName,
11
+ projectOption,
12
+ yesOption
13
+ } from "./chunk-SOFC4MLS.js";
14
+
15
+ // src/commands/vcr/permissions/command.ts
16
+ var PERMISSIONS_ACTIONS = {
17
+ ls: ["ls", "list"],
18
+ add: ["add"],
19
+ rm: ["rm", "remove"],
20
+ clear: ["clear"]
21
+ };
22
+ var projectScopeOption = {
23
+ ...projectOption,
24
+ shorthand: "p",
25
+ description: "Project name or ID (defaults to the linked project)."
26
+ };
27
+ var cursorOption = {
28
+ name: "cursor",
29
+ shorthand: "c",
30
+ type: String,
31
+ deprecated: false,
32
+ description: "Cursor from a previous page to continue listing from",
33
+ argument: "STRING"
34
+ };
35
+ var permissionsLsSubcommand = {
36
+ name: "ls",
37
+ aliases: ["list"],
38
+ description: "List teams with access to a repository",
39
+ arguments: [],
40
+ options: [projectScopeOption, limitOption, cursorOption, formatOption],
41
+ examples: [
42
+ {
43
+ name: "List teams with access to a repository",
44
+ value: `${packageName} vcr permissions my-app ls`
45
+ },
46
+ {
47
+ name: "List teams with access as JSON",
48
+ value: `${packageName} vcr permissions my-app ls --format json`
49
+ }
50
+ ]
51
+ };
52
+ var permissionsAddSubcommand = {
53
+ name: "add",
54
+ aliases: [],
55
+ description: "Give one or more teams access to pull images from a repository",
56
+ arguments: [
57
+ {
58
+ name: "team",
59
+ required: true,
60
+ multiple: true
61
+ }
62
+ ],
63
+ options: [projectScopeOption, formatOption],
64
+ examples: [
65
+ {
66
+ name: "Share a repository with a team by id",
67
+ value: `${packageName} vcr permissions my-app add team_1a2b3c4d`
68
+ },
69
+ {
70
+ name: "Share a repository with a team by slug",
71
+ value: `${packageName} vcr permissions my-app add my-team`
72
+ },
73
+ {
74
+ name: "Share a repository with multiple teams",
75
+ value: `${packageName} vcr permissions my-app add team_1a2b3c4d,other-team`
76
+ }
77
+ ]
78
+ };
79
+ var permissionsRmSubcommand = {
80
+ name: "rm",
81
+ aliases: ["remove"],
82
+ description: "Remove one or more teams' access to a repository",
83
+ arguments: [
84
+ {
85
+ name: "team",
86
+ required: true,
87
+ multiple: true
88
+ }
89
+ ],
90
+ options: [projectScopeOption, formatOption],
91
+ examples: [
92
+ {
93
+ name: "Remove a team's access by id",
94
+ value: `${packageName} vcr permissions my-app rm team_1a2b3c4d`
95
+ },
96
+ {
97
+ name: "Remove multiple teams' access",
98
+ value: `${packageName} vcr permissions my-app rm team_1a2b3c4d,other-team`
99
+ }
100
+ ]
101
+ };
102
+ var permissionsClearSubcommand = {
103
+ name: "clear",
104
+ aliases: [],
105
+ description: "Remove access to a repository for every team",
106
+ arguments: [],
107
+ options: [projectScopeOption, yesOption, formatOption],
108
+ examples: [
109
+ {
110
+ name: "Clear all repository permissions",
111
+ value: `${packageName} vcr permissions my-app clear`
112
+ },
113
+ {
114
+ name: "Clear all repository permissions without the confirmation prompt",
115
+ value: `${packageName} vcr permissions my-app clear --yes`
116
+ }
117
+ ]
118
+ };
119
+ var permissionsAggregateCommand = {
120
+ name: "permissions",
121
+ aliases: ["permission"],
122
+ description: "Manage which teams can pull images from a container registry repository",
123
+ arguments: [
124
+ {
125
+ name: "repository",
126
+ required: true
127
+ }
128
+ ],
129
+ subcommands: [
130
+ permissionsLsSubcommand,
131
+ permissionsAddSubcommand,
132
+ permissionsRmSubcommand,
133
+ permissionsClearSubcommand
134
+ ],
135
+ options: [],
136
+ examples: [
137
+ {
138
+ name: "List teams with access to a repository",
139
+ value: `${packageName} vcr permissions my-app ls`
140
+ },
141
+ {
142
+ name: "Share a repository with a team",
143
+ value: `${packageName} vcr permissions my-app add team_1a2b3c4d`
144
+ },
145
+ {
146
+ name: "Remove a team's access to a repository",
147
+ value: `${packageName} vcr permissions my-app rm team_1a2b3c4d`
148
+ },
149
+ {
150
+ name: "Clear all repository permissions",
151
+ value: `${packageName} vcr permissions my-app clear`
152
+ }
153
+ ]
154
+ };
155
+
156
+ export {
157
+ PERMISSIONS_ACTIONS,
158
+ permissionsLsSubcommand,
159
+ permissionsAddSubcommand,
160
+ permissionsRmSubcommand,
161
+ permissionsClearSubcommand,
162
+ permissionsAggregateCommand
163
+ };
@@ -11,16 +11,16 @@ import {
11
11
  getLinkedProject,
12
12
  getProjectByNameOrId,
13
13
  getScope
14
- } from "./chunk-TPX7RZBM.js";
14
+ } from "./chunk-BM5FP7VW.js";
15
15
  import {
16
16
  AGENT_REASON,
17
17
  buildCommandWithGlobalFlags,
18
18
  outputAgentError
19
- } from "./chunk-UDWRZXIT.js";
19
+ } from "./chunk-Z5ZQJ5VJ.js";
20
20
  import {
21
21
  ProjectNotFound,
22
22
  isAPIError
23
- } from "./chunk-KSSNLCL4.js";
23
+ } from "./chunk-SOFC4MLS.js";
24
24
 
25
25
  // src/commands/alerts/resolve-alerts-scope.ts
26
26
  function emitAlertsScopeError(client, jsonOutput, code, message, agent) {
@@ -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-NZRWTCRM.js";
9
+ } from "./chunk-KT4XXKJK.js";
10
10
  import {
11
11
  require_strip_ansi
12
- } from "./chunk-SZXT3PDQ.js";
12
+ } from "./chunk-KBEX5MYS.js";
13
13
  import {
14
14
  require_source
15
15
  } from "./chunk-S7KYDPEM.js";
@@ -5,11 +5,10 @@ const require = __createRequire(import.meta.url);
5
5
  const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
- arg_common_default,
9
8
  getCommandName,
10
9
  parseRetryAfterHeaderAsMillis,
11
10
  require_bytes
12
- } from "./chunk-KSSNLCL4.js";
11
+ } from "./chunk-SOFC4MLS.js";
13
12
  import {
14
13
  output_manager_default
15
14
  } from "./chunk-OX7KI3LF.js";
@@ -21,119 +20,6 @@ import {
21
20
  __toESM
22
21
  } from "./chunk-TZ2YI2VH.js";
23
22
 
24
- // ../../node_modules/.pnpm/arg@5.0.0/node_modules/arg/index.js
25
- var require_arg = __commonJS({
26
- "../../node_modules/.pnpm/arg@5.0.0/node_modules/arg/index.js"(exports, module) {
27
- var flagSymbol = Symbol("arg flag");
28
- var ArgError = class _ArgError extends Error {
29
- constructor(msg, code) {
30
- super(msg);
31
- this.name = "ArgError";
32
- this.code = code;
33
- Object.setPrototypeOf(this, _ArgError.prototype);
34
- }
35
- };
36
- function arg2(opts, { argv = process.argv.slice(2), permissive = false, stopAtPositional = false } = {}) {
37
- if (!opts) {
38
- throw new ArgError("argument specification object is required", "ARG_CONFIG_NO_SPEC");
39
- }
40
- const result = { _: [] };
41
- const aliases = {};
42
- const handlers = {};
43
- for (const key of Object.keys(opts)) {
44
- if (!key) {
45
- throw new ArgError("argument key cannot be an empty string", "ARG_CONFIG_EMPTY_KEY");
46
- }
47
- if (key[0] !== "-") {
48
- throw new ArgError(`argument key must start with '-' but found: '${key}'`, "ARG_CONFIG_NONOPT_KEY");
49
- }
50
- if (key.length === 1) {
51
- throw new ArgError(`argument key must have a name; singular '-' keys are not allowed: ${key}`, "ARG_CONFIG_NONAME_KEY");
52
- }
53
- if (typeof opts[key] === "string") {
54
- aliases[key] = opts[key];
55
- continue;
56
- }
57
- let type = opts[key];
58
- let isFlag = false;
59
- if (Array.isArray(type) && type.length === 1 && typeof type[0] === "function") {
60
- const [fn] = type;
61
- type = (value, name, prev = []) => {
62
- prev.push(fn(value, name, prev[prev.length - 1]));
63
- return prev;
64
- };
65
- isFlag = fn === Boolean || fn[flagSymbol] === true;
66
- } else if (typeof type === "function") {
67
- isFlag = type === Boolean || type[flagSymbol] === true;
68
- } else {
69
- throw new ArgError(`type missing or not a function or valid array type: ${key}`, "ARG_CONFIG_VAD_TYPE");
70
- }
71
- if (key[1] !== "-" && key.length > 2) {
72
- throw new ArgError(`short argument keys (with a single hyphen) must have only one character: ${key}`, "ARG_CONFIG_SHORTOPT_TOOLONG");
73
- }
74
- handlers[key] = [type, isFlag];
75
- }
76
- for (let i = 0, len = argv.length; i < len; i++) {
77
- const wholeArg = argv[i];
78
- if (stopAtPositional && result._.length > 0) {
79
- result._ = result._.concat(argv.slice(i));
80
- break;
81
- }
82
- if (wholeArg === "--") {
83
- result._ = result._.concat(argv.slice(i + 1));
84
- break;
85
- }
86
- if (wholeArg.length > 1 && wholeArg[0] === "-") {
87
- const separatedArguments = wholeArg[1] === "-" || wholeArg.length === 2 ? [wholeArg] : wholeArg.slice(1).split("").map((a) => `-${a}`);
88
- for (let j = 0; j < separatedArguments.length; j++) {
89
- const arg3 = separatedArguments[j];
90
- const [originalArgName, argStr] = arg3[1] === "-" ? arg3.split(/=(.*)/, 2) : [arg3, void 0];
91
- let argName = originalArgName;
92
- while (argName in aliases) {
93
- argName = aliases[argName];
94
- }
95
- if (!(argName in handlers)) {
96
- if (permissive) {
97
- result._.push(arg3);
98
- continue;
99
- } else {
100
- throw new ArgError(`unknown or unexpected option: ${originalArgName}`, "ARG_UNKNOWN_OPTION");
101
- }
102
- }
103
- const [type, isFlag] = handlers[argName];
104
- if (!isFlag && j + 1 < separatedArguments.length) {
105
- throw new ArgError(`option requires argument (but was followed by another short argument): ${originalArgName}`, "ARG_MISSING_REQUIRED_SHORTARG");
106
- }
107
- if (isFlag) {
108
- result[argName] = type(true, argName, result[argName]);
109
- } else if (argStr === void 0) {
110
- if (argv.length < i + 2 || argv[i + 1].length > 1 && argv[i + 1][0] === "-" && !(argv[i + 1].match(/^-?\d*(\.(?=\d))?\d*$/) && (type === Number || // eslint-disable-next-line no-undef
111
- typeof BigInt !== "undefined" && type === BigInt))) {
112
- const extended = originalArgName === argName ? "" : ` (alias for ${argName})`;
113
- throw new ArgError(`option requires argument: ${originalArgName}${extended}`, "ARG_MISSING_REQUIRED_LONGARG");
114
- }
115
- result[argName] = type(argv[i + 1], argName, result[argName]);
116
- ++i;
117
- } else {
118
- result[argName] = type(argStr, argName, result[argName]);
119
- }
120
- }
121
- } else {
122
- result._.push(wholeArg);
123
- }
124
- }
125
- return result;
126
- }
127
- arg2.flag = (fn) => {
128
- fn[flagSymbol] = true;
129
- return fn;
130
- };
131
- arg2.COUNT = arg2.flag((v, name, existingCount) => (existingCount || 0) + 1);
132
- arg2.ArgError = ArgError;
133
- module.exports = arg2;
134
- }
135
- });
136
-
137
23
  // ../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js
138
24
  var require_ansi_regex = __commonJS({
139
25
  "../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js"(exports, module) {
@@ -237,25 +123,6 @@ var require_string_width = __commonJS({
237
123
  }
238
124
  });
239
125
 
240
- // src/util/get-args.ts
241
- var import_arg = __toESM(require_arg(), 1);
242
- function getArgs(argv, argsOptions, argOptions = {}) {
243
- return (0, import_arg.default)(Object.assign({}, arg_common_default(), argsOptions), {
244
- ...argOptions,
245
- argv
246
- });
247
- }
248
- function parseArguments(args, flagsSpecification, parserOptions = {}) {
249
- const { _: positional, ...rest } = (0, import_arg.default)(
250
- Object.assign({}, arg_common_default(), flagsSpecification),
251
- {
252
- ...parserOptions,
253
- argv: args
254
- }
255
- );
256
- return { args: positional, flags: rest };
257
- }
258
-
259
126
  // src/util/output/error.ts
260
127
  var import_chalk = __toESM(require_source(), 1);
261
128
 
@@ -333,8 +200,6 @@ function printError(error2) {
333
200
  }
334
201
 
335
202
  export {
336
- getArgs,
337
- parseArguments,
338
203
  require_strip_ansi,
339
204
  require_string_width,
340
205
  responseError,
@@ -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-SZXT3PDQ.js";
9
+ } from "./chunk-KBEX5MYS.js";
10
10
  import {
11
11
  __commonJS,
12
12
  __require,
@@ -8,7 +8,7 @@ import {
8
8
  packageName,
9
9
  projectOption,
10
10
  yesOption
11
- } from "./chunk-KSSNLCL4.js";
11
+ } from "./chunk-SOFC4MLS.js";
12
12
 
13
13
  // src/commands/routes/command.ts
14
14
  var listSubcommand = {
@@ -6,13 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  rulesAggregateCommand
9
- } from "./chunk-KCF6S3XF.js";
9
+ } from "./chunk-4UYKSYKQ.js";
10
10
  import {
11
11
  formatOption,
12
+ jsonOption,
12
13
  limitOption,
13
14
  packageName,
14
15
  projectOption
15
- } from "./chunk-KSSNLCL4.js";
16
+ } from "./chunk-SOFC4MLS.js";
16
17
 
17
18
  // src/commands/alerts/command.ts
18
19
  var listSubcommand = {
@@ -37,6 +38,7 @@ var inspectSubcommand = {
37
38
  ],
38
39
  options: [
39
40
  formatOption,
41
+ jsonOption,
40
42
  {
41
43
  ...projectOption,
42
44
  shorthand: "p",
@@ -57,7 +59,7 @@ var inspectSubcommand = {
57
59
  },
58
60
  {
59
61
  name: "Inspect as JSON",
60
- value: `${packageName} alerts inspect grp_abc123 --format json`
62
+ value: `${packageName} alerts inspect grp_abc123 --json`
61
63
  }
62
64
  ]
63
65
  };
@@ -112,7 +114,8 @@ var alertsCommand = {
112
114
  description: "End of time range (ISO-8601). Defaults to now."
113
115
  },
114
116
  limitOption,
115
- formatOption
117
+ formatOption,
118
+ jsonOption
116
119
  ],
117
120
  examples: [
118
121
  {
@@ -133,7 +136,7 @@ var alertsCommand = {
133
136
  },
134
137
  {
135
138
  name: "Output JSON",
136
- value: `${packageName} alerts --format json`
139
+ value: `${packageName} alerts --json`
137
140
  },
138
141
  {
139
142
  name: "Custom time range",
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  writeProjectSettings
9
- } from "./chunk-AZTV7WPZ.js";
9
+ } from "./chunk-5YXUTGSY.js";
10
10
  import {
11
11
  autoInstallVercelPlugin
12
12
  } from "./chunk-NJUPUGOE.js";
@@ -15,30 +15,32 @@ import {
15
15
  } from "./chunk-64IF634X.js";
16
16
  import {
17
17
  ensureLink
18
- } from "./chunk-WDE2EDYX.js";
18
+ } from "./chunk-C33L5ZKY.js";
19
19
  import {
20
20
  pullCommand
21
- } from "./chunk-EA22NMFU.js";
21
+ } from "./chunk-RUOBMMEA.js";
22
22
  import {
23
23
  help
24
- } from "./chunk-DMSLNAVH.js";
24
+ } from "./chunk-ZX2FSPWV.js";
25
25
  import {
26
26
  VERCEL_DIR,
27
27
  VERCEL_DIR_PROJECT,
28
28
  envPullCommandLogic,
29
29
  humanizePath,
30
30
  parseTarget
31
- } from "./chunk-TPX7RZBM.js";
31
+ } from "./chunk-BM5FP7VW.js";
32
32
  import {
33
33
  TelemetryClient
34
34
  } from "./chunk-ECCWJHC6.js";
35
35
  import {
36
- parseArguments,
37
36
  printError
38
- } from "./chunk-SZXT3PDQ.js";
37
+ } from "./chunk-KBEX5MYS.js";
38
+ import {
39
+ parseArguments
40
+ } from "./chunk-XLKFJPMT.js";
39
41
  import {
40
42
  getFlagsSpecification
41
- } from "./chunk-KSSNLCL4.js";
43
+ } from "./chunk-SOFC4MLS.js";
42
44
  import {
43
45
  emoji,
44
46
  output_manager_default,
@@ -8,7 +8,7 @@ import {
8
8
  formatCondition,
9
9
  formatTransform,
10
10
  isTargetTransform
11
- } from "./chunk-DGFASMSE.js";
11
+ } from "./chunk-UQJMDWCY.js";
12
12
  import {
13
13
  output_manager_default
14
14
  } from "./chunk-OX7KI3LF.js";
@@ -8,11 +8,12 @@ import {
8
8
  allOption,
9
9
  confirmOption,
10
10
  formatOption,
11
+ jsonOption,
11
12
  limitOption,
12
13
  nextOption,
13
14
  packageName,
14
15
  yesOption
15
- } from "./chunk-KSSNLCL4.js";
16
+ } from "./chunk-SOFC4MLS.js";
16
17
 
17
18
  // src/commands/list/command.ts
18
19
  var listCommand = {
@@ -65,7 +66,8 @@ var listCommand = {
65
66
  { name: "prod", shorthand: null, type: Boolean, deprecated: false },
66
67
  yesOption,
67
68
  confirmOption,
68
- formatOption
69
+ formatOption,
70
+ jsonOption
69
71
  ],
70
72
  examples: [
71
73
  {
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-V4RMJKQP.js";
11
11
  import {
12
12
  table
13
- } from "./chunk-NZRWTCRM.js";
13
+ } from "./chunk-KT4XXKJK.js";
14
14
  import {
15
15
  Separator,
16
16
  VERCEL_DIR_PROJECT,
@@ -46,15 +46,15 @@ import {
46
46
  selectAndParseRemoteUrl,
47
47
  selectOrg,
48
48
  writeServicesConfig
49
- } from "./chunk-TPX7RZBM.js";
49
+ } from "./chunk-BM5FP7VW.js";
50
50
  import {
51
51
  printError
52
- } from "./chunk-SZXT3PDQ.js";
52
+ } from "./chunk-KBEX5MYS.js";
53
53
  import {
54
54
  CantParseJSONFile,
55
55
  ProjectNotFound,
56
56
  isAPIError
57
- } from "./chunk-KSSNLCL4.js";
57
+ } from "./chunk-SOFC4MLS.js";
58
58
  import {
59
59
  output_manager_default
60
60
  } from "./chunk-OX7KI3LF.js";
@@ -1378,13 +1378,7 @@ async function setupAndLink(client, path2, {
1378
1378
  }
1379
1379
  }
1380
1380
  }
1381
- let changeAdditionalSettings = false;
1382
- if (!autoConfirm) {
1383
- changeAdditionalSettings = await client.input.confirm(
1384
- "Customize advanced settings?",
1385
- false
1386
- );
1387
- }
1381
+ const changeAdditionalSettings = false;
1388
1382
  let vercelAuthSetting = DEFAULT_VERCEL_AUTH_SETTING;
1389
1383
  if (changeAdditionalSettings) {
1390
1384
  vercelAuthSetting = await vercelAuth(client, {
@@ -13,13 +13,13 @@ import {
13
13
  progress,
14
14
  require_dist as require_dist2,
15
15
  sleep
16
- } from "./chunk-B2MTCHPO.js";
16
+ } from "./chunk-WXJ6E3MY.js";
17
17
  import {
18
18
  suggestNextCommands
19
19
  } from "./chunk-XBN2O34P.js";
20
20
  import {
21
21
  CommandTimeout
22
- } from "./chunk-WANVKOVB.js";
22
+ } from "./chunk-ZPH66MB6.js";
23
23
  import {
24
24
  showPluginTipIfNeeded
25
25
  } from "./chunk-NJUPUGOE.js";
@@ -36,11 +36,11 @@ import {
36
36
  require_dist as require_dist3,
37
37
  require_pluralize,
38
38
  ua_default
39
- } from "./chunk-TPX7RZBM.js";
39
+ } from "./chunk-BM5FP7VW.js";
40
40
  import {
41
41
  require_strip_ansi,
42
42
  responseError
43
- } from "./chunk-SZXT3PDQ.js";
43
+ } from "./chunk-KBEX5MYS.js";
44
44
  import {
45
45
  APIError,
46
46
  BuildError,
@@ -58,7 +58,7 @@ import {
58
58
  getCommandName,
59
59
  isAPIError,
60
60
  require_bytes
61
- } from "./chunk-KSSNLCL4.js";
61
+ } from "./chunk-SOFC4MLS.js";
62
62
  import {
63
63
  Headers,
64
64
  fetch,
@@ -2083,6 +2083,7 @@ ${import_chalk6.default.green("\u2713")} ${import_chalk6.default.bold("Ready")}
2083
2083
  output_manager_default.print("\n");
2084
2084
  suggestNextCommands(
2085
2085
  [
2086
+ readyState === "READY" ? getCommandName(`curl https://${url}`) : false,
2086
2087
  getCommandName(`inspect ${url} --logs`),
2087
2088
  getCommandName(`redeploy ${url}`),
2088
2089
  target !== "production" ? getCommandName(`deploy --prod`) : false