vercel 59.4.0 → 59.6.2
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.
- package/dist/chunks/{add-FQMB3XPM.js → add-4GQZ22ZN.js} +20 -16
- package/dist/chunks/{add-73X2SKBH.js → add-HJSEM4YJ.js} +17 -13
- package/dist/chunks/{add-QJ3WT4FW.js → add-SIGUSM3Y.js} +21 -17
- package/dist/chunks/{build-YUYCLCXD.js → build-XOMJDX4M.js} +18 -15
- package/dist/chunks/{chunk-F7OXZLY2.js → chunk-26XDDLXM.js} +2 -2
- package/dist/chunks/{chunk-VCE6QKFE.js → chunk-2O5J3KMT.js} +4 -4
- package/dist/chunks/{chunk-XI6NJLI4.js → chunk-2YRAWYGE.js} +3 -3
- package/dist/chunks/{chunk-X6O6XJEA.js → chunk-37V5P4VO.js} +16 -14
- package/dist/chunks/{chunk-EB7NJKPL.js → chunk-3F5EGINT.js} +3 -3
- package/dist/chunks/{chunk-RIB4S2IB.js → chunk-3HZLXCVL.js} +1 -1
- package/dist/chunks/{chunk-KQRVZWJU.js → chunk-3T7WSWZH.js} +1 -1
- package/dist/chunks/{chunk-3KNPVXJ3.js → chunk-4KD5BYHB.js} +1 -1
- package/dist/chunks/{chunk-XLKFJPMT.js → chunk-57RHXXXG.js} +1 -1
- package/dist/chunks/chunk-5GGUB4EO.js +31 -0
- package/dist/chunks/{chunk-R6IGDGX3.js → chunk-5XECIWME.js} +1 -1
- package/dist/chunks/{chunk-KAYSW4CJ.js → chunk-6JPVTPTU.js} +3 -3
- package/dist/chunks/{chunk-ZFWNMVNR.js → chunk-6M2KZUED.js} +19 -8
- package/dist/chunks/{chunk-HT2XWSAJ.js → chunk-7AEEQOD4.js} +2 -29
- package/dist/chunks/{chunk-HURL5EBN.js → chunk-7HE63HCR.js} +124 -161
- package/dist/chunks/chunk-7Q45OKWR.js +149 -0
- package/dist/chunks/{chunk-RI7KKKII.js → chunk-7R6M3BHM.js} +4 -18
- package/dist/chunks/{chunk-XBN2O34P.js → chunk-7ST552E3.js} +17 -4
- package/dist/chunks/{chunk-JKQWQA2T.js → chunk-AINIBIP4.js} +1 -1
- package/dist/chunks/{chunk-CV4S27SS.js → chunk-ASBP32T6.js} +1 -1
- package/dist/chunks/chunk-AYLY3ZVL.js +104 -0
- package/dist/chunks/{chunk-SOFC4MLS.js → chunk-BMKU5KEL.js} +9 -569
- package/dist/chunks/{chunk-KDYRLN6H.js → chunk-C5HKWXRR.js} +1 -1
- package/dist/chunks/{chunk-2MF3ZAVW.js → chunk-CJV7J7B5.js} +6 -6
- package/dist/chunks/{chunk-HJVTLJHO.js → chunk-DE7MBNHQ.js} +6 -6
- package/dist/chunks/{chunk-3L2YLLHC.js → chunk-DWIC7MRV.js} +2 -2
- package/dist/chunks/{chunk-GFCTRJI5.js → chunk-EZKW5YJ2.js} +1 -1
- package/dist/chunks/{chunk-MWYQ24FO.js → chunk-FRAXI2WT.js} +3 -3
- package/dist/chunks/{chunk-DDIZGOCK.js → chunk-FRZULOVH.js} +8 -6
- package/dist/chunks/{chunk-Y3J4VU2H.js → chunk-FWKSJYDV.js} +2 -2
- package/dist/chunks/chunk-FXD67VN5.js +467 -0
- package/dist/chunks/{chunk-EB5NBVTV.js → chunk-GISTGGBO.js} +8 -8
- package/dist/chunks/chunk-GY5I4AYD.js +122 -0
- package/dist/chunks/{chunk-PD4DYNSB.js → chunk-GZQQNLF5.js} +5 -5
- package/dist/chunks/{chunk-PIMIKY4X.js → chunk-IJ4X426J.js} +1 -1
- package/dist/chunks/{chunk-KSZ4MNHO.js → chunk-JH4WQRIU.js} +2 -2
- package/dist/chunks/{chunk-TVXCXIRO.js → chunk-L3UXB2CW.js} +1 -1
- package/dist/chunks/{chunk-O5DLWLT7.js → chunk-LXZVOR6F.js} +9 -9
- package/dist/chunks/{chunk-EG5BSAXD.js → chunk-MTWHQEXI.js} +1 -1
- package/dist/chunks/{chunk-WC7IINFV.js → chunk-NFU4XJIR.js} +1 -1
- package/dist/chunks/{chunk-TH2XUVDP.js → chunk-NGGLYKNU.js} +30 -6
- package/dist/chunks/{chunk-2PX6N4FE.js → chunk-NGNN6WF2.js} +10 -10
- package/dist/chunks/{chunk-GGPE5377.js → chunk-O26N2UPI.js} +1 -1
- package/dist/chunks/chunk-O75LSD3C.js +34 -0
- package/dist/chunks/{chunk-BBSS3XIW.js → chunk-OQ3C5VXZ.js} +1 -1
- package/dist/chunks/{chunk-M22O6CYY.js → chunk-POOO7W47.js} +1 -1
- package/dist/chunks/{chunk-LKTQR5JE.js → chunk-PRH6KRUT.js} +2 -2
- package/dist/chunks/chunk-Q2DGFCO7.js +579 -0
- package/dist/chunks/{chunk-OX7KI3LF.js → chunk-QFAS4OVW.js} +18 -0
- package/dist/chunks/{chunk-CHEZBD7H.js → chunk-R5PULMHT.js} +3 -3
- package/dist/chunks/{chunk-VAFU7DXZ.js → chunk-RKDCNQ4S.js} +1 -91
- package/dist/chunks/{chunk-BLYBHFIE.js → chunk-SF3AYAIF.js} +61 -24
- package/dist/chunks/{chunk-GMWRTZVZ.js → chunk-SLPSPYVR.js} +1 -1
- package/dist/chunks/{chunk-J5Y2QGGU.js → chunk-SWI6F4X3.js} +2 -2
- package/dist/chunks/chunk-V3MDDR2X.js +249 -0
- package/dist/chunks/{chunk-HMJVUXE6.js → chunk-VJ5NAOWB.js} +867 -625
- package/dist/chunks/{chunk-O5GNPPTU.js → chunk-VP5Y3SZG.js} +1 -1
- package/dist/chunks/{chunk-G75NFPIT.js → chunk-WNAKOXGK.js} +1 -1
- package/dist/chunks/{chunk-NP6BQPCN.js → chunk-WZ2S3A2A.js} +8 -6
- package/dist/chunks/{chunk-7QVJTI5H.js → chunk-XDGOOW3K.js} +1 -1
- package/dist/chunks/{chunk-UMA66MKW.js → chunk-XM3LOQIX.js} +1 -1
- package/dist/chunks/{chunk-CYNB6LL4.js → chunk-XNFHNTS2.js} +1 -1
- package/dist/chunks/{chunk-VDJN4WKH.js → chunk-XRWOTCDO.js} +1 -1
- package/dist/chunks/{chunk-UV2ZMFVG.js → chunk-YJKZQEHS.js} +2 -2
- package/dist/chunks/{chunk-STPH4Y62.js → chunk-YJUO3EKH.js} +1 -1
- package/dist/chunks/{chunk-Y42SPI2H.js → chunk-ZNMTDLYH.js} +6 -6
- package/dist/chunks/{chunk-VLPLCJZC.js → chunk-ZSFEACZU.js} +1 -1
- package/dist/chunks/{clear-USQM5VW5.js → clear-BWT2FJY4.js} +17 -13
- package/dist/chunks/{compile-vercel-config-2JNYMI6W.js → compile-vercel-config-DGM4NISW.js} +10 -7
- package/dist/chunks/{config-VTRIDLY4.js → config-NJAN3RMU.js} +20 -16
- package/dist/chunks/config-RSE6Z4LB.js +122 -0
- package/dist/chunks/{constants-YMCRE6IG.js → constants-WEQVJSYS.js} +1 -1
- package/dist/chunks/{delete-ILLSBCVQ.js → delete-LROBRBAH.js} +15 -11
- package/dist/chunks/{delete-VTPHK3EB.js → delete-SSL2PK2F.js} +12 -9
- package/dist/chunks/{disable-VTOMO64V.js → disable-ASG5JDZR.js} +12 -9
- package/dist/chunks/{discard-ZIOZ34ZI.js → discard-PV47B6IL.js} +12 -9
- package/dist/chunks/{edit-E3AMR4KM.js → edit-5ATYIOLX.js} +14 -11
- package/dist/chunks/{edit-JMZ5XWVW.js → edit-REI7HXGG.js} +16 -12
- package/dist/chunks/{enable-A4PMZ7QZ.js → enable-LZXL7XAG.js} +12 -9
- package/dist/chunks/{exec-CNBOV577.js → exec-XH4K34JM.js} +3 -3
- package/dist/chunks/{export-Y6AJ3WRZ.js → export-ZAZFQU2E.js} +12 -9
- package/dist/chunks/{image-26BKPAUB.js → image-QPHN5V7L.js} +7 -6
- package/dist/chunks/{import-builders-3H7J2SEK.js → import-builders-W3YE2V6A.js} +12 -9
- package/dist/chunks/{inspect-7DGKYHKW.js → inspect-BFGK72WY.js} +18 -14
- package/dist/chunks/{inspect-OEY4DJRI.js → inspect-FRXJRM6T.js} +18 -14
- package/dist/chunks/{inspect-ZW5N6O5P.js → inspect-RDMC2Z3Q.js} +17 -13
- package/dist/chunks/{inspect-GJFVAZIJ.js → inspect-SJEZVGPK.js} +20 -16
- package/dist/chunks/{inspect-N3E2PO6K.js → inspect-SSOM3FXS.js} +17 -13
- package/dist/chunks/{list-MIQ5D6PM.js → list-2HTR7Q3J.js} +18 -14
- package/dist/chunks/{list-2VTCNQEB.js → list-PHDUZVMR.js} +15 -11
- package/dist/chunks/{list-DTJBW7OQ.js → list-W33GXKDA.js} +18 -14
- package/dist/chunks/{login-L34UHAU5.js → login-JWAFHVDG.js} +30 -17
- package/dist/chunks/{ls-OBUDC4SB.js → ls-3AN2DZHN.js} +20 -15
- package/dist/chunks/{ls-SXJFBLUT.js → ls-3MH2OCP3.js} +20 -15
- package/dist/chunks/ls-D2POUHI7.js +176 -0
- package/dist/chunks/{ls-VDYUFSSC.js → ls-KDFU224B.js} +20 -15
- package/dist/chunks/{ls-OKO4IHWB.js → ls-KX2VBOGV.js} +18 -14
- package/dist/chunks/{ls-NCPQY4FV.js → ls-RWKNJQNT.js} +23 -18
- package/dist/chunks/{open-V5JDGXUP.js → open-IEYRB6RL.js} +15 -11
- package/dist/chunks/{permissions-6CPRPPBY.js → permissions-ZWZUMEHR.js} +10 -9
- package/dist/chunks/{publish-R27DPHFO.js → publish-UWZYBDHK.js} +12 -9
- package/dist/chunks/{push-VLVTBS42.js → push-IAEQ3FBF.js} +18 -15
- package/dist/chunks/{query-IVVRYMJN.js → query-NNOZYSED.js} +18 -14
- package/dist/chunks/{reorder-LJ2RBZM2.js → reorder-TKBM244W.js} +12 -9
- package/dist/chunks/{reply-USAISZYC.js → reply-FLBSBMTW.js} +16 -12
- package/dist/chunks/{resolve-CRCJYVS5.js → resolve-GJYPMWUE.js} +15 -11
- package/dist/chunks/{restore-6PBPEAMU.js → restore-PNI3TM3U.js} +12 -9
- package/dist/chunks/{rm-HHELZB7R.js → rm-76CSSSSV.js} +17 -13
- package/dist/chunks/{rm-TWU3JR6Z.js → rm-FN7LTIIL.js} +17 -13
- package/dist/chunks/{rm-KGOEOWVK.js → rm-FTE33UHE.js} +16 -12
- package/dist/chunks/rm-FXA5DLXQ.js +315 -0
- package/dist/chunks/{rm-EOD7RDSO.js → rm-PGJ4KR6U.js} +20 -16
- package/dist/chunks/{routes-SZI2G4SE.js → routes-2OLIBRYX.js} +3 -3
- package/dist/chunks/{rule-inspect-WFTVRK6B.js → rule-inspect-LJIGPTWS.js} +18 -14
- package/dist/chunks/{rules-AQYTFJI6.js → rules-6BMNO6M5.js} +11 -10
- package/dist/chunks/{schema-LUVFYPWN.js → schema-45SJNY5L.js} +9 -7
- package/dist/chunks/{schema-ZCDCJC7E.js → schema-HATXEQDP.js} +14 -11
- package/dist/chunks/set-C3UQUQ42.js +243 -0
- package/dist/chunks/{tags-RCNRFX7U.js → tags-BTVDROFG.js} +6 -5
- package/dist/chunks/{types-AJHILHO5.js → types-JGANJ5EQ.js} +12 -8
- package/dist/chunks/{update-I7QGAOYF.js → update-B6PSOHUW.js} +19 -15
- package/dist/commands/build/builder-worker.cjs +281 -0
- package/dist/commands/build/index.js +695 -236
- package/dist/commands/deploy/index.js +131 -50
- package/dist/commands/dev/index.js +677 -144
- package/dist/commands/env/index.js +1199 -565
- package/dist/commands/link/index.js +27 -22
- package/dist/commands/list/index.js +21 -14
- package/dist/commands-bulk.js +2051 -1019
- package/dist/help.js +1 -1
- package/dist/index.js +39 -33
- package/dist/version.mjs +1 -1
- package/package.json +48 -48
|
@@ -6,21 +6,21 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
isJSONObject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LXZVOR6F.js";
|
|
10
10
|
import {
|
|
11
11
|
getProjectByNameOrId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VJ5NAOWB.js";
|
|
13
13
|
import {
|
|
14
14
|
AGENT_REASON,
|
|
15
15
|
outputAgentError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NGGLYKNU.js";
|
|
17
17
|
import {
|
|
18
18
|
ProjectNotFound,
|
|
19
19
|
isAPIError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BMKU5KEL.js";
|
|
21
21
|
import {
|
|
22
22
|
output_manager_default
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-QFAS4OVW.js";
|
|
24
24
|
|
|
25
25
|
// src/commands/alerts/rules/custom-alert-query.ts
|
|
26
26
|
async function resolveCustomAlertProjectName(client, scope, projectId) {
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
VERCEL_DIR,
|
|
9
9
|
VERCEL_DIR_PROJECT,
|
|
10
10
|
require_lib
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VJ5NAOWB.js";
|
|
12
12
|
import {
|
|
13
13
|
require_dist
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QFAS4OVW.js";
|
|
15
15
|
import {
|
|
16
16
|
__toESM
|
|
17
17
|
} from "./chunk-TZ2YI2VH.js";
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
TelemetryClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XNFHNTS2.js";
|
|
10
10
|
|
|
11
11
|
// src/util/telemetry/commands/routes/index.ts
|
|
12
12
|
var RoutesTelemetryClient = class extends TelemetryClient {
|
|
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getGlobalPathConfig,
|
|
9
9
|
highlight
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AINIBIP4.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_VERCEL_CONFIG_FILENAME,
|
|
13
13
|
PromptBackError,
|
|
@@ -37,20 +37,20 @@ import {
|
|
|
37
37
|
useKeypress,
|
|
38
38
|
usePrefix,
|
|
39
39
|
useState
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-VJ5NAOWB.js";
|
|
41
41
|
import {
|
|
42
42
|
require_load_json_file
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import {
|
|
45
|
-
require_strip_ansi
|
|
46
|
-
} from "./chunk-VAFU7DXZ.js";
|
|
43
|
+
} from "./chunk-XNFHNTS2.js";
|
|
47
44
|
import {
|
|
48
45
|
parseArguments
|
|
49
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-57RHXXXG.js";
|
|
47
|
+
import {
|
|
48
|
+
require_strip_ansi
|
|
49
|
+
} from "./chunk-RKDCNQ4S.js";
|
|
50
50
|
import {
|
|
51
51
|
APIError,
|
|
52
52
|
NowError
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-BMKU5KEL.js";
|
|
54
54
|
import {
|
|
55
55
|
pkg_default
|
|
56
56
|
} from "./chunk-P4QNYOFB.js";
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
prependEmoji,
|
|
66
66
|
require_ansi_escapes,
|
|
67
67
|
require_dist
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-QFAS4OVW.js";
|
|
69
69
|
import {
|
|
70
70
|
require_source
|
|
71
71
|
} from "./chunk-S7KYDPEM.js";
|
|
@@ -7,19 +7,29 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
LinkRequiredError,
|
|
9
9
|
ProjectNotFound,
|
|
10
|
+
isAPIError
|
|
11
|
+
} from "./chunk-BMKU5KEL.js";
|
|
12
|
+
import {
|
|
10
13
|
getGlobalFlagsFromArgs,
|
|
11
|
-
isAPIError,
|
|
12
14
|
packageName,
|
|
13
15
|
stripSensitiveAuthArgs,
|
|
14
16
|
suggestionFlagTakesSeparateValue
|
|
15
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-Q2DGFCO7.js";
|
|
16
18
|
import {
|
|
17
19
|
require_dist
|
|
18
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QFAS4OVW.js";
|
|
19
21
|
import {
|
|
20
22
|
__toESM
|
|
21
23
|
} from "./chunk-TZ2YI2VH.js";
|
|
22
24
|
|
|
25
|
+
// src/util/flags/quote-arg.ts
|
|
26
|
+
function quoteArg(value) {
|
|
27
|
+
if (/^[A-Za-z0-9_./@:-]+$/.test(value)) {
|
|
28
|
+
return value;
|
|
29
|
+
}
|
|
30
|
+
return `'${value.replace(/'/g, `'\\''`)}'`;
|
|
31
|
+
}
|
|
32
|
+
|
|
23
33
|
// src/util/agent-output.ts
|
|
24
34
|
var import_error_utils = __toESM(require_dist(), 1);
|
|
25
35
|
function buildCommandWithYes(argv, pkgName = packageName) {
|
|
@@ -28,6 +38,18 @@ function buildCommandWithYes(argv, pkgName = packageName) {
|
|
|
28
38
|
const out = hasYes ? args : [...args, "--yes"];
|
|
29
39
|
return `${pkgName} ${out.join(" ")}`.trim();
|
|
30
40
|
}
|
|
41
|
+
function redactEnvValueArgs(argv) {
|
|
42
|
+
const redacted = [...argv];
|
|
43
|
+
for (let i = 0; i < redacted.length; i++) {
|
|
44
|
+
if (redacted[i] === "--value" && i + 1 < redacted.length) {
|
|
45
|
+
redacted[i + 1] = '"<value>"';
|
|
46
|
+
i++;
|
|
47
|
+
} else if (redacted[i].startsWith("--value=")) {
|
|
48
|
+
redacted[i] = '--value="<value>"';
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return redacted;
|
|
52
|
+
}
|
|
31
53
|
var GLOBAL_FLAG_NAMES = /* @__PURE__ */ new Set([
|
|
32
54
|
"--cwd",
|
|
33
55
|
"--config",
|
|
@@ -210,7 +232,7 @@ function buildEnvAddCommandWithPreservedArgs(argv, commandTemplate, pkgName = pa
|
|
|
210
232
|
const base = `${pkgName} ${commandTemplate}`;
|
|
211
233
|
if (preserved.length === 0)
|
|
212
234
|
return base;
|
|
213
|
-
return `${base} ${preserved.join(" ")}`;
|
|
235
|
+
return `${base} ${preserved.map(quoteArg).join(" ")}`;
|
|
214
236
|
}
|
|
215
237
|
function getPreservedArgsForEnvPull(argv) {
|
|
216
238
|
return getPreservedArgsAfterEnvSubcommand(argv, ["pull"], 1);
|
|
@@ -226,7 +248,7 @@ function buildEnvRmCommandWithPreservedArgs(argv, commandTemplate, pkgName = pac
|
|
|
226
248
|
const base = `${pkgName} ${commandTemplate}`;
|
|
227
249
|
if (preserved.length === 0)
|
|
228
250
|
return base;
|
|
229
|
-
return `${base} ${preserved.join(" ")}`;
|
|
251
|
+
return `${base} ${preserved.map(quoteArg).join(" ")}`;
|
|
230
252
|
}
|
|
231
253
|
function getPreservedArgsForEnvUpdate(argv) {
|
|
232
254
|
return getPreservedArgsAfterEnvSubcommand(argv, ["update"], 3);
|
|
@@ -239,7 +261,7 @@ function buildEnvUpdateCommandWithPreservedArgs(argv, commandTemplate, pkgName =
|
|
|
239
261
|
const base = `${pkgName} ${commandTemplate}`;
|
|
240
262
|
if (preserved.length === 0)
|
|
241
263
|
return base;
|
|
242
|
-
return `${base} ${preserved.join(" ")}`;
|
|
264
|
+
return `${base} ${preserved.map(quoteArg).join(" ")}`;
|
|
243
265
|
}
|
|
244
266
|
function buildCommandWithScope(argv, scopeSlug, pkgName = packageName) {
|
|
245
267
|
const args = stripSensitiveAuthArgs(argv.slice(2));
|
|
@@ -661,7 +683,9 @@ var AGENT_ACTION = {
|
|
|
661
683
|
};
|
|
662
684
|
|
|
663
685
|
export {
|
|
686
|
+
quoteArg,
|
|
664
687
|
buildCommandWithYes,
|
|
688
|
+
redactEnvValueArgs,
|
|
665
689
|
omitGlobalFlagsFromArgs,
|
|
666
690
|
buildIntegrationCommandTailFromArgv,
|
|
667
691
|
buildCommandWithGlobalFlags,
|
|
@@ -6,19 +6,19 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeProjectSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JH4WQRIU.js";
|
|
10
10
|
import {
|
|
11
11
|
autoInstallVercelPlugin
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7AEEQOD4.js";
|
|
13
13
|
import {
|
|
14
14
|
stamp_default
|
|
15
15
|
} from "./chunk-64IF634X.js";
|
|
16
16
|
import {
|
|
17
17
|
pullCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FWKSJYDV.js";
|
|
19
19
|
import {
|
|
20
20
|
help
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2YRAWYGE.js";
|
|
22
22
|
import {
|
|
23
23
|
VERCEL_DIR,
|
|
24
24
|
VERCEL_DIR_PROJECT,
|
|
@@ -26,24 +26,24 @@ import {
|
|
|
26
26
|
envPullCommandLogic,
|
|
27
27
|
humanizePath,
|
|
28
28
|
parseTarget
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-VJ5NAOWB.js";
|
|
30
30
|
import {
|
|
31
31
|
TelemetryClient
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-XNFHNTS2.js";
|
|
33
33
|
import {
|
|
34
34
|
printError
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-AYLY3ZVL.js";
|
|
36
36
|
import {
|
|
37
37
|
parseArguments
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-57RHXXXG.js";
|
|
39
39
|
import {
|
|
40
40
|
getFlagsSpecification
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-Q2DGFCO7.js";
|
|
42
42
|
import {
|
|
43
43
|
emoji,
|
|
44
44
|
output_manager_default,
|
|
45
45
|
prependEmoji
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-QFAS4OVW.js";
|
|
47
47
|
import {
|
|
48
48
|
require_source
|
|
49
49
|
} from "./chunk-S7KYDPEM.js";
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
|
|
8
8
|
// src/util/constants.ts
|
|
9
|
-
var SENTRY_DSN =
|
|
9
|
+
var SENTRY_DSN = "https://26a24e59ba954011919a524b341b6ab5@o205439.ingest.us.sentry.io/1323225";
|
|
10
10
|
var BUILD_LABEL = void 0;
|
|
11
11
|
|
|
12
12
|
export {
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
getCommandName
|
|
9
|
+
} from "./chunk-Q2DGFCO7.js";
|
|
10
|
+
import {
|
|
11
|
+
output_manager_default
|
|
12
|
+
} from "./chunk-QFAS4OVW.js";
|
|
13
|
+
import {
|
|
14
|
+
require_source
|
|
15
|
+
} from "./chunk-S7KYDPEM.js";
|
|
16
|
+
import {
|
|
17
|
+
__toESM
|
|
18
|
+
} from "./chunk-TZ2YI2VH.js";
|
|
19
|
+
|
|
20
|
+
// src/util/validate-ls-args.ts
|
|
21
|
+
var import_chalk = __toESM(require_source(), 1);
|
|
22
|
+
function validateLsArgs(options) {
|
|
23
|
+
const { commandName, args, maxArgs = 0, exitCode = 1, usageString } = options;
|
|
24
|
+
if (args.length > maxArgs) {
|
|
25
|
+
const usage = usageString || getCommandName(commandName);
|
|
26
|
+
output_manager_default.error(`Invalid number of arguments. Usage: ${import_chalk.default.cyan(usage)}`);
|
|
27
|
+
return exitCode;
|
|
28
|
+
}
|
|
29
|
+
return 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export {
|
|
33
|
+
validateLsArgs
|
|
34
|
+
};
|
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
ellipsis
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-C5HKWXRR.js";
|
|
10
10
|
import {
|
|
11
11
|
ALIGNED_LABEL_WIDTH
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VJ5NAOWB.js";
|
|
13
13
|
import {
|
|
14
14
|
require_ms
|
|
15
15
|
} from "./chunk-GGP5R3FU.js";
|