vercel 54.17.2 → 54.17.3
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-ADMRKNTV.js → add-PQWZCK7O.js} +5 -5
- package/dist/chunks/{chunk-AZP6TNVD.js → chunk-2CYJVSAM.js} +1 -1
- package/dist/chunks/{chunk-KAICYGS4.js → chunk-4FG6Q2EM.js} +1 -1
- package/dist/chunks/{chunk-3ESVKDUA.js → chunk-5FAPBIX6.js} +1 -1
- package/dist/chunks/{chunk-7CTNFMKH.js → chunk-6V37RSQB.js} +1 -1
- package/dist/chunks/{chunk-NG53DNDG.js → chunk-ATBH7KGL.js} +1 -1
- package/dist/chunks/{chunk-LUORN5H7.js → chunk-BHMMV3HE.js} +2 -2
- package/dist/chunks/{chunk-2YIEJRSL.js → chunk-FMBDRMTZ.js} +4 -4
- package/dist/chunks/{chunk-A6I3RGAN.js → chunk-G4YL2LRL.js} +2 -2
- package/dist/chunks/{chunk-CQRLZB3Y.js → chunk-HCJRHKSM.js} +2 -2
- package/dist/chunks/{chunk-U7HYX4V6.js → chunk-IAOBSXJ5.js} +3 -3
- package/dist/chunks/{chunk-RL7DANWP.js → chunk-JKIM3UW3.js} +4 -4
- package/dist/chunks/{chunk-WR6JALPR.js → chunk-MB63D7UN.js} +1 -1
- package/dist/chunks/{chunk-PEJCJXGI.js → chunk-NRP6ZKXJ.js} +1 -1
- package/dist/chunks/{chunk-ZKAWVYGP.js → chunk-OSXRHH6W.js} +40 -40
- package/dist/chunks/{chunk-FR2CJ7AV.js → chunk-OYQKUG4C.js} +4 -4
- package/dist/chunks/{chunk-52DDM5F6.js → chunk-QM7D5H2G.js} +2 -2
- package/dist/chunks/{chunk-64KT5RVX.js → chunk-QMMMXYOY.js} +3 -3
- package/dist/chunks/{chunk-JYTOXUQJ.js → chunk-SBYEIQ32.js} +1 -1
- package/dist/chunks/{chunk-UZZBWCU2.js → chunk-UXP2N2WD.js} +3 -3
- package/dist/chunks/{chunk-NHGCQRK5.js → chunk-X5UROEGN.js} +12 -0
- package/dist/chunks/{compile-vercel-config-7IAWGVM7.js → compile-vercel-config-45XN4U4D.js} +2 -2
- package/dist/chunks/{delete-DHYJ7ZYD.js → delete-RQYOSBNO.js} +3 -3
- package/dist/chunks/{disable-A4D7SZ6G.js → disable-RRGOZIA7.js} +3 -3
- package/dist/chunks/{discard-PRE343AI.js → discard-X2NIGII5.js} +3 -3
- package/dist/chunks/{edit-MWFKADR7.js → edit-QV3Y6IUT.js} +4 -4
- package/dist/chunks/{enable-6P6TDM6D.js → enable-UQAJJKCG.js} +3 -3
- package/dist/chunks/{export-WISO5LBX.js → export-D4YNS2G5.js} +3 -3
- package/dist/chunks/{inspect-EBIQ5XF3.js → inspect-FHB3H3NA.js} +4 -4
- package/dist/chunks/{list-OD7KO5BB.js → list-6RAHTDT2.js} +3 -3
- package/dist/chunks/{list-755IMC6Y.js → list-QYUCZR26.js} +4 -4
- package/dist/chunks/{ls-ZSVMQVZX.js → ls-GKWWEHQS.js} +5 -5
- package/dist/chunks/{publish-LMGSRL3X.js → publish-UTKKRA4P.js} +3 -3
- package/dist/chunks/{query-WZTKABE4.js → query-NM7MXRFW.js} +3 -3
- package/dist/chunks/{reorder-QK5QJ6TW.js → reorder-ZLVQQBMG.js} +3 -3
- package/dist/chunks/{restore-VF3HDGON.js → restore-SDTDA4A6.js} +3 -3
- package/dist/chunks/{rm-QP57BPQO.js → rm-65PQY7XN.js} +5 -5
- package/dist/chunks/{rule-inspect-ZZJ7SQJF.js → rule-inspect-JFKSPCDU.js} +5 -5
- package/dist/chunks/{rules-SUBKFNPR.js → rules-6672IXZE.js} +7 -7
- package/dist/chunks/{schema-FSQEAUMR.js → schema-DC2LLUHD.js} +3 -3
- package/dist/chunks/{update-DDCJ2EDT.js → update-7VFELUTD.js} +5 -5
- package/dist/commands/build/index.js +10 -10
- package/dist/commands/deploy/index.js +11 -11
- package/dist/commands/dev/index.js +9 -9
- package/dist/commands/env/index.js +5 -5
- package/dist/commands/link/index.js +8 -8
- package/dist/commands/list/index.js +4 -4
- package/dist/commands-bulk.js +380 -239
- package/dist/index.js +9 -9
- package/dist/version.mjs +1 -1
- package/package.json +14 -14
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
handleRulesApiError,
|
|
10
10
|
parseRulesFlagsAndScope,
|
|
11
11
|
rulesCollectionPath
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-G4YL2LRL.js";
|
|
13
|
+
import "./chunk-IAOBSXJ5.js";
|
|
14
14
|
import "./chunk-D7MGZH35.js";
|
|
15
15
|
import {
|
|
16
16
|
validateJsonOutput
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
AGENT_REASON
|
|
23
23
|
} from "./chunk-QH7WYDEP.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-6V37RSQB.js";
|
|
25
|
+
import "./chunk-BHMMV3HE.js";
|
|
26
26
|
import "./chunk-Q77ALSXR.js";
|
|
27
27
|
import {
|
|
28
28
|
buildCommandWithGlobalFlags,
|
|
29
29
|
outputAgentError
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-X5UROEGN.js";
|
|
31
31
|
import "./chunk-N2T234LO.js";
|
|
32
32
|
import "./chunk-GGP5R3FU.js";
|
|
33
33
|
import {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
getPreservedArgsForEnvPull,
|
|
15
15
|
outputActionRequired,
|
|
16
16
|
outputAgentError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-X5UROEGN.js";
|
|
18
18
|
import {
|
|
19
19
|
require_end_of_stream,
|
|
20
20
|
require_lib as require_lib2,
|
|
@@ -29924,7 +29924,7 @@ var require_detect_builders = __commonJS({
|
|
|
29924
29924
|
}
|
|
29925
29925
|
}
|
|
29926
29926
|
}
|
|
29927
|
-
if (frontendBuilder && ((0, import_is_official_runtime.isOfficialRuntime)("express", frontendBuilder.use) || (0, import_is_official_runtime.isOfficialRuntime)("hono", frontendBuilder.use) || (0, import_is_official_runtime.isOfficialRuntime)("backends", frontendBuilder.use))) {
|
|
29927
|
+
if (frontendBuilder && ((0, import_is_official_runtime.isOfficialRuntime)("express", frontendBuilder.use) || (0, import_is_official_runtime.isOfficialRuntime)("hono", frontendBuilder.use) || (0, import_is_official_runtime.isOfficialRuntime)("python", frontendBuilder.use) || (0, import_is_official_runtime.isOfficialRuntime)("backends", frontendBuilder.use))) {
|
|
29928
29928
|
return null;
|
|
29929
29929
|
}
|
|
29930
29930
|
if (unusedFunctions.size) {
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
} from "./chunk-QH7WYDEP.js";
|
|
11
11
|
import {
|
|
12
12
|
getLocalPathConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2CYJVSAM.js";
|
|
14
14
|
import {
|
|
15
15
|
getScope
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6V37RSQB.js";
|
|
17
17
|
import {
|
|
18
18
|
VERCEL_DIR_PROJECT,
|
|
19
19
|
VERCEL_DIR_README,
|
|
@@ -48,12 +48,12 @@ import {
|
|
|
48
48
|
selectAndParseRemoteUrl,
|
|
49
49
|
selectOrg,
|
|
50
50
|
writeServicesConfig
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-BHMMV3HE.js";
|
|
52
52
|
import {
|
|
53
53
|
buildCommandWithGlobalFlags,
|
|
54
54
|
outputAgentError,
|
|
55
55
|
shouldEmitNonInteractiveCommandError
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-X5UROEGN.js";
|
|
57
57
|
import {
|
|
58
58
|
table
|
|
59
59
|
} from "./chunk-LYCSVJIX.js";
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveAlertsScope
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IAOBSXJ5.js";
|
|
10
10
|
import {
|
|
11
11
|
handleValidationError,
|
|
12
12
|
outputError,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
buildCommandWithGlobalFlags,
|
|
20
20
|
outputAgentError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-X5UROEGN.js";
|
|
22
22
|
|
|
23
23
|
// src/commands/alerts/rules/parse-scope.ts
|
|
24
24
|
async function parseRulesFlagsAndScope(client, flags, jsonOutput) {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-V5P25P7F.js";
|
|
10
10
|
import {
|
|
11
11
|
getLocalPathConfig
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2CYJVSAM.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_VERCEL_CONFIG_FILENAME,
|
|
15
15
|
VERCEL_CONFIG_EXTENSIONS,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
useKeypress,
|
|
37
37
|
usePrefix,
|
|
38
38
|
useState
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-BHMMV3HE.js";
|
|
40
40
|
import {
|
|
41
41
|
require_load_json_file
|
|
42
42
|
} from "./chunk-Q77ALSXR.js";
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
} from "./chunk-QH7WYDEP.js";
|
|
13
13
|
import {
|
|
14
14
|
getScope
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6V37RSQB.js";
|
|
16
16
|
import {
|
|
17
17
|
getLinkedProject,
|
|
18
18
|
getProjectByNameOrId
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BHMMV3HE.js";
|
|
20
20
|
import {
|
|
21
21
|
buildCommandWithGlobalFlags,
|
|
22
22
|
outputAgentError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-X5UROEGN.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectNotFound,
|
|
26
26
|
isAPIError
|
|
@@ -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-
|
|
9
|
+
} from "./chunk-4FG6Q2EM.js";
|
|
10
10
|
import {
|
|
11
11
|
autoInstallVercelPlugin
|
|
12
12
|
} from "./chunk-BRQ6PX3U.js";
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
} from "./chunk-64IF634X.js";
|
|
16
16
|
import {
|
|
17
17
|
ensureLink
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QMMMXYOY.js";
|
|
19
19
|
import {
|
|
20
20
|
pullCommand
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ATBH7KGL.js";
|
|
22
22
|
import {
|
|
23
23
|
help
|
|
24
24
|
} from "./chunk-3NR6OYDV.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
envPullCommandLogic,
|
|
29
29
|
humanizePath,
|
|
30
30
|
parseTarget
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-BHMMV3HE.js";
|
|
32
32
|
import {
|
|
33
33
|
TelemetryClient
|
|
34
34
|
} from "./chunk-Q77ALSXR.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
progress,
|
|
11
11
|
require_dist as require_dist2,
|
|
12
12
|
sleep
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HCJRHKSM.js";
|
|
14
14
|
import {
|
|
15
15
|
suggestNextCommands
|
|
16
16
|
} from "./chunk-LKBI43XK.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-TCF6MGBY.js";
|
|
21
21
|
import {
|
|
22
22
|
CommandTimeout
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UXP2N2WD.js";
|
|
24
24
|
import {
|
|
25
25
|
showPluginTipIfNeeded
|
|
26
26
|
} from "./chunk-BRQ6PX3U.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-64IF634X.js";
|
|
30
30
|
import {
|
|
31
31
|
getScope
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6V37RSQB.js";
|
|
33
33
|
import {
|
|
34
34
|
getProjectByNameOrId,
|
|
35
35
|
param,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
require_dist as require_dist3,
|
|
38
38
|
require_pluralize,
|
|
39
39
|
ua_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-BHMMV3HE.js";
|
|
41
41
|
import {
|
|
42
42
|
require_lib
|
|
43
43
|
} from "./chunk-N2T234LO.js";
|
|
@@ -2916,12 +2916,45 @@ async function createCertForCns(client, cns, context) {
|
|
|
2916
2916
|
}
|
|
2917
2917
|
}
|
|
2918
2918
|
|
|
2919
|
-
// src/util/domains/
|
|
2919
|
+
// src/util/domains/add-domain.ts
|
|
2920
2920
|
var import_chalk8 = __toESM(require_source(), 1);
|
|
2921
|
+
var import_async_retry4 = __toESM(require_dist2(), 1);
|
|
2922
|
+
async function addDomain(client, domain, contextName) {
|
|
2923
|
+
output_manager_default.spinner(`Adding domain ${domain} under ${import_chalk8.default.bold(contextName)}`);
|
|
2924
|
+
const addedDomain = await performAddRequest(client, domain);
|
|
2925
|
+
return addedDomain;
|
|
2926
|
+
}
|
|
2927
|
+
async function performAddRequest(client, domainName) {
|
|
2928
|
+
return (0, import_async_retry4.default)(
|
|
2929
|
+
async () => {
|
|
2930
|
+
try {
|
|
2931
|
+
const { domain } = await client.fetch("/v4/domains", {
|
|
2932
|
+
body: { name: domainName },
|
|
2933
|
+
method: "POST"
|
|
2934
|
+
});
|
|
2935
|
+
return domain;
|
|
2936
|
+
} catch (err) {
|
|
2937
|
+
if (isAPIError(err)) {
|
|
2938
|
+
if (err.code === "invalid_name") {
|
|
2939
|
+
return new InvalidDomain(domainName);
|
|
2940
|
+
}
|
|
2941
|
+
if (err.code === "domain_already_exists") {
|
|
2942
|
+
return new DomainAlreadyExists(domainName);
|
|
2943
|
+
}
|
|
2944
|
+
}
|
|
2945
|
+
throw err;
|
|
2946
|
+
}
|
|
2947
|
+
},
|
|
2948
|
+
{ retries: 5, maxTimeout: 8e3 }
|
|
2949
|
+
);
|
|
2950
|
+
}
|
|
2951
|
+
|
|
2952
|
+
// src/util/domains/get-domain-by-name.ts
|
|
2953
|
+
var import_chalk9 = __toESM(require_source(), 1);
|
|
2921
2954
|
async function getDomainByName(client, contextName, domainName, options = {}) {
|
|
2922
2955
|
if (!options.ignoreWait) {
|
|
2923
2956
|
output_manager_default.spinner(
|
|
2924
|
-
`Fetching domain ${domainName} under ${
|
|
2957
|
+
`Fetching domain ${domainName} under ${import_chalk9.default.bold(contextName)}`
|
|
2925
2958
|
);
|
|
2926
2959
|
}
|
|
2927
2960
|
try {
|
|
@@ -2951,39 +2984,6 @@ function isWildcardAlias(alias) {
|
|
|
2951
2984
|
// src/util/domains/setup-domain.ts
|
|
2952
2985
|
var import_tldts = __toESM(require_cjs(), 1);
|
|
2953
2986
|
|
|
2954
|
-
// src/util/domains/add-domain.ts
|
|
2955
|
-
var import_chalk9 = __toESM(require_source(), 1);
|
|
2956
|
-
var import_async_retry4 = __toESM(require_dist2(), 1);
|
|
2957
|
-
async function addDomain(client, domain, contextName) {
|
|
2958
|
-
output_manager_default.spinner(`Adding domain ${domain} under ${import_chalk9.default.bold(contextName)}`);
|
|
2959
|
-
const addedDomain = await performAddRequest(client, domain);
|
|
2960
|
-
return addedDomain;
|
|
2961
|
-
}
|
|
2962
|
-
async function performAddRequest(client, domainName) {
|
|
2963
|
-
return (0, import_async_retry4.default)(
|
|
2964
|
-
async () => {
|
|
2965
|
-
try {
|
|
2966
|
-
const { domain } = await client.fetch("/v4/domains", {
|
|
2967
|
-
body: { name: domainName },
|
|
2968
|
-
method: "POST"
|
|
2969
|
-
});
|
|
2970
|
-
return domain;
|
|
2971
|
-
} catch (err) {
|
|
2972
|
-
if (isAPIError(err)) {
|
|
2973
|
-
if (err.code === "invalid_name") {
|
|
2974
|
-
return new InvalidDomain(domainName);
|
|
2975
|
-
}
|
|
2976
|
-
if (err.code === "domain_already_exists") {
|
|
2977
|
-
return new DomainAlreadyExists(domainName);
|
|
2978
|
-
}
|
|
2979
|
-
}
|
|
2980
|
-
throw err;
|
|
2981
|
-
}
|
|
2982
|
-
},
|
|
2983
|
-
{ retries: 5, maxTimeout: 8e3 }
|
|
2984
|
-
);
|
|
2985
|
-
}
|
|
2986
|
-
|
|
2987
2987
|
// src/util/domains/maybe-get-domain-by-name.ts
|
|
2988
2988
|
async function maybeGetDomainByName(client, contextName, domainName) {
|
|
2989
2989
|
const maybeDomain = await getDomainByName(client, contextName, domainName);
|
|
@@ -3064,11 +3064,11 @@ export {
|
|
|
3064
3064
|
Now,
|
|
3065
3065
|
require_cjs,
|
|
3066
3066
|
createCertForCns,
|
|
3067
|
+
addDomain,
|
|
3067
3068
|
getDomainByName,
|
|
3068
3069
|
getDomainPrice,
|
|
3069
3070
|
getDomainStatus,
|
|
3070
3071
|
pollForOrder,
|
|
3071
|
-
getDomain,
|
|
3072
3072
|
purchaseDomain,
|
|
3073
3073
|
collectContactInformation,
|
|
3074
3074
|
purchaseDomainIfAvailable,
|
|
@@ -7,17 +7,17 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getUpdateCommandInfo,
|
|
9
9
|
isGlobal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SBYEIQ32.js";
|
|
11
11
|
import {
|
|
12
12
|
getGlobalPathConfig,
|
|
13
13
|
progress,
|
|
14
14
|
writeToConfigFile
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HCJRHKSM.js";
|
|
16
16
|
import {
|
|
17
17
|
apiCommand,
|
|
18
18
|
listSubcommand2 as listSubcommand,
|
|
19
19
|
loginCommand
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UXP2N2WD.js";
|
|
21
21
|
import {
|
|
22
22
|
require_semver
|
|
23
23
|
} from "./chunk-IB5L4LKZ.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-3NR6OYDV.js";
|
|
27
27
|
import {
|
|
28
28
|
login
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BHMMV3HE.js";
|
|
30
30
|
import {
|
|
31
31
|
TelemetryClient,
|
|
32
32
|
isNativeBinaryInstall
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
} from "./chunk-QH7WYDEP.js";
|
|
11
11
|
import {
|
|
12
12
|
getLinkedProject
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BHMMV3HE.js";
|
|
14
14
|
import {
|
|
15
15
|
buildCommandWithYes,
|
|
16
16
|
outputAgentError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-X5UROEGN.js";
|
|
18
18
|
import {
|
|
19
19
|
getFlagsSpecification,
|
|
20
20
|
getGlobalFlagsOnlyFromArgs,
|
|
@@ -7,16 +7,16 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
printProjectNotFoundError,
|
|
9
9
|
setupAndLink
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FMBDRMTZ.js";
|
|
11
11
|
import {
|
|
12
12
|
getLinkedProject,
|
|
13
13
|
param,
|
|
14
14
|
resolveProjectCwd
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BHMMV3HE.js";
|
|
16
16
|
import {
|
|
17
17
|
buildCommandWithYes,
|
|
18
18
|
outputActionRequired
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-X5UROEGN.js";
|
|
20
20
|
import {
|
|
21
21
|
getCommandName,
|
|
22
22
|
getCommandNamePlain
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
buildCommand,
|
|
27
27
|
pullCommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ATBH7KGL.js";
|
|
29
29
|
import {
|
|
30
30
|
envCommand
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-BHMMV3HE.js";
|
|
32
32
|
import {
|
|
33
33
|
confirmOption,
|
|
34
34
|
deploymentOption,
|
|
@@ -2498,7 +2498,7 @@ var addSubcommand5 = {
|
|
|
2498
2498
|
},
|
|
2499
2499
|
{
|
|
2500
2500
|
name: "project",
|
|
2501
|
-
required:
|
|
2501
|
+
required: false
|
|
2502
2502
|
}
|
|
2503
2503
|
],
|
|
2504
2504
|
options: [
|
|
@@ -289,6 +289,17 @@ function outputAgentError(client, payload, exitCode = 1) {
|
|
|
289
289
|
`);
|
|
290
290
|
process.exit(exitCode);
|
|
291
291
|
}
|
|
292
|
+
function outputAgentSuccess(client, payload, exitCode = 0) {
|
|
293
|
+
if (!shouldEmitNonInteractiveCommandError(client)) {
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
if (!payload.hint && payload.next?.length) {
|
|
297
|
+
payload.hint = "Follow up with one of the commands in next[].";
|
|
298
|
+
}
|
|
299
|
+
client.stdout.write(`${JSON.stringify(payload, null, 2)}
|
|
300
|
+
`);
|
|
301
|
+
process.exit(exitCode);
|
|
302
|
+
}
|
|
292
303
|
function buildNextStepsForEdgeConfig(client) {
|
|
293
304
|
return [
|
|
294
305
|
{
|
|
@@ -483,6 +494,7 @@ export {
|
|
|
483
494
|
argvHasNonInteractive,
|
|
484
495
|
shouldEmitNonInteractiveCommandError,
|
|
485
496
|
outputAgentError,
|
|
497
|
+
outputAgentSuccess,
|
|
486
498
|
exitWithNonInteractiveError,
|
|
487
499
|
openUrlInBrowserCommand
|
|
488
500
|
};
|
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
findSourceVercelConfigFile,
|
|
12
12
|
getVercelConfigPath,
|
|
13
13
|
normalizeConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BHMMV3HE.js";
|
|
15
15
|
import "./chunk-Q77ALSXR.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-X5UROEGN.js";
|
|
17
17
|
import "./chunk-N2T234LO.js";
|
|
18
18
|
import "./chunk-GGP5R3FU.js";
|
|
19
19
|
import "./chunk-MYWLF3BZ.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
parseSubcommandArgs,
|
|
16
16
|
resolveRoutes,
|
|
17
17
|
withGlobalFlags
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QM7D5H2G.js";
|
|
19
19
|
import {
|
|
20
20
|
deleteSubcommand
|
|
21
21
|
} from "./chunk-IB56QKCM.js";
|
|
@@ -27,11 +27,11 @@ import {
|
|
|
27
27
|
AGENT_REASON,
|
|
28
28
|
AGENT_STATUS
|
|
29
29
|
} from "./chunk-QH7WYDEP.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-BHMMV3HE.js";
|
|
31
31
|
import "./chunk-Q77ALSXR.js";
|
|
32
32
|
import {
|
|
33
33
|
outputAgentError
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-X5UROEGN.js";
|
|
35
35
|
import "./chunk-N2T234LO.js";
|
|
36
36
|
import "./chunk-GGP5R3FU.js";
|
|
37
37
|
import "./chunk-MYWLF3BZ.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
parseSubcommandArgs,
|
|
18
18
|
resolveRoute,
|
|
19
19
|
withGlobalFlags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QM7D5H2G.js";
|
|
21
21
|
import {
|
|
22
22
|
disableSubcommand
|
|
23
23
|
} from "./chunk-IB56QKCM.js";
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
} from "./chunk-64IF634X.js";
|
|
27
27
|
import "./chunk-VXYGCOKL.js";
|
|
28
28
|
import "./chunk-QH7WYDEP.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-BHMMV3HE.js";
|
|
30
30
|
import "./chunk-Q77ALSXR.js";
|
|
31
31
|
import {
|
|
32
32
|
outputAgentError
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-X5UROEGN.js";
|
|
34
34
|
import "./chunk-N2T234LO.js";
|
|
35
35
|
import "./chunk-GGP5R3FU.js";
|
|
36
36
|
import "./chunk-MYWLF3BZ.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
parseSubcommandArgs,
|
|
18
18
|
printDiffSummary,
|
|
19
19
|
withGlobalFlags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QM7D5H2G.js";
|
|
21
21
|
import {
|
|
22
22
|
discardSubcommand
|
|
23
23
|
} from "./chunk-IB56QKCM.js";
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
} from "./chunk-64IF634X.js";
|
|
27
27
|
import "./chunk-VXYGCOKL.js";
|
|
28
28
|
import "./chunk-QH7WYDEP.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-BHMMV3HE.js";
|
|
30
30
|
import "./chunk-Q77ALSXR.js";
|
|
31
31
|
import {
|
|
32
32
|
outputAgentError
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-X5UROEGN.js";
|
|
34
34
|
import "./chunk-N2T234LO.js";
|
|
35
35
|
import "./chunk-GGP5R3FU.js";
|
|
36
36
|
import "./chunk-MYWLF3BZ.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
printRouteConfig,
|
|
20
20
|
routingRuleToCurrentRoute,
|
|
21
21
|
runInteractiveEditLoop
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NRP6ZKXJ.js";
|
|
23
23
|
import {
|
|
24
24
|
getRouteVersions
|
|
25
25
|
} from "./chunk-AHU7WNL2.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
resolveRoute,
|
|
32
32
|
shellQuoteRouteIdentifierForSuggestion,
|
|
33
33
|
withGlobalFlags
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-QM7D5H2G.js";
|
|
35
35
|
import {
|
|
36
36
|
editSubcommand
|
|
37
37
|
} from "./chunk-IB56QKCM.js";
|
|
@@ -40,11 +40,11 @@ import {
|
|
|
40
40
|
} from "./chunk-64IF634X.js";
|
|
41
41
|
import "./chunk-VXYGCOKL.js";
|
|
42
42
|
import "./chunk-QH7WYDEP.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-BHMMV3HE.js";
|
|
44
44
|
import "./chunk-Q77ALSXR.js";
|
|
45
45
|
import {
|
|
46
46
|
outputAgentError
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-X5UROEGN.js";
|
|
48
48
|
import "./chunk-N2T234LO.js";
|
|
49
49
|
import "./chunk-GGP5R3FU.js";
|
|
50
50
|
import "./chunk-MYWLF3BZ.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
parseSubcommandArgs,
|
|
18
18
|
resolveRoute,
|
|
19
19
|
withGlobalFlags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QM7D5H2G.js";
|
|
21
21
|
import {
|
|
22
22
|
enableSubcommand
|
|
23
23
|
} from "./chunk-IB56QKCM.js";
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
} from "./chunk-64IF634X.js";
|
|
27
27
|
import "./chunk-VXYGCOKL.js";
|
|
28
28
|
import "./chunk-QH7WYDEP.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-BHMMV3HE.js";
|
|
30
30
|
import "./chunk-Q77ALSXR.js";
|
|
31
31
|
import {
|
|
32
32
|
outputAgentError
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-X5UROEGN.js";
|
|
34
34
|
import "./chunk-N2T234LO.js";
|
|
35
35
|
import "./chunk-GGP5R3FU.js";
|
|
36
36
|
import "./chunk-MYWLF3BZ.js";
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
getRoutes,
|
|
10
10
|
parseSubcommandArgs,
|
|
11
11
|
withGlobalFlags
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QM7D5H2G.js";
|
|
13
13
|
import {
|
|
14
14
|
exportSubcommand
|
|
15
15
|
} from "./chunk-IB56QKCM.js";
|
|
16
16
|
import "./chunk-QH7WYDEP.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-BHMMV3HE.js";
|
|
18
18
|
import "./chunk-Q77ALSXR.js";
|
|
19
19
|
import {
|
|
20
20
|
outputAgentError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-X5UROEGN.js";
|
|
22
22
|
import "./chunk-N2T234LO.js";
|
|
23
23
|
import "./chunk-GGP5R3FU.js";
|
|
24
24
|
import "./chunk-MYWLF3BZ.js";
|