vercel 59.4.0 → 59.5.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.
- package/dist/chunks/{add-73X2SKBH.js → add-MH3WV6PV.js} +12 -8
- package/dist/chunks/{add-FQMB3XPM.js → add-W3FFMTX4.js} +15 -11
- package/dist/chunks/{add-QJ3WT4FW.js → add-Z5FM6TFI.js} +18 -14
- package/dist/chunks/{build-YUYCLCXD.js → build-VYYFBJL7.js} +13 -10
- package/dist/chunks/{chunk-F7OXZLY2.js → chunk-26XDDLXM.js} +2 -2
- package/dist/chunks/{chunk-RIB4S2IB.js → chunk-3HZLXCVL.js} +1 -1
- package/dist/chunks/{chunk-UV2ZMFVG.js → chunk-47VQ6H2S.js} +1 -1
- package/dist/chunks/{chunk-O5DLWLT7.js → chunk-4JTF6RD7.js} +7 -7
- 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-5LX2JDZP.js +34 -0
- package/dist/chunks/chunk-7Q45OKWR.js +149 -0
- package/dist/chunks/{chunk-Y3J4VU2H.js → chunk-7XX4ZEOV.js} +2 -2
- package/dist/chunks/{chunk-JKQWQA2T.js → chunk-AINIBIP4.js} +1 -1
- package/dist/chunks/{chunk-SOFC4MLS.js → chunk-AWCID36T.js} +8 -568
- package/dist/chunks/{chunk-KAYSW4CJ.js → chunk-AWSLWAOC.js} +1 -1
- 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-CQJRLNTX.js +104 -0
- package/dist/chunks/{chunk-PD4DYNSB.js → chunk-CSCSGSQG.js} +4 -4
- package/dist/chunks/{chunk-3L2YLLHC.js → chunk-DWIC7MRV.js} +2 -2
- package/dist/chunks/{chunk-HMJVUXE6.js → chunk-E6LFKMI2.js} +82 -509
- package/dist/chunks/{chunk-GFCTRJI5.js → chunk-EZKW5YJ2.js} +1 -1
- package/dist/chunks/{chunk-DDIZGOCK.js → chunk-FA3MO56Q.js} +6 -4
- package/dist/chunks/{chunk-Y42SPI2H.js → chunk-GUWPUX2Y.js} +5 -5
- package/dist/chunks/chunk-GY5I4AYD.js +122 -0
- package/dist/chunks/chunk-HGRWPPYB.js +18 -0
- package/dist/chunks/{chunk-NP6BQPCN.js → chunk-JJQP3PYM.js} +5 -3
- package/dist/chunks/{chunk-X6O6XJEA.js → chunk-JNU3DTEV.js} +14 -12
- package/dist/chunks/{chunk-TH2XUVDP.js → chunk-L7CEMAJG.js} +4 -2
- package/dist/chunks/{chunk-EB7NJKPL.js → chunk-LLM3ZNXJ.js} +2 -2
- package/dist/chunks/{chunk-ZFWNMVNR.js → chunk-M3OSDZPY.js} +6 -4
- package/dist/chunks/{chunk-LKTQR5JE.js → chunk-MRMNMFMD.js} +2 -2
- 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-VCE6QKFE.js → chunk-NSU2BTRS.js} +3 -3
- package/dist/chunks/chunk-OHER4DGX.js +451 -0
- package/dist/chunks/{chunk-BBSS3XIW.js → chunk-OQ3C5VXZ.js} +1 -1
- package/dist/chunks/{chunk-CHEZBD7H.js → chunk-PBHBX6UL.js} +2 -2
- package/dist/chunks/{chunk-M22O6CYY.js → chunk-POOO7W47.js} +1 -1
- package/dist/chunks/{chunk-BLYBHFIE.js → chunk-PPUWG2UB.js} +12 -8
- package/dist/chunks/chunk-Q2DGFCO7.js +579 -0
- package/dist/chunks/{chunk-HURL5EBN.js → chunk-QG4PCM45.js} +24 -148
- package/dist/chunks/{chunk-VAFU7DXZ.js → chunk-RKDCNQ4S.js} +1 -91
- package/dist/chunks/{chunk-XI6NJLI4.js → chunk-RZ5NP6HN.js} +2 -2
- package/dist/chunks/{chunk-GMWRTZVZ.js → chunk-SLPSPYVR.js} +1 -1
- package/dist/chunks/{chunk-J5Y2QGGU.js → chunk-TAZ5ZAKG.js} +1 -1
- package/dist/chunks/{chunk-KSZ4MNHO.js → chunk-TDXNNIZ6.js} +1 -1
- package/dist/chunks/{chunk-EB5NBVTV.js → chunk-TIWAL2YU.js} +6 -6
- package/dist/chunks/{chunk-HJVTLJHO.js → chunk-UUVMIXT4.js} +5 -5
- package/dist/chunks/{chunk-RI7KKKII.js → chunk-V4YLY44R.js} +3 -17
- package/dist/chunks/{chunk-O5GNPPTU.js → chunk-VP5Y3SZG.js} +1 -1
- package/dist/chunks/{chunk-2PX6N4FE.js → chunk-VWYNSJXI.js} +7 -7
- 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-VDJN4WKH.js → chunk-XRWOTCDO.js} +1 -1
- package/dist/chunks/{chunk-MWYQ24FO.js → chunk-YIHOS3ZF.js} +2 -2
- package/dist/chunks/{chunk-STPH4Y62.js → chunk-YJUO3EKH.js} +1 -1
- package/dist/chunks/chunk-ZKUHCL6O.js +249 -0
- package/dist/chunks/{clear-USQM5VW5.js → clear-TNGRDA7D.js} +12 -8
- package/dist/chunks/{compile-vercel-config-2JNYMI6W.js → compile-vercel-config-ERLXKKWW.js} +8 -5
- package/dist/chunks/config-7EDKML5Q.js +122 -0
- package/dist/chunks/{config-VTRIDLY4.js → config-H22EE765.js} +15 -11
- package/dist/chunks/{delete-VTPHK3EB.js → delete-LORYIZHY.js} +10 -7
- package/dist/chunks/{delete-ILLSBCVQ.js → delete-Q4S5F2AI.js} +12 -8
- package/dist/chunks/{disable-VTOMO64V.js → disable-HKWCBDJC.js} +10 -7
- package/dist/chunks/{discard-ZIOZ34ZI.js → discard-UCCRF2JQ.js} +10 -7
- package/dist/chunks/{edit-JMZ5XWVW.js → edit-6IM6VRBR.js} +12 -8
- package/dist/chunks/{edit-E3AMR4KM.js → edit-AWL35PYQ.js} +11 -8
- package/dist/chunks/{enable-A4PMZ7QZ.js → enable-GN3D3L3V.js} +10 -7
- package/dist/chunks/{export-Y6AJ3WRZ.js → export-HHRVFALV.js} +10 -7
- package/dist/chunks/{image-26BKPAUB.js → image-4DCU4VPP.js} +6 -5
- package/dist/chunks/{import-builders-3H7J2SEK.js → import-builders-DVG3HOTF.js} +9 -6
- package/dist/chunks/{inspect-ZW5N6O5P.js → inspect-B3OWUFLH.js} +12 -8
- package/dist/chunks/{inspect-OEY4DJRI.js → inspect-TGOJDKIT.js} +15 -11
- package/dist/chunks/{inspect-7DGKYHKW.js → inspect-TUW67CFZ.js} +15 -11
- package/dist/chunks/{inspect-N3E2PO6K.js → inspect-VLGKNHJW.js} +12 -8
- package/dist/chunks/{inspect-GJFVAZIJ.js → inspect-VPME6UC7.js} +15 -11
- package/dist/chunks/{list-DTJBW7OQ.js → list-2DPKDHRV.js} +15 -11
- package/dist/chunks/{list-MIQ5D6PM.js → list-K552ITMK.js} +15 -11
- package/dist/chunks/{list-2VTCNQEB.js → list-TK2JO7BK.js} +12 -8
- package/dist/chunks/{login-L34UHAU5.js → login-HRWEKW5P.js} +15 -11
- package/dist/chunks/{ls-OKO4IHWB.js → ls-IOXGXEY4.js} +15 -11
- package/dist/chunks/{ls-VDYUFSSC.js → ls-JSV2WZVF.js} +15 -10
- package/dist/chunks/{ls-OBUDC4SB.js → ls-M5TYGFP5.js} +15 -10
- package/dist/chunks/{ls-NCPQY4FV.js → ls-O2WYF5UL.js} +18 -13
- package/dist/chunks/ls-TM6NTZEB.js +176 -0
- package/dist/chunks/{ls-SXJFBLUT.js → ls-YIF3KLF3.js} +15 -10
- package/dist/chunks/{open-V5JDGXUP.js → open-FWAVEWGU.js} +12 -8
- package/dist/chunks/{permissions-6CPRPPBY.js → permissions-DPFYL47Z.js} +9 -8
- package/dist/chunks/{publish-R27DPHFO.js → publish-63CGFKQR.js} +10 -7
- package/dist/chunks/{push-VLVTBS42.js → push-T5ZTBW3P.js} +13 -10
- package/dist/chunks/{query-IVVRYMJN.js → query-B6O3EMEV.js} +14 -10
- package/dist/chunks/{reorder-LJ2RBZM2.js → reorder-ANV4NMKH.js} +10 -7
- package/dist/chunks/{reply-USAISZYC.js → reply-C73KGOCG.js} +12 -8
- package/dist/chunks/{resolve-CRCJYVS5.js → resolve-IHSIVPEE.js} +12 -8
- package/dist/chunks/{restore-6PBPEAMU.js → restore-GSUNXP2O.js} +10 -7
- package/dist/chunks/{rm-HHELZB7R.js → rm-4O74PS4Q.js} +12 -8
- package/dist/chunks/{rm-TWU3JR6Z.js → rm-M7IJC2WZ.js} +12 -8
- package/dist/chunks/{rm-EOD7RDSO.js → rm-PRINF4OU.js} +15 -11
- package/dist/chunks/rm-RV5SQFQA.js +317 -0
- package/dist/chunks/{rm-KGOEOWVK.js → rm-YDTK5ESZ.js} +13 -9
- package/dist/chunks/{rule-inspect-WFTVRK6B.js → rule-inspect-ZZC53FLP.js} +15 -11
- package/dist/chunks/{rules-AQYTFJI6.js → rules-SAOSSGFI.js} +10 -9
- package/dist/chunks/{schema-LUVFYPWN.js → schema-23ZFAKDU.js} +7 -5
- package/dist/chunks/{schema-ZCDCJC7E.js → schema-2Q3QRMRO.js} +11 -8
- package/dist/chunks/set-L47ZCZBJ.js +243 -0
- package/dist/chunks/{tags-RCNRFX7U.js → tags-2TWLM77N.js} +5 -4
- package/dist/chunks/{types-AJHILHO5.js → types-G3PEUIJH.js} +11 -7
- package/dist/chunks/{update-I7QGAOYF.js → update-SZH2VBD6.js} +16 -12
- package/dist/commands/build/index.js +16 -12
- package/dist/commands/deploy/index.js +41 -32
- package/dist/commands/dev/index.js +19 -15
- package/dist/commands/env/index.js +44 -35
- package/dist/commands/link/index.js +25 -20
- package/dist/commands/list/index.js +19 -12
- package/dist/commands-bulk.js +132 -125
- package/dist/help.js +1 -1
- package/dist/index.js +34 -28
- package/dist/version.mjs +1 -1
- package/package.json +47 -47
|
@@ -4,9 +4,11 @@ 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
|
+
pullSubcommand
|
|
9
|
+
} from "./chunk-OHER4DGX.js";
|
|
7
10
|
import {
|
|
8
11
|
TelemetryClient,
|
|
9
|
-
require_dist as require_dist2,
|
|
10
12
|
require_graceful_fs
|
|
11
13
|
} from "./chunk-CYNB6LL4.js";
|
|
12
14
|
import {
|
|
@@ -19,19 +21,21 @@ import {
|
|
|
19
21
|
outputActionRequired,
|
|
20
22
|
outputAgentError,
|
|
21
23
|
shouldEmitNonInteractiveCommandError
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-L7CEMAJG.js";
|
|
23
25
|
import {
|
|
24
26
|
require_ms
|
|
25
27
|
} from "./chunk-GGP5R3FU.js";
|
|
26
28
|
import {
|
|
27
|
-
printError
|
|
29
|
+
printError
|
|
30
|
+
} from "./chunk-CQJRLNTX.js";
|
|
31
|
+
import {
|
|
32
|
+
parseArguments
|
|
33
|
+
} from "./chunk-57RHXXXG.js";
|
|
34
|
+
import {
|
|
28
35
|
require_string_width,
|
|
29
36
|
require_strip_ansi,
|
|
30
37
|
table
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import {
|
|
33
|
-
parseArguments
|
|
34
|
-
} from "./chunk-XLKFJPMT.js";
|
|
38
|
+
} from "./chunk-RKDCNQ4S.js";
|
|
35
39
|
import {
|
|
36
40
|
APIError,
|
|
37
41
|
CantParseJSONFile,
|
|
@@ -50,18 +54,14 @@ import {
|
|
|
50
54
|
TeamDeleted,
|
|
51
55
|
TooManyRequests,
|
|
52
56
|
code,
|
|
53
|
-
|
|
54
|
-
|
|
57
|
+
isAPIError
|
|
58
|
+
} from "./chunk-AWCID36T.js";
|
|
59
|
+
import {
|
|
55
60
|
getCommandName,
|
|
56
61
|
getCommandNamePlain,
|
|
57
62
|
getFlagsSpecification,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
packageName,
|
|
61
|
-
projectOption,
|
|
62
|
-
require_lib,
|
|
63
|
-
yesOption
|
|
64
|
-
} from "./chunk-SOFC4MLS.js";
|
|
63
|
+
packageName
|
|
64
|
+
} from "./chunk-Q2DGFCO7.js";
|
|
65
65
|
import {
|
|
66
66
|
pkg_default
|
|
67
67
|
} from "./chunk-P4QNYOFB.js";
|
|
@@ -8327,7 +8327,7 @@ var require_move2 = __commonJS({
|
|
|
8327
8327
|
});
|
|
8328
8328
|
|
|
8329
8329
|
// ../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/index.js
|
|
8330
|
-
var
|
|
8330
|
+
var require_lib = __commonJS({
|
|
8331
8331
|
"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/index.js"(exports, module) {
|
|
8332
8332
|
"use strict";
|
|
8333
8333
|
module.exports = {
|
|
@@ -8857,7 +8857,7 @@ var require_wrap_ansi = __commonJS({
|
|
|
8857
8857
|
});
|
|
8858
8858
|
|
|
8859
8859
|
// ../../node_modules/.pnpm/mute-stream@1.0.0/node_modules/mute-stream/lib/index.js
|
|
8860
|
-
var
|
|
8860
|
+
var require_lib2 = __commonJS({
|
|
8861
8861
|
"../../node_modules/.pnpm/mute-stream@1.0.0/node_modules/mute-stream/lib/index.js"(exports, module) {
|
|
8862
8862
|
var Stream = __require("stream");
|
|
8863
8863
|
var _isTTY, _destSrc, destSrc_fn, _proxy, proxy_fn;
|
|
@@ -21310,7 +21310,7 @@ var require_detect_file_system_api = __commonJS({
|
|
|
21310
21310
|
});
|
|
21311
21311
|
module.exports = __toCommonJS2(detect_file_system_api_exports);
|
|
21312
21312
|
var import_semver = __toESM2(require_semver());
|
|
21313
|
-
var import__2 =
|
|
21313
|
+
var import__2 = require_dist2();
|
|
21314
21314
|
async function detectFileSystemAPI2({
|
|
21315
21315
|
files,
|
|
21316
21316
|
projectSettings,
|
|
@@ -28309,7 +28309,7 @@ var require_stringify = __commonJS({
|
|
|
28309
28309
|
});
|
|
28310
28310
|
|
|
28311
28311
|
// ../../node_modules/.pnpm/json5@2.2.2/node_modules/json5/lib/index.js
|
|
28312
|
-
var
|
|
28312
|
+
var require_lib3 = __commonJS({
|
|
28313
28313
|
"../../node_modules/.pnpm/json5@2.2.2/node_modules/json5/lib/index.js"(exports, module) {
|
|
28314
28314
|
var parse3 = require_parse();
|
|
28315
28315
|
var stringify = require_stringify();
|
|
@@ -28457,7 +28457,7 @@ var require_get_workspace_package_paths = __commonJS({
|
|
|
28457
28457
|
var import_path19 = __toESM2(__require("path"));
|
|
28458
28458
|
var import_js_yaml = __toESM2(require_js_yaml3());
|
|
28459
28459
|
var import_glob = __toESM2(require_glob());
|
|
28460
|
-
var import_json5 = __toESM2(
|
|
28460
|
+
var import_json5 = __toESM2(require_lib3());
|
|
28461
28461
|
var import_get_glob_fs = require_get_glob_fs();
|
|
28462
28462
|
var posixPath = import_path19.default.posix;
|
|
28463
28463
|
async function getWorkspacePackagePaths3({
|
|
@@ -28830,7 +28830,7 @@ var require_get_monorepo_default_settings = __commonJS({
|
|
|
28830
28830
|
var import_monorepo_managers = require_monorepo_managers();
|
|
28831
28831
|
var import_package_managers = require_package_managers();
|
|
28832
28832
|
var import_detect_framework = require_detect_framework();
|
|
28833
|
-
var import_json5 = __toESM2(
|
|
28833
|
+
var import_json5 = __toESM2(require_lib3());
|
|
28834
28834
|
var import_semver = __toESM2(require_semver());
|
|
28835
28835
|
var MissingBuildPipeline = class extends Error {
|
|
28836
28836
|
constructor(usesTasks) {
|
|
@@ -29049,7 +29049,7 @@ var require_detect_instrumentation = __commonJS({
|
|
|
29049
29049
|
});
|
|
29050
29050
|
|
|
29051
29051
|
// ../fs-detectors/dist/index.js
|
|
29052
|
-
var
|
|
29052
|
+
var require_dist2 = __commonJS({
|
|
29053
29053
|
"../fs-detectors/dist/index.js"(exports, module) {
|
|
29054
29054
|
"use strict";
|
|
29055
29055
|
var __defProp = Object.defineProperty;
|
|
@@ -29476,7 +29476,7 @@ var require_json_parse_better_errors = __commonJS({
|
|
|
29476
29476
|
});
|
|
29477
29477
|
|
|
29478
29478
|
// ../../node_modules/.pnpm/path-to-regexp@6.1.0/node_modules/path-to-regexp/dist/index.js
|
|
29479
|
-
var
|
|
29479
|
+
var require_dist3 = __commonJS({
|
|
29480
29480
|
"../../node_modules/.pnpm/path-to-regexp@6.1.0/node_modules/path-to-regexp/dist/index.js"(exports) {
|
|
29481
29481
|
"use strict";
|
|
29482
29482
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -29846,7 +29846,7 @@ var require_dist4 = __commonJS({
|
|
|
29846
29846
|
});
|
|
29847
29847
|
|
|
29848
29848
|
// ../../node_modules/.pnpm/path-to-regexp@6.3.0/node_modules/path-to-regexp/dist/index.js
|
|
29849
|
-
var
|
|
29849
|
+
var require_dist4 = __commonJS({
|
|
29850
29850
|
"../../node_modules/.pnpm/path-to-regexp@6.3.0/node_modules/path-to-regexp/dist/index.js"(exports) {
|
|
29851
29851
|
"use strict";
|
|
29852
29852
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -30271,8 +30271,8 @@ var require_superstatic = __commonJS({
|
|
|
30271
30271
|
});
|
|
30272
30272
|
module.exports = __toCommonJS2(superstatic_exports);
|
|
30273
30273
|
var import_url4 = __require("url");
|
|
30274
|
-
var import_path_to_regexp =
|
|
30275
|
-
var import_path_to_regexp_updated =
|
|
30274
|
+
var import_path_to_regexp = require_dist3();
|
|
30275
|
+
var import_path_to_regexp_updated = require_dist4();
|
|
30276
30276
|
function cloneKeys(keys) {
|
|
30277
30277
|
if (typeof keys === "undefined") {
|
|
30278
30278
|
return void 0;
|
|
@@ -30774,7 +30774,7 @@ var require_append = __commonJS({
|
|
|
30774
30774
|
appendRoutesToPhase: () => appendRoutesToPhase2
|
|
30775
30775
|
});
|
|
30776
30776
|
module.exports = __toCommonJS2(append_exports);
|
|
30777
|
-
var import_index =
|
|
30777
|
+
var import_index = require_dist5();
|
|
30778
30778
|
function appendRoutesToPhase2({
|
|
30779
30779
|
routes: prevRoutes,
|
|
30780
30780
|
newRoutes,
|
|
@@ -30842,7 +30842,7 @@ var require_merge3 = __commonJS({
|
|
|
30842
30842
|
mergeRoutes: () => mergeRoutes2
|
|
30843
30843
|
});
|
|
30844
30844
|
module.exports = __toCommonJS2(merge_exports);
|
|
30845
|
-
var import_index =
|
|
30845
|
+
var import_index = require_dist5();
|
|
30846
30846
|
function getBuilderRoutesMapping(builds) {
|
|
30847
30847
|
const builderRoutes = {};
|
|
30848
30848
|
for (const { entrypoint, routes, use } of builds) {
|
|
@@ -31811,7 +31811,7 @@ var require_types2 = __commonJS({
|
|
|
31811
31811
|
});
|
|
31812
31812
|
|
|
31813
31813
|
// ../routing-utils/dist/index.js
|
|
31814
|
-
var
|
|
31814
|
+
var require_dist5 = __commonJS({
|
|
31815
31815
|
"../routing-utils/dist/index.js"(exports, module) {
|
|
31816
31816
|
"use strict";
|
|
31817
31817
|
var __defProp = Object.defineProperty;
|
|
@@ -32582,8 +32582,8 @@ var require_resolve2 = __commonJS({
|
|
|
32582
32582
|
var import_types = require_types3();
|
|
32583
32583
|
var import_utils4 = require_utils3();
|
|
32584
32584
|
var import_frameworks5 = require_frameworks();
|
|
32585
|
-
var import_fs_detectors6 =
|
|
32586
|
-
var import_routing_utils2 =
|
|
32585
|
+
var import_fs_detectors6 = require_dist2();
|
|
32586
|
+
var import_routing_utils2 = require_dist5();
|
|
32587
32587
|
var import_build_utils22 = __require("@vercel/build-utils");
|
|
32588
32588
|
var frameworksBySlug2 = new Map(import_frameworks5.frameworkList.map((f) => [f.slug, f]));
|
|
32589
32589
|
var PYTHON_MODULE_ATTR_RE = /^([A-Za-z_][\w]*(?:\.[A-Za-z_][\w]*)*):([A-Za-z_][\w]*)$/;
|
|
@@ -33872,7 +33872,7 @@ var require_auto_detect = __commonJS({
|
|
|
33872
33872
|
autoDetectServices: () => autoDetectServices2
|
|
33873
33873
|
});
|
|
33874
33874
|
module.exports = __toCommonJS2(auto_detect_exports);
|
|
33875
|
-
var import_fs_detectors6 =
|
|
33875
|
+
var import_fs_detectors6 = require_dist2();
|
|
33876
33876
|
var import_frameworks5 = require_frameworks();
|
|
33877
33877
|
var import_utils4 = require_utils3();
|
|
33878
33878
|
var FRONTEND_DIR = "frontend";
|
|
@@ -34154,7 +34154,7 @@ var require_detect_railway = __commonJS({
|
|
|
34154
34154
|
module.exports = __toCommonJS2(detect_railway_exports);
|
|
34155
34155
|
var import_path19 = __require("path");
|
|
34156
34156
|
var import_smol_toml3 = __toESM2(__require("smol-toml"));
|
|
34157
|
-
var import_fs_detectors6 =
|
|
34157
|
+
var import_fs_detectors6 = require_dist2();
|
|
34158
34158
|
var import_utils4 = require_utils3();
|
|
34159
34159
|
var RAILWAY_JSON = "railway.json";
|
|
34160
34160
|
var RAILWAY_TOML = "railway.toml";
|
|
@@ -34396,7 +34396,7 @@ var require_detect_render = __commonJS({
|
|
|
34396
34396
|
});
|
|
34397
34397
|
module.exports = __toCommonJS2(detect_render_exports);
|
|
34398
34398
|
var import_js_yaml = __toESM2(require_js_yaml3());
|
|
34399
|
-
var import_fs_detectors6 =
|
|
34399
|
+
var import_fs_detectors6 = require_dist2();
|
|
34400
34400
|
var import_types = require_types3();
|
|
34401
34401
|
var import_utils4 = require_utils3();
|
|
34402
34402
|
var RENDER_YAML = "render.yaml";
|
|
@@ -34617,7 +34617,7 @@ var require_detect_procfile = __commonJS({
|
|
|
34617
34617
|
detectProcfileServices: () => detectProcfileServices
|
|
34618
34618
|
});
|
|
34619
34619
|
module.exports = __toCommonJS2(detect_procfile_exports);
|
|
34620
|
-
var import_fs_detectors6 =
|
|
34620
|
+
var import_fs_detectors6 = require_dist2();
|
|
34621
34621
|
var import_utils4 = require_utils3();
|
|
34622
34622
|
var PROCFILE = "Procfile";
|
|
34623
34623
|
var PROCFILE_LINE_RE = /^\s*([A-Za-z_][A-Za-z0-9_-]*):\s*(.+)/;
|
|
@@ -34871,7 +34871,7 @@ var require_detect_services = __commonJS({
|
|
|
34871
34871
|
});
|
|
34872
34872
|
module.exports = __toCommonJS2(detect_services_exports);
|
|
34873
34873
|
var import_build_utils11 = __require("@vercel/build-utils");
|
|
34874
|
-
var import_routing_utils2 =
|
|
34874
|
+
var import_routing_utils2 = require_dist5();
|
|
34875
34875
|
var import_utils4 = require_utils3();
|
|
34876
34876
|
var import_resolve = require_resolve2();
|
|
34877
34877
|
var import_resolve_v2 = require_resolve_v2();
|
|
@@ -35266,7 +35266,7 @@ var require_detect_services = __commonJS({
|
|
|
35266
35266
|
});
|
|
35267
35267
|
|
|
35268
35268
|
// ../../internals/service-topology/dist/index.js
|
|
35269
|
-
var
|
|
35269
|
+
var require_dist6 = __commonJS({
|
|
35270
35270
|
"../../internals/service-topology/dist/index.js"(exports, module) {
|
|
35271
35271
|
"use strict";
|
|
35272
35272
|
var __defProp = Object.defineProperty;
|
|
@@ -37281,7 +37281,7 @@ var require_output2 = __commonJS({
|
|
|
37281
37281
|
});
|
|
37282
37282
|
|
|
37283
37283
|
// ../../node_modules/.pnpm/fs-extra@8.0.1/node_modules/fs-extra/lib/index.js
|
|
37284
|
-
var
|
|
37284
|
+
var require_lib4 = __commonJS({
|
|
37285
37285
|
"../../node_modules/.pnpm/fs-extra@8.0.1/node_modules/fs-extra/lib/index.js"(exports, module) {
|
|
37286
37286
|
"use strict";
|
|
37287
37287
|
module.exports = Object.assign(
|
|
@@ -37313,7 +37313,7 @@ var require_lib5 = __commonJS({
|
|
|
37313
37313
|
});
|
|
37314
37314
|
|
|
37315
37315
|
// ../../node_modules/.pnpm/async-sema@3.0.0/node_modules/async-sema/lib/index.js
|
|
37316
|
-
var
|
|
37316
|
+
var require_lib5 = __commonJS({
|
|
37317
37317
|
"../../node_modules/.pnpm/async-sema@3.0.0/node_modules/async-sema/lib/index.js"(exports) {
|
|
37318
37318
|
"use strict";
|
|
37319
37319
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -37513,8 +37513,8 @@ var require_hashes = __commonJS({
|
|
|
37513
37513
|
});
|
|
37514
37514
|
module.exports = __toCommonJS2(hashes_exports);
|
|
37515
37515
|
var import_crypto = __require("crypto");
|
|
37516
|
-
var import_fs_extra11 = __toESM2(
|
|
37517
|
-
var import_async_sema =
|
|
37516
|
+
var import_fs_extra11 = __toESM2(require_lib4());
|
|
37517
|
+
var import_async_sema = require_lib5();
|
|
37518
37518
|
var MAX_BUFFER_FILE_SIZE = 2 ** 31 - 1;
|
|
37519
37519
|
function hash(buf) {
|
|
37520
37520
|
return (0, import_crypto.createHash)("sha1").update(Uint8Array.from(buf)).digest("hex");
|
|
@@ -38000,7 +38000,7 @@ var require_package = __commonJS({
|
|
|
38000
38000
|
"../client/package.json"(exports, module) {
|
|
38001
38001
|
module.exports = {
|
|
38002
38002
|
name: "@vercel/client",
|
|
38003
|
-
version: "18.2.
|
|
38003
|
+
version: "18.2.16",
|
|
38004
38004
|
main: "dist/index.js",
|
|
38005
38005
|
typings: "dist/index.d.ts",
|
|
38006
38006
|
homepage: "https://vercel.com",
|
|
@@ -45920,8 +45920,8 @@ var require_utils9 = __commonJS({
|
|
|
45920
45920
|
var import_ignore = __toESM2(require_ignore());
|
|
45921
45921
|
var import_pkg2 = require_pkg();
|
|
45922
45922
|
var import_build_utils11 = __require("@vercel/build-utils");
|
|
45923
|
-
var import_async_sema =
|
|
45924
|
-
var import_fs_extra11 =
|
|
45923
|
+
var import_async_sema = require_lib5();
|
|
45924
|
+
var import_fs_extra11 = require_lib4();
|
|
45925
45925
|
var import_readdir_recursive = __toESM2(require_readdir_recursive());
|
|
45926
45926
|
var import_utils4 = require_utils8();
|
|
45927
45927
|
var semaphore = new import_async_sema.Sema(10);
|
|
@@ -47082,7 +47082,7 @@ var require_retry2 = __commonJS({
|
|
|
47082
47082
|
});
|
|
47083
47083
|
|
|
47084
47084
|
// ../../node_modules/.pnpm/async-retry@1.2.3/node_modules/async-retry/lib/index.js
|
|
47085
|
-
var
|
|
47085
|
+
var require_lib6 = __commonJS({
|
|
47086
47086
|
"../../node_modules/.pnpm/async-retry@1.2.3/node_modules/async-retry/lib/index.js"(exports, module) {
|
|
47087
47087
|
var retrier = require_retry2();
|
|
47088
47088
|
function retry(fn, opts) {
|
|
@@ -47201,8 +47201,8 @@ var require_upload = __commonJS({
|
|
|
47201
47201
|
var import_fs6 = __require("fs");
|
|
47202
47202
|
var import_stream = __require("stream");
|
|
47203
47203
|
var import_node_events = __require("events");
|
|
47204
|
-
var import_async_retry = __toESM2(
|
|
47205
|
-
var import_async_sema =
|
|
47204
|
+
var import_async_retry = __toESM2(require_lib6());
|
|
47205
|
+
var import_async_sema = require_lib5();
|
|
47206
47206
|
var import_utils4 = require_utils9();
|
|
47207
47207
|
var import_errors3 = require_errors();
|
|
47208
47208
|
var import_deploy = require_deploy();
|
|
@@ -52868,7 +52868,7 @@ var require_collect_deployment_files = __commonJS({
|
|
|
52868
52868
|
});
|
|
52869
52869
|
module.exports = __toCommonJS2(collect_deployment_files_exports);
|
|
52870
52870
|
var import_error_utils5 = require_dist();
|
|
52871
|
-
var import_fs_extra11 =
|
|
52871
|
+
var import_fs_extra11 = require_lib4();
|
|
52872
52872
|
var import_path19 = __require("path");
|
|
52873
52873
|
var import_errors3 = require_errors();
|
|
52874
52874
|
var import_utils4 = require_utils9();
|
|
@@ -53068,7 +53068,7 @@ var require_continue = __commonJS({
|
|
|
53068
53068
|
});
|
|
53069
53069
|
module.exports = __toCommonJS2(continue_exports);
|
|
53070
53070
|
var import_path19 = __require("path");
|
|
53071
|
-
var import_fs_extra11 = __toESM2(
|
|
53071
|
+
var import_fs_extra11 = __toESM2(require_lib4());
|
|
53072
53072
|
var import_check_deployment_status = require_check_deployment_status();
|
|
53073
53073
|
var import_utils4 = require_utils9();
|
|
53074
53074
|
var import_hashes = require_hashes();
|
|
@@ -53357,7 +53357,7 @@ var require_types4 = __commonJS({
|
|
|
53357
53357
|
});
|
|
53358
53358
|
|
|
53359
53359
|
// ../client/dist/index.js
|
|
53360
|
-
var
|
|
53360
|
+
var require_dist7 = __commonJS({
|
|
53361
53361
|
"../client/dist/index.js"(exports, module) {
|
|
53362
53362
|
"use strict";
|
|
53363
53363
|
var __create = Object.create;
|
|
@@ -53418,7 +53418,7 @@ import { parse as tomlParse2 } from "smol-toml";
|
|
|
53418
53418
|
|
|
53419
53419
|
// src/util/projects/link.ts
|
|
53420
53420
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
53421
|
-
var import_fs_extra10 = __toESM(
|
|
53421
|
+
var import_fs_extra10 = __toESM(require_lib(), 1);
|
|
53422
53422
|
import fs4 from "fs";
|
|
53423
53423
|
import { join as join12, relative as relative5 } from "path";
|
|
53424
53424
|
import { promisify } from "util";
|
|
@@ -53900,7 +53900,7 @@ var CancelablePromise = class _CancelablePromise extends Promise {
|
|
|
53900
53900
|
};
|
|
53901
53901
|
|
|
53902
53902
|
// ../../node_modules/.pnpm/@inquirer+core@7.1.3/node_modules/@inquirer/core/dist/esm/lib/create-prompt.mjs
|
|
53903
|
-
var import_mute_stream = __toESM(
|
|
53903
|
+
var import_mute_stream = __toESM(require_lib2(), 1);
|
|
53904
53904
|
|
|
53905
53905
|
// ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
|
|
53906
53906
|
var signals = [];
|
|
@@ -54764,7 +54764,7 @@ ${error}${import_ansi_escapes2.default.cursorHide}`;
|
|
|
54764
54764
|
// src/util/link/repo.ts
|
|
54765
54765
|
var import_pluralize = __toESM(require_pluralize(), 1);
|
|
54766
54766
|
var import_slugify = __toESM(require_slugify(), 1);
|
|
54767
|
-
var import_fs_extra3 = __toESM(
|
|
54767
|
+
var import_fs_extra3 = __toESM(require_lib(), 1);
|
|
54768
54768
|
import { homedir as homedir2 } from "os";
|
|
54769
54769
|
import { basename, join as join5 } from "path";
|
|
54770
54770
|
import { normalizePath, traverseUpDirectories } from "@vercel/build-utils";
|
|
@@ -54779,7 +54779,7 @@ function humanizePath(path3) {
|
|
|
54779
54779
|
}
|
|
54780
54780
|
|
|
54781
54781
|
// src/util/create-git-meta.ts
|
|
54782
|
-
var import_fs_extra = __toESM(
|
|
54782
|
+
var import_fs_extra = __toESM(require_lib(), 1);
|
|
54783
54783
|
var import_ini = __toESM(require_ini(), 1);
|
|
54784
54784
|
var import_git_last_commit = __toESM(require_source3(), 1);
|
|
54785
54785
|
var import_error_utils = __toESM(require_dist(), 1);
|
|
@@ -55089,14 +55089,14 @@ async function selectOrg(client, question, autoConfirm, searchable = false, meta
|
|
|
55089
55089
|
output_manager_default.stopSpinner();
|
|
55090
55090
|
}
|
|
55091
55091
|
const formatChoiceName = (name, slug, isCurrent, limited) => {
|
|
55092
|
-
let
|
|
55092
|
+
let title = `${name} (${slug})`;
|
|
55093
55093
|
if (isCurrent) {
|
|
55094
|
-
|
|
55094
|
+
title += ` ${import_chalk6.default.bold("(current)")}`;
|
|
55095
55095
|
}
|
|
55096
55096
|
if (limited) {
|
|
55097
|
-
|
|
55097
|
+
title += ` ${emoji("locked")}`;
|
|
55098
55098
|
}
|
|
55099
|
-
return
|
|
55099
|
+
return title;
|
|
55100
55100
|
};
|
|
55101
55101
|
const personalAccountChoice = user.version === "northstar" ? [] : [
|
|
55102
55102
|
{
|
|
@@ -55207,7 +55207,7 @@ ${import_chalk6.default.dim(` ${description}`)}` : "";
|
|
|
55207
55207
|
}
|
|
55208
55208
|
|
|
55209
55209
|
// src/util/link/add-to-gitignore.ts
|
|
55210
|
-
var import_fs_extra2 = __toESM(
|
|
55210
|
+
var import_fs_extra2 = __toESM(require_lib(), 1);
|
|
55211
55211
|
import os from "os";
|
|
55212
55212
|
import { join as join3 } from "path";
|
|
55213
55213
|
async function addToGitIgnore(path3, ignore = VERCEL_DIR) {
|
|
@@ -55250,7 +55250,7 @@ async function createProject(client, settings) {
|
|
|
55250
55250
|
|
|
55251
55251
|
// src/util/projects/detect-projects.ts
|
|
55252
55252
|
var import_frameworks = __toESM(require_frameworks(), 1);
|
|
55253
|
-
var import_fs_detectors = __toESM(
|
|
55253
|
+
var import_fs_detectors = __toESM(require_dist2(), 1);
|
|
55254
55254
|
import { join as join4 } from "path";
|
|
55255
55255
|
async function detectProjects(cwd) {
|
|
55256
55256
|
const fs5 = new import_fs_detectors.LocalFileSystemDetector(cwd);
|
|
@@ -56154,7 +56154,7 @@ function findProjectsFromPath(projects, path3) {
|
|
|
56154
56154
|
|
|
56155
56155
|
// src/commands/env/pull.ts
|
|
56156
56156
|
var import_chalk19 = __toESM(require_source(), 1);
|
|
56157
|
-
var import_fs_extra9 = __toESM(
|
|
56157
|
+
var import_fs_extra9 = __toESM(require_lib(), 1);
|
|
56158
56158
|
import { closeSync, openSync, readSync } from "fs";
|
|
56159
56159
|
import { resolve as resolve5 } from "path";
|
|
56160
56160
|
|
|
@@ -56752,7 +56752,7 @@ async function pullEnvRecords(client, projectIdOrDeploymentId, source, { target,
|
|
|
56752
56752
|
}
|
|
56753
56753
|
|
|
56754
56754
|
// src/util/env/diff-env-files.ts
|
|
56755
|
-
var import_fs_extra4 = __toESM(
|
|
56755
|
+
var import_fs_extra4 = __toESM(require_lib(), 1);
|
|
56756
56756
|
|
|
56757
56757
|
// src/util/parse-env.ts
|
|
56758
56758
|
var parseEnv = (env) => {
|
|
@@ -56863,8 +56863,8 @@ function escapeValue(value) {
|
|
|
56863
56863
|
var import_error_utils3 = __toESM(require_dist(), 1);
|
|
56864
56864
|
|
|
56865
56865
|
// src/util/link/setup-and-link.ts
|
|
56866
|
-
var import_fs_extra7 = __toESM(
|
|
56867
|
-
var import_fs_detectors5 = __toESM(
|
|
56866
|
+
var import_fs_extra7 = __toESM(require_lib(), 1);
|
|
56867
|
+
var import_fs_detectors5 = __toESM(require_dist2(), 1);
|
|
56868
56868
|
import { join as join10, basename as basename3 } from "path";
|
|
56869
56869
|
import { getPlatformEnv as getPlatformEnv2 } from "@vercel/build-utils";
|
|
56870
56870
|
|
|
@@ -57183,7 +57183,7 @@ async function inputProject(client, org, detectedProjectName, autoConfirm = fals
|
|
|
57183
57183
|
}
|
|
57184
57184
|
|
|
57185
57185
|
// src/util/validate-paths.ts
|
|
57186
|
-
var import_fs_extra5 = __toESM(
|
|
57186
|
+
var import_fs_extra5 = __toESM(require_lib(), 1);
|
|
57187
57187
|
var import_chalk13 = __toESM(require_source(), 1);
|
|
57188
57188
|
import { homedir as homedir3 } from "os";
|
|
57189
57189
|
import { resolve as resolve4, sep } from "path";
|
|
@@ -57412,7 +57412,7 @@ async function editProjectSettings(client, projectSettings, framework, autoConfi
|
|
|
57412
57412
|
}
|
|
57413
57413
|
|
|
57414
57414
|
// src/util/read-json-file.ts
|
|
57415
|
-
var import_fs_extra6 = __toESM(
|
|
57415
|
+
var import_fs_extra6 = __toESM(require_lib(), 1);
|
|
57416
57416
|
var import_json_parse_better_errors = __toESM(require_json_parse_better_errors(), 1);
|
|
57417
57417
|
var import_error_utils2 = __toESM(require_dist(), 1);
|
|
57418
57418
|
async function readJSONFile(file) {
|
|
@@ -57530,8 +57530,8 @@ async function vercelAuth(client, {
|
|
|
57530
57530
|
}
|
|
57531
57531
|
|
|
57532
57532
|
// src/util/link/services-setup.ts
|
|
57533
|
-
var import_fs_detectors4 = __toESM(
|
|
57534
|
-
var import_service_topology2 = __toESM(
|
|
57533
|
+
var import_fs_detectors4 = __toESM(require_dist2(), 1);
|
|
57534
|
+
var import_service_topology2 = __toESM(require_dist6(), 1);
|
|
57535
57535
|
import {
|
|
57536
57536
|
isExperimentalService as isExperimentalService2,
|
|
57537
57537
|
isExperimentalServiceV2 as isExperimentalServiceV23,
|
|
@@ -57687,16 +57687,16 @@ function displayServiceErrors(errors) {
|
|
|
57687
57687
|
}
|
|
57688
57688
|
|
|
57689
57689
|
// src/util/projects/detect-services.ts
|
|
57690
|
-
var import_fs_detectors3 = __toESM(
|
|
57691
|
-
var import_service_topology = __toESM(
|
|
57690
|
+
var import_fs_detectors3 = __toESM(require_dist2(), 1);
|
|
57691
|
+
var import_service_topology = __toESM(require_dist6(), 1);
|
|
57692
57692
|
import { readFile as readFile3, writeFile as writeFile2 } from "fs/promises";
|
|
57693
57693
|
import { basename as basename2, join as join7 } from "path";
|
|
57694
57694
|
import { parse as tomlParse, stringify as tomlStringify } from "smol-toml";
|
|
57695
57695
|
|
|
57696
57696
|
// src/util/validate-config.ts
|
|
57697
|
-
var import_routing_utils = __toESM(
|
|
57698
|
-
var import_client = __toESM(
|
|
57699
|
-
var import_fs_detectors2 = __toESM(
|
|
57697
|
+
var import_routing_utils = __toESM(require_dist5(), 1);
|
|
57698
|
+
var import_client = __toESM(require_dist7(), 1);
|
|
57699
|
+
var import_fs_detectors2 = __toESM(require_dist2(), 1);
|
|
57700
57700
|
import {
|
|
57701
57701
|
getFunctionsSchema,
|
|
57702
57702
|
buildsSchema,
|
|
@@ -58446,7 +58446,7 @@ function createDetectEntrypoint(projectRoot) {
|
|
|
58446
58446
|
};
|
|
58447
58447
|
}
|
|
58448
58448
|
async function loadBuilderDetectEntrypoint(name, projectRoot) {
|
|
58449
|
-
const { importBuilders } = await import("./import-builders-
|
|
58449
|
+
const { importBuilders } = await import("./import-builders-DVG3HOTF.js");
|
|
58450
58450
|
const builders = await importBuilders(/* @__PURE__ */ new Set([name]), projectRoot);
|
|
58451
58451
|
const loaded = builders.get(name);
|
|
58452
58452
|
if (!loaded) {
|
|
@@ -59346,7 +59346,7 @@ async function applyGitConnectIntent(client, intent, project, autoConfirm, org)
|
|
|
59346
59346
|
|
|
59347
59347
|
// src/util/projects/find-project-root.ts
|
|
59348
59348
|
var import_chalk17 = __toESM(require_source(), 1);
|
|
59349
|
-
var import_fs_extra8 = __toESM(
|
|
59349
|
+
var import_fs_extra8 = __toESM(require_lib(), 1);
|
|
59350
59350
|
import { stat } from "fs/promises";
|
|
59351
59351
|
import { join as join11, dirname } from "path";
|
|
59352
59352
|
async function findProjectRoot(startDir) {
|
|
@@ -59811,422 +59811,6 @@ var EnvPullTelemetryClient = class extends TelemetryClient {
|
|
|
59811
59811
|
}
|
|
59812
59812
|
};
|
|
59813
59813
|
|
|
59814
|
-
// src/util/env/env-target.ts
|
|
59815
|
-
var import_constants2 = __toESM(require_dist2(), 1);
|
|
59816
|
-
var import_title = __toESM(require_lib(), 1);
|
|
59817
|
-
var envTargetChoices = import_constants2.PROJECT_ENV_TARGET.map((t) => ({
|
|
59818
|
-
name: (0, import_title.default)(t),
|
|
59819
|
-
value: t
|
|
59820
|
-
}));
|
|
59821
|
-
function isValidEnvTarget(target) {
|
|
59822
|
-
return typeof target === "undefined" || envTargetChoices.map((c) => c.value).includes(target);
|
|
59823
|
-
}
|
|
59824
|
-
function getEnvTargetPlaceholder() {
|
|
59825
|
-
return `<${envTargetChoices.map((c) => c.value).join(" | ")}>`;
|
|
59826
|
-
}
|
|
59827
|
-
function parseEnvTargetArg(arg) {
|
|
59828
|
-
return Array.from(
|
|
59829
|
-
new Set(
|
|
59830
|
-
arg.split(",").map((t) => t.trim()).filter(Boolean)
|
|
59831
|
-
)
|
|
59832
|
-
);
|
|
59833
|
-
}
|
|
59834
|
-
|
|
59835
|
-
// src/commands/env/command.ts
|
|
59836
|
-
var targetPlaceholder = getEnvTargetPlaceholder();
|
|
59837
|
-
var listSubcommand = {
|
|
59838
|
-
name: "list",
|
|
59839
|
-
aliases: ["ls"],
|
|
59840
|
-
description: "List all Environment Variables for a Project",
|
|
59841
|
-
arguments: [
|
|
59842
|
-
{
|
|
59843
|
-
name: "environment",
|
|
59844
|
-
required: false
|
|
59845
|
-
},
|
|
59846
|
-
{
|
|
59847
|
-
name: "git-branch",
|
|
59848
|
-
required: false
|
|
59849
|
-
}
|
|
59850
|
-
],
|
|
59851
|
-
options: [
|
|
59852
|
-
formatOption,
|
|
59853
|
-
jsonOption,
|
|
59854
|
-
projectOption,
|
|
59855
|
-
{
|
|
59856
|
-
name: "guidance",
|
|
59857
|
-
description: "Receive command suggestions once command is complete",
|
|
59858
|
-
shorthand: null,
|
|
59859
|
-
type: Boolean,
|
|
59860
|
-
deprecated: false
|
|
59861
|
-
}
|
|
59862
|
-
],
|
|
59863
|
-
examples: []
|
|
59864
|
-
};
|
|
59865
|
-
var addSubcommand = {
|
|
59866
|
-
name: "add",
|
|
59867
|
-
aliases: [],
|
|
59868
|
-
description: "Add an Environment Variable",
|
|
59869
|
-
arguments: [
|
|
59870
|
-
{
|
|
59871
|
-
name: "name",
|
|
59872
|
-
required: true
|
|
59873
|
-
},
|
|
59874
|
-
{
|
|
59875
|
-
name: "environment",
|
|
59876
|
-
required: false
|
|
59877
|
-
}
|
|
59878
|
-
],
|
|
59879
|
-
options: [
|
|
59880
|
-
projectOption,
|
|
59881
|
-
{
|
|
59882
|
-
name: "git-branch",
|
|
59883
|
-
description: "Set the Git branch for a Preview Environment Variable",
|
|
59884
|
-
shorthand: null,
|
|
59885
|
-
type: String,
|
|
59886
|
-
argument: "NAME",
|
|
59887
|
-
deprecated: false
|
|
59888
|
-
},
|
|
59889
|
-
{
|
|
59890
|
-
name: "sensitive",
|
|
59891
|
-
description: "Store the value as sensitive for Production or Preview",
|
|
59892
|
-
shorthand: null,
|
|
59893
|
-
type: Boolean,
|
|
59894
|
-
deprecated: false
|
|
59895
|
-
},
|
|
59896
|
-
{
|
|
59897
|
-
name: "no-sensitive",
|
|
59898
|
-
description: "Store the value as non-sensitive when policy allows",
|
|
59899
|
-
shorthand: null,
|
|
59900
|
-
type: Boolean,
|
|
59901
|
-
deprecated: false
|
|
59902
|
-
},
|
|
59903
|
-
{
|
|
59904
|
-
name: "visibility",
|
|
59905
|
-
description: "Set config/secret visibility (`config` or `secret`). Inferred from type when omitted",
|
|
59906
|
-
shorthand: null,
|
|
59907
|
-
type: String,
|
|
59908
|
-
argument: "VISIBILITY",
|
|
59909
|
-
deprecated: false
|
|
59910
|
-
},
|
|
59911
|
-
{
|
|
59912
|
-
...forceOption,
|
|
59913
|
-
description: "Overwrite an existing variable for the same target",
|
|
59914
|
-
shorthand: null
|
|
59915
|
-
},
|
|
59916
|
-
{
|
|
59917
|
-
...yesOption,
|
|
59918
|
-
description: "Accept default choices when adding an Environment Variable"
|
|
59919
|
-
},
|
|
59920
|
-
{
|
|
59921
|
-
name: "guidance",
|
|
59922
|
-
description: "Show command suggestions after completion",
|
|
59923
|
-
shorthand: null,
|
|
59924
|
-
type: Boolean,
|
|
59925
|
-
deprecated: false
|
|
59926
|
-
},
|
|
59927
|
-
{
|
|
59928
|
-
name: "value",
|
|
59929
|
-
description: "Set the variable value for non-interactive use; otherwise use stdin or the prompt",
|
|
59930
|
-
shorthand: null,
|
|
59931
|
-
type: String,
|
|
59932
|
-
argument: "VALUE",
|
|
59933
|
-
deprecated: false
|
|
59934
|
-
}
|
|
59935
|
-
],
|
|
59936
|
-
examples: [
|
|
59937
|
-
{
|
|
59938
|
-
name: "Add a new variable (prompts for value and Environments)",
|
|
59939
|
-
value: [
|
|
59940
|
-
`${packageName} env add <name>`,
|
|
59941
|
-
`${packageName} env add API_TOKEN`
|
|
59942
|
-
]
|
|
59943
|
-
},
|
|
59944
|
-
{
|
|
59945
|
-
name: "Add a new Environment Variable to a specific Environment",
|
|
59946
|
-
value: [
|
|
59947
|
-
`${packageName} env add <name> ${targetPlaceholder}`,
|
|
59948
|
-
`${packageName} env add DB_PASS production`
|
|
59949
|
-
]
|
|
59950
|
-
},
|
|
59951
|
-
{
|
|
59952
|
-
name: "Add one variable to multiple Environments (comma-separated)",
|
|
59953
|
-
value: [
|
|
59954
|
-
`${packageName} env add <name> <environment>[,<environment>]`,
|
|
59955
|
-
`${packageName} env add API_URL production,preview,development`
|
|
59956
|
-
]
|
|
59957
|
-
},
|
|
59958
|
-
{
|
|
59959
|
-
name: "Override an existing Environment Variable of same target (production, preview, deployment)",
|
|
59960
|
-
value: `${packageName} env add API_TOKEN --force`
|
|
59961
|
-
},
|
|
59962
|
-
{
|
|
59963
|
-
name: "Add a regular (non-sensitive) Environment Variable that remains readable later",
|
|
59964
|
-
value: `${packageName} env add API_TOKEN --no-sensitive`
|
|
59965
|
-
},
|
|
59966
|
-
{
|
|
59967
|
-
name: "Add a new Environment Variable for a specific Environment and Git Branch",
|
|
59968
|
-
value: [
|
|
59969
|
-
`${packageName} env add <name> ${targetPlaceholder} --git-branch <name>`,
|
|
59970
|
-
`${packageName} env add DB_PASS preview --git-branch feat1`
|
|
59971
|
-
]
|
|
59972
|
-
},
|
|
59973
|
-
{
|
|
59974
|
-
name: "Add a new Environment Variable from stdin",
|
|
59975
|
-
value: [
|
|
59976
|
-
`cat <file> | ${packageName} env add <name> ${targetPlaceholder}`,
|
|
59977
|
-
`cat ~/.npmrc | ${packageName} env add NPM_RC preview`,
|
|
59978
|
-
`${packageName} env add API_URL production < url.txt`
|
|
59979
|
-
]
|
|
59980
|
-
},
|
|
59981
|
-
{
|
|
59982
|
-
name: "Add with --value for non-interactive use",
|
|
59983
|
-
value: `${packageName} env add API_TOKEN production --value "<value>" --yes`
|
|
59984
|
-
}
|
|
59985
|
-
]
|
|
59986
|
-
};
|
|
59987
|
-
var removeSubcommand = {
|
|
59988
|
-
name: "remove",
|
|
59989
|
-
aliases: ["rm"],
|
|
59990
|
-
description: "Remove an Environment Variable (see examples below)",
|
|
59991
|
-
arguments: [
|
|
59992
|
-
{
|
|
59993
|
-
name: "name",
|
|
59994
|
-
required: true
|
|
59995
|
-
},
|
|
59996
|
-
{
|
|
59997
|
-
name: "environment",
|
|
59998
|
-
required: false
|
|
59999
|
-
}
|
|
60000
|
-
],
|
|
60001
|
-
options: [
|
|
60002
|
-
projectOption,
|
|
60003
|
-
{
|
|
60004
|
-
...yesOption,
|
|
60005
|
-
description: "Skip the confirmation prompt when removing an Environment Variable"
|
|
60006
|
-
}
|
|
60007
|
-
],
|
|
60008
|
-
examples: [
|
|
60009
|
-
{
|
|
60010
|
-
name: "Remove a variable from multiple Environments",
|
|
60011
|
-
value: [
|
|
60012
|
-
`${packageName} env rm <name>`,
|
|
60013
|
-
`${packageName} env rm API_TOKEN`
|
|
60014
|
-
]
|
|
60015
|
-
},
|
|
60016
|
-
{
|
|
60017
|
-
name: "Remove a variable from a specific Environment",
|
|
60018
|
-
value: [
|
|
60019
|
-
`${packageName} env rm <name> ${targetPlaceholder}`,
|
|
60020
|
-
`${packageName} env rm NPM_RC preview`
|
|
60021
|
-
]
|
|
60022
|
-
},
|
|
60023
|
-
{
|
|
60024
|
-
name: "Remove a variable from a specific Environment and Git Branch",
|
|
60025
|
-
value: [
|
|
60026
|
-
`${packageName} env rm <name> ${targetPlaceholder} <gitbranch>`,
|
|
60027
|
-
`${packageName} env rm NPM_RC preview feat1`
|
|
60028
|
-
]
|
|
60029
|
-
}
|
|
60030
|
-
]
|
|
60031
|
-
};
|
|
60032
|
-
var pullSubcommand = {
|
|
60033
|
-
name: "pull",
|
|
60034
|
-
aliases: [],
|
|
60035
|
-
description: "Pull all Development Environment Variables from the cloud and write to a file [.env.local]",
|
|
60036
|
-
arguments: [
|
|
60037
|
-
{
|
|
60038
|
-
name: "filename",
|
|
60039
|
-
required: false
|
|
60040
|
-
}
|
|
60041
|
-
],
|
|
60042
|
-
options: [
|
|
60043
|
-
projectOption,
|
|
60044
|
-
{
|
|
60045
|
-
name: "environment",
|
|
60046
|
-
description: "Set the Environment when pulling Environment Variables",
|
|
60047
|
-
shorthand: null,
|
|
60048
|
-
type: String,
|
|
60049
|
-
argument: "TARGET",
|
|
60050
|
-
deprecated: false
|
|
60051
|
-
},
|
|
60052
|
-
{
|
|
60053
|
-
name: "git-branch",
|
|
60054
|
-
description: "Specify the Git branch to pull specific Environment Variables for",
|
|
60055
|
-
shorthand: null,
|
|
60056
|
-
type: String,
|
|
60057
|
-
argument: "NAME",
|
|
60058
|
-
deprecated: false
|
|
60059
|
-
},
|
|
60060
|
-
{
|
|
60061
|
-
name: "id",
|
|
60062
|
-
description: "Pull environment variables for a specific deployment (e.g. dpl_xxx)",
|
|
60063
|
-
shorthand: null,
|
|
60064
|
-
type: String,
|
|
60065
|
-
argument: "ID",
|
|
60066
|
-
deprecated: false
|
|
60067
|
-
},
|
|
60068
|
-
{
|
|
60069
|
-
...yesOption,
|
|
60070
|
-
description: "Skip the confirmation prompt when removing an environment variable"
|
|
60071
|
-
}
|
|
60072
|
-
],
|
|
60073
|
-
examples: [
|
|
60074
|
-
{
|
|
60075
|
-
name: "Pull all Development Environment Variables down from the cloud",
|
|
60076
|
-
value: [
|
|
60077
|
-
`${packageName} env pull <file>`,
|
|
60078
|
-
`${packageName} env pull .env.development.local`
|
|
60079
|
-
]
|
|
60080
|
-
},
|
|
60081
|
-
{
|
|
60082
|
-
name: "Pull environment variables for a specific deployment",
|
|
60083
|
-
value: `${packageName} env pull --id dpl_xxx`
|
|
60084
|
-
}
|
|
60085
|
-
]
|
|
60086
|
-
};
|
|
60087
|
-
var runSubcommand = {
|
|
60088
|
-
name: "run",
|
|
60089
|
-
aliases: [],
|
|
60090
|
-
description: "Run a command with environment variables from the linked Vercel project",
|
|
60091
|
-
arguments: [
|
|
60092
|
-
{
|
|
60093
|
-
name: "command",
|
|
60094
|
-
required: true,
|
|
60095
|
-
multiple: true
|
|
60096
|
-
}
|
|
60097
|
-
],
|
|
60098
|
-
options: [
|
|
60099
|
-
projectOption,
|
|
60100
|
-
{
|
|
60101
|
-
name: "environment",
|
|
60102
|
-
description: "Specify the environment to pull variables from (default: development)",
|
|
60103
|
-
shorthand: "e",
|
|
60104
|
-
type: String,
|
|
60105
|
-
argument: "TARGET",
|
|
60106
|
-
deprecated: false
|
|
60107
|
-
},
|
|
60108
|
-
{
|
|
60109
|
-
name: "git-branch",
|
|
60110
|
-
description: "Specify the Git branch to pull specific Environment Variables for",
|
|
60111
|
-
shorthand: null,
|
|
60112
|
-
type: String,
|
|
60113
|
-
argument: "NAME",
|
|
60114
|
-
deprecated: false
|
|
60115
|
-
}
|
|
60116
|
-
],
|
|
60117
|
-
examples: [
|
|
60118
|
-
{
|
|
60119
|
-
name: "Run Next.js dev server with development environment variables",
|
|
60120
|
-
value: `${packageName} env run -- next dev`
|
|
60121
|
-
},
|
|
60122
|
-
{
|
|
60123
|
-
name: "Run tests with preview environment variables for a specific branch",
|
|
60124
|
-
value: `${packageName} env run -e preview --git-branch feature-x -- npm test`
|
|
60125
|
-
}
|
|
60126
|
-
]
|
|
60127
|
-
};
|
|
60128
|
-
var updateSubcommand = {
|
|
60129
|
-
name: "update",
|
|
60130
|
-
aliases: [],
|
|
60131
|
-
description: "Update the value of an existing Environment Variable (see examples below)",
|
|
60132
|
-
arguments: [
|
|
60133
|
-
{
|
|
60134
|
-
name: "name",
|
|
60135
|
-
required: true
|
|
60136
|
-
},
|
|
60137
|
-
{
|
|
60138
|
-
name: "environment",
|
|
60139
|
-
required: false
|
|
60140
|
-
}
|
|
60141
|
-
],
|
|
60142
|
-
options: [
|
|
60143
|
-
projectOption,
|
|
60144
|
-
{
|
|
60145
|
-
name: "sensitive",
|
|
60146
|
-
description: "Update to a sensitive Environment Variable",
|
|
60147
|
-
shorthand: null,
|
|
60148
|
-
type: Boolean,
|
|
60149
|
-
deprecated: false
|
|
60150
|
-
},
|
|
60151
|
-
{
|
|
60152
|
-
name: "visibility",
|
|
60153
|
-
description: "Set config/secret visibility (`config` or `secret`). Inferred from type when omitted",
|
|
60154
|
-
shorthand: null,
|
|
60155
|
-
type: String,
|
|
60156
|
-
argument: "VISIBILITY",
|
|
60157
|
-
deprecated: false
|
|
60158
|
-
},
|
|
60159
|
-
{
|
|
60160
|
-
...yesOption,
|
|
60161
|
-
description: "Skip the confirmation prompt when updating an Environment Variable"
|
|
60162
|
-
},
|
|
60163
|
-
{
|
|
60164
|
-
name: "value",
|
|
60165
|
-
description: "New value for the variable (non-interactive). Otherwise use stdin or you will be prompted.",
|
|
60166
|
-
shorthand: null,
|
|
60167
|
-
type: String,
|
|
60168
|
-
argument: "VALUE",
|
|
60169
|
-
deprecated: false
|
|
60170
|
-
}
|
|
60171
|
-
],
|
|
60172
|
-
examples: [
|
|
60173
|
-
{
|
|
60174
|
-
name: "Update a variable in all Environments",
|
|
60175
|
-
value: [
|
|
60176
|
-
`${packageName} env update <name>`,
|
|
60177
|
-
`${packageName} env update API_TOKEN`
|
|
60178
|
-
]
|
|
60179
|
-
},
|
|
60180
|
-
{
|
|
60181
|
-
name: "Update a variable in a specific Environment",
|
|
60182
|
-
value: [
|
|
60183
|
-
`${packageName} env update <name> ${targetPlaceholder}`,
|
|
60184
|
-
`${packageName} env update DB_PASS production`
|
|
60185
|
-
]
|
|
60186
|
-
},
|
|
60187
|
-
{
|
|
60188
|
-
name: "Update a variable for a specific Environment and Git Branch",
|
|
60189
|
-
value: [
|
|
60190
|
-
`${packageName} env update <name> ${targetPlaceholder} <gitbranch>`,
|
|
60191
|
-
`${packageName} env update NPM_RC preview feat1`
|
|
60192
|
-
]
|
|
60193
|
-
},
|
|
60194
|
-
{
|
|
60195
|
-
name: "Update a variable from stdin",
|
|
60196
|
-
value: [
|
|
60197
|
-
`cat <file> | ${packageName} env update <name> ${targetPlaceholder}`,
|
|
60198
|
-
`cat ~/.npmrc | ${packageName} env update NPM_RC preview`,
|
|
60199
|
-
`${packageName} env update API_URL production < url.txt`
|
|
60200
|
-
]
|
|
60201
|
-
}
|
|
60202
|
-
]
|
|
60203
|
-
};
|
|
60204
|
-
var envCommand = {
|
|
60205
|
-
name: "env",
|
|
60206
|
-
aliases: [],
|
|
60207
|
-
description: "Interact with Environment Variables for a Project",
|
|
60208
|
-
arguments: [],
|
|
60209
|
-
subcommands: [
|
|
60210
|
-
addSubcommand,
|
|
60211
|
-
listSubcommand,
|
|
60212
|
-
pullSubcommand,
|
|
60213
|
-
removeSubcommand,
|
|
60214
|
-
runSubcommand,
|
|
60215
|
-
updateSubcommand
|
|
60216
|
-
],
|
|
60217
|
-
options: [],
|
|
60218
|
-
examples: [
|
|
60219
|
-
{
|
|
60220
|
-
name: "Run a command with Environment Variables from the linked Project",
|
|
60221
|
-
value: `${packageName} env run -- <command>`
|
|
60222
|
-
},
|
|
60223
|
-
{
|
|
60224
|
-
name: "Add one variable to multiple Environments",
|
|
60225
|
-
value: `${packageName} env add API_URL production,preview,development`
|
|
60226
|
-
}
|
|
60227
|
-
]
|
|
60228
|
-
};
|
|
60229
|
-
|
|
60230
59814
|
// src/util/parse-target.ts
|
|
60231
59815
|
function parseTarget({
|
|
60232
59816
|
flagName,
|
|
@@ -61436,19 +61020,8 @@ async function getVercelConfigPath(workPath) {
|
|
|
61436
61020
|
}
|
|
61437
61021
|
|
|
61438
61022
|
export {
|
|
61439
|
-
|
|
61023
|
+
require_lib,
|
|
61440
61024
|
humanizePath,
|
|
61441
|
-
envTargetChoices,
|
|
61442
|
-
isValidEnvTarget,
|
|
61443
|
-
getEnvTargetPlaceholder,
|
|
61444
|
-
parseEnvTargetArg,
|
|
61445
|
-
listSubcommand,
|
|
61446
|
-
addSubcommand,
|
|
61447
|
-
removeSubcommand,
|
|
61448
|
-
pullSubcommand,
|
|
61449
|
-
runSubcommand,
|
|
61450
|
-
updateSubcommand,
|
|
61451
|
-
envCommand,
|
|
61452
61025
|
param,
|
|
61453
61026
|
getUser,
|
|
61454
61027
|
ua_default,
|
|
@@ -61470,7 +61043,7 @@ export {
|
|
|
61470
61043
|
useKeypress,
|
|
61471
61044
|
require_cli_width,
|
|
61472
61045
|
require_wrap_ansi,
|
|
61473
|
-
|
|
61046
|
+
require_lib2,
|
|
61474
61047
|
onExit,
|
|
61475
61048
|
createPrompt,
|
|
61476
61049
|
esm_default,
|
|
@@ -61487,7 +61060,7 @@ export {
|
|
|
61487
61060
|
require_tar_stream,
|
|
61488
61061
|
require_pump,
|
|
61489
61062
|
require_mkdirp,
|
|
61490
|
-
|
|
61063
|
+
require_dist7 as require_dist,
|
|
61491
61064
|
require_fast_deep_equal,
|
|
61492
61065
|
require_ajv,
|
|
61493
61066
|
getProjectByNameOrId,
|
|
@@ -61503,7 +61076,7 @@ export {
|
|
|
61503
61076
|
require_frameworks,
|
|
61504
61077
|
require_brace_expansion,
|
|
61505
61078
|
require_minimatch,
|
|
61506
|
-
|
|
61079
|
+
require_dist2,
|
|
61507
61080
|
list,
|
|
61508
61081
|
disconnectGitProvider,
|
|
61509
61082
|
parseRepoUrl,
|
|
@@ -61534,8 +61107,8 @@ export {
|
|
|
61534
61107
|
compileVercelConfig,
|
|
61535
61108
|
getVercelConfigPath,
|
|
61536
61109
|
readConfig,
|
|
61537
|
-
|
|
61538
|
-
|
|
61110
|
+
require_dist5 as require_dist3,
|
|
61111
|
+
require_dist6 as require_dist4,
|
|
61539
61112
|
displayDetectedServices,
|
|
61540
61113
|
validateConfig,
|
|
61541
61114
|
tryDetectServices,
|