vercel 55.0.0 → 56.0.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-BQGGX36J.js → add-MD247HM7.js} +5 -5
- package/dist/chunks/{add-YRFK663I.js → add-YN76XNHI.js} +6 -6
- package/dist/chunks/{chunk-A5QK4X3Z.js → chunk-2BZVY6SF.js} +4 -4
- package/dist/chunks/{chunk-GVZKC6PS.js → chunk-36OUS2KE.js} +1 -1
- package/dist/chunks/{chunk-IIUE7CDZ.js → chunk-3JOLICSO.js} +1 -1
- package/dist/chunks/{chunk-EUARKVCA.js → chunk-75HDPY6N.js} +2 -2
- package/dist/chunks/{chunk-AA3E7OLF.js → chunk-C6E2RJS7.js} +1 -1
- package/dist/chunks/{chunk-2QBF3ZL3.js → chunk-CB3I3QIT.js} +3 -4
- package/dist/chunks/{chunk-ZQEZYHPJ.js → chunk-DO3V6PZD.js} +4 -4
- package/dist/chunks/{chunk-QKR7GNAK.js → chunk-DREO3DFB.js} +6 -6
- package/dist/chunks/{chunk-2XTV2FM7.js → chunk-FN36GZDS.js} +1 -1
- package/dist/chunks/{chunk-QH7WYDEP.js → chunk-IC4YEIGW.js} +7 -0
- package/dist/chunks/{chunk-AW6V5LOC.js → chunk-JHZG2MPW.js} +4 -4
- package/dist/chunks/{chunk-OKWMOW2F.js → chunk-KODCUW77.js} +5 -5
- package/dist/chunks/{chunk-LHY5EFII.js → chunk-KSJ4FNUG.js} +3 -3
- package/dist/chunks/{chunk-X36ADWA5.js → chunk-MBH4DFF7.js} +1 -1
- package/dist/chunks/{chunk-6CRRXESK.js → chunk-N4VWB5RV.js} +1 -1
- package/dist/chunks/{chunk-D43MOSMZ.js → chunk-NZ73KKYG.js} +165 -183
- package/dist/chunks/{chunk-HOYOJUQZ.js → chunk-ORKY33ZK.js} +4 -4
- package/dist/chunks/{chunk-SENGDDFO.js → chunk-T7EIXPC5.js} +1 -1
- package/dist/chunks/{chunk-XHC5YRFY.js → chunk-THMFJODG.js} +33 -7
- package/dist/chunks/{chunk-MGUQN3V3.js → chunk-TNDFVAZV.js} +4 -4
- package/dist/chunks/{chunk-VTA3KZUX.js → chunk-VPDJOK2C.js} +3 -3
- package/dist/chunks/{chunk-OCEM4YAQ.js → chunk-VSD5BID5.js} +1 -1
- package/dist/chunks/{chunk-ZZIAWRCX.js → chunk-W346YNDN.js} +18 -0
- package/dist/chunks/{chunk-EJV2KFOF.js → chunk-ZHDXN5V3.js} +3 -3
- package/dist/chunks/{compile-vercel-config-3RYUGKGU.js → compile-vercel-config-65QWHKPO.js} +2 -2
- package/dist/chunks/{delete-UQKVMHVV.js → delete-NPEJGNTV.js} +5 -5
- package/dist/chunks/{disable-GUK4VHQY.js → disable-RH3MH7PH.js} +5 -5
- package/dist/chunks/{discard-DTI36R2T.js → discard-IJBFO24S.js} +5 -5
- package/dist/chunks/{edit-ED4LM54G.js → edit-GMLOKGHO.js} +6 -6
- package/dist/chunks/{enable-RAWDG7GZ.js → enable-QCTL7ISO.js} +5 -5
- package/dist/chunks/{export-U6OBSYVP.js → export-6ERWU54A.js} +9 -8
- package/dist/chunks/{image-LIJI6QJY.js → image-XUMTOUQS.js} +5 -5
- package/dist/chunks/{inspect-7LGTAPH3.js → inspect-7UPFOAJO.js} +5 -5
- package/dist/chunks/{inspect-3SEYQNWT.js → inspect-F6LEST4Y.js} +5 -5
- package/dist/chunks/{inspect-25D5G5FX.js → inspect-OKOUOOWW.js} +5 -5
- package/dist/chunks/{inspect-IQD2ULLP.js → inspect-ZS4U24NA.js} +5 -5
- package/dist/chunks/{list-2IJHE2AC.js → list-BTMO3CXU.js} +5 -5
- package/dist/chunks/{list-I25HBKWF.js → list-ZK7Q3UHB.js} +3 -3
- package/dist/chunks/{login-N4DIZZWE.js → login-POFRYQZ6.js} +5 -5
- package/dist/chunks/{ls-HN3SUOPA.js → ls-D5Z4IWMU.js} +6 -6
- package/dist/chunks/{ls-S7YPR3OS.js → ls-EXRMNZUT.js} +5 -5
- package/dist/chunks/{ls-TFOKQKY3.js → ls-JGNNPYUA.js} +5 -5
- package/dist/chunks/{ls-2VXZPNMR.js → ls-Z2TCQW5W.js} +5 -5
- package/dist/chunks/{publish-ZTGB4XE2.js → publish-ED2XVYSE.js} +5 -5
- package/dist/chunks/{query-2UK5BV4B.js → query-6XMBJTPX.js} +3 -3
- package/dist/chunks/{reorder-FM755TJK.js → reorder-7B6HZCOZ.js} +5 -5
- package/dist/chunks/{restore-NXQJMPMT.js → restore-47ZDRYQT.js} +5 -5
- package/dist/chunks/{rm-III6VASE.js → rm-4IY6QGHF.js} +5 -5
- package/dist/chunks/{rm-XJMPAJNP.js → rm-AA7WYBZ5.js} +5 -5
- package/dist/chunks/{rm-MPC5DPOS.js → rm-NGTPTPZK.js} +6 -6
- package/dist/chunks/{rule-inspect-BJGXMAO5.js → rule-inspect-FNX6P4LZ.js} +6 -6
- package/dist/chunks/{rules-FSNWMWJH.js → rules-MMCCBGQJ.js} +8 -8
- package/dist/chunks/{schema-NR6DGYCB.js → schema-JSK7S7HL.js} +3 -3
- package/dist/chunks/{tags-RVHMONZN.js → tags-KNCSBTIH.js} +4 -4
- package/dist/chunks/{update-55OM2454.js → update-JEFLJ3TH.js} +6 -6
- package/dist/commands/build/index.js +31 -16
- package/dist/commands/deploy/index.js +13 -13
- package/dist/commands/dev/index.js +10 -10
- package/dist/commands/env/index.js +8 -18
- package/dist/commands/link/index.js +10 -10
- package/dist/commands/list/index.js +4 -4
- package/dist/commands-bulk.js +4031 -2662
- package/dist/index.js +10 -20
- package/dist/version.mjs +1 -1
- package/package.json +20 -19
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
handleVcrApiError,
|
|
10
10
|
resolveVcrScope,
|
|
11
11
|
validateVcrJsonOutput
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TNDFVAZV.js";
|
|
13
13
|
import {
|
|
14
14
|
outputError
|
|
15
15
|
} from "./chunk-BUZRVER7.js";
|
|
@@ -21,13 +21,13 @@ import "./chunk-7C7MMT4J.js";
|
|
|
21
21
|
import "./chunk-RLJA2KI7.js";
|
|
22
22
|
import {
|
|
23
23
|
AGENT_REASON
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-IC4YEIGW.js";
|
|
25
|
+
import "./chunk-VSD5BID5.js";
|
|
26
|
+
import "./chunk-THMFJODG.js";
|
|
27
27
|
import {
|
|
28
28
|
buildCommandWithGlobalFlags,
|
|
29
29
|
outputAgentError
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-CB3I3QIT.js";
|
|
31
31
|
import "./chunk-ECCWJHC6.js";
|
|
32
32
|
import {
|
|
33
33
|
getFlagsSpecification,
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
handleRulesApiError,
|
|
10
10
|
parseRulesFlagsAndScope,
|
|
11
11
|
rulesCollectionPath
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-KSJ4FNUG.js";
|
|
13
|
+
import "./chunk-JHZG2MPW.js";
|
|
14
14
|
import "./chunk-BUZRVER7.js";
|
|
15
15
|
import {
|
|
16
16
|
validateJsonOutput
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
} from "./chunk-22GUZ5KG.js";
|
|
21
21
|
import {
|
|
22
22
|
AGENT_REASON
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-IC4YEIGW.js";
|
|
24
|
+
import "./chunk-VSD5BID5.js";
|
|
25
|
+
import "./chunk-THMFJODG.js";
|
|
26
26
|
import {
|
|
27
27
|
buildCommandWithGlobalFlags,
|
|
28
28
|
outputAgentError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-CB3I3QIT.js";
|
|
30
30
|
import "./chunk-ECCWJHC6.js";
|
|
31
31
|
import {
|
|
32
32
|
getFlagsSpecification,
|
|
@@ -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-N4VWB5RV.js";
|
|
10
10
|
import {
|
|
11
11
|
autoInstallVercelPlugin
|
|
12
12
|
} from "./chunk-NJUPUGOE.js";
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
} from "./chunk-64IF634X.js";
|
|
16
16
|
import {
|
|
17
17
|
ensureLink
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZHDXN5V3.js";
|
|
19
19
|
import {
|
|
20
20
|
pullCommand
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3JOLICSO.js";
|
|
22
22
|
import {
|
|
23
23
|
help
|
|
24
24
|
} from "./chunk-QY63UKTP.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
envPullCommandLogic,
|
|
29
29
|
humanizePath,
|
|
30
30
|
parseTarget
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-THMFJODG.js";
|
|
32
32
|
import {
|
|
33
33
|
TelemetryClient
|
|
34
34
|
} from "./chunk-ECCWJHC6.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
PromptBackError,
|
|
12
12
|
PromptCanceledError,
|
|
13
13
|
getLocalPathConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-C6E2RJS7.js";
|
|
15
15
|
import {
|
|
16
16
|
DEFAULT_VERCEL_CONFIG_FILENAME,
|
|
17
17
|
VERCEL_CONFIG_EXTENSIONS,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
useKeypress,
|
|
39
39
|
usePrefix,
|
|
40
40
|
useState
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-THMFJODG.js";
|
|
42
42
|
import {
|
|
43
43
|
require_load_json_file
|
|
44
44
|
} from "./chunk-ECCWJHC6.js";
|
|
@@ -38,7 +38,7 @@ var GLOBAL_FLAG_NAMES = /* @__PURE__ */ new Set([
|
|
|
38
38
|
"-T"
|
|
39
39
|
// --token/-t are intentionally excluded and stripped via stripSensitiveAuthArgs.
|
|
40
40
|
]);
|
|
41
|
-
var
|
|
41
|
+
var GLOBAL_FLAGS_BOOLEAN = /* @__PURE__ */ new Set(["--yes", "-y", "--non-interactive"]);
|
|
42
42
|
var GLOBAL_FLAG_SHORTHANDS = {
|
|
43
43
|
"-y": "--yes",
|
|
44
44
|
"-S": "--scope",
|
|
@@ -55,7 +55,7 @@ function getGlobalFlagsFromArgv(argv) {
|
|
|
55
55
|
const name = arg.startsWith("--") ? arg.split("=")[0] : arg;
|
|
56
56
|
if (GLOBAL_FLAG_NAMES.has(name)) {
|
|
57
57
|
out.push(arg);
|
|
58
|
-
const takesSeparateValue = !
|
|
58
|
+
const takesSeparateValue = !GLOBAL_FLAGS_BOOLEAN.has(name) && !arg.includes("=") && i + 1 < args.length && !args[i + 1].startsWith("-");
|
|
59
59
|
if (takesSeparateValue) {
|
|
60
60
|
out.push(args[i + 1]);
|
|
61
61
|
i++;
|
|
@@ -71,7 +71,7 @@ function omitGlobalFlagsFromArgs(args) {
|
|
|
71
71
|
const arg = safeArgs[i];
|
|
72
72
|
const name = arg.startsWith("--") ? arg.split("=")[0] : arg;
|
|
73
73
|
if (GLOBAL_FLAG_NAMES.has(name)) {
|
|
74
|
-
const skipSeparateValue = !
|
|
74
|
+
const skipSeparateValue = !GLOBAL_FLAGS_BOOLEAN.has(name) && !arg.includes("=") && i + 1 < safeArgs.length && !safeArgs[i + 1].startsWith("-");
|
|
75
75
|
if (skipSeparateValue) {
|
|
76
76
|
i++;
|
|
77
77
|
}
|
|
@@ -529,7 +529,6 @@ function openUrlInBrowserCommand(url) {
|
|
|
529
529
|
|
|
530
530
|
export {
|
|
531
531
|
buildCommandWithYes,
|
|
532
|
-
getGlobalFlagsFromArgv,
|
|
533
532
|
omitGlobalFlagsFromArgs,
|
|
534
533
|
buildIntegrationCommandTailFromArgv,
|
|
535
534
|
buildCommandWithGlobalFlags,
|
|
@@ -7,17 +7,17 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getUpdateCommandInfo,
|
|
9
9
|
isGlobal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MBH4DFF7.js";
|
|
11
11
|
import {
|
|
12
12
|
getGlobalPathConfig,
|
|
13
13
|
progress,
|
|
14
14
|
writeToConfigFile
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-75HDPY6N.js";
|
|
16
16
|
import {
|
|
17
17
|
apiCommand,
|
|
18
18
|
listSubcommand3 as listSubcommand,
|
|
19
19
|
loginCommand
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NZ73KKYG.js";
|
|
21
21
|
import {
|
|
22
22
|
require_semver
|
|
23
23
|
} from "./chunk-IB5L4LKZ.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-QY63UKTP.js";
|
|
27
27
|
import {
|
|
28
28
|
login
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-THMFJODG.js";
|
|
30
30
|
import {
|
|
31
31
|
TelemetryClient,
|
|
32
32
|
isNativeBinaryInstall
|
|
@@ -828,7 +828,7 @@ var editSubcommand = {
|
|
|
828
828
|
var exportSubcommand = {
|
|
829
829
|
name: "export",
|
|
830
830
|
aliases: [],
|
|
831
|
-
description: "Export routes
|
|
831
|
+
description: "Export routes to a vercel.json or vercel.ts file",
|
|
832
832
|
arguments: [
|
|
833
833
|
{
|
|
834
834
|
name: "name-or-id",
|
|
@@ -837,11 +837,11 @@ var exportSubcommand = {
|
|
|
837
837
|
],
|
|
838
838
|
options: [
|
|
839
839
|
{
|
|
840
|
-
name: "
|
|
841
|
-
description: "Output format: json (default) or ts",
|
|
842
|
-
shorthand:
|
|
840
|
+
name: "output",
|
|
841
|
+
description: "Output file format: .json (default) or .ts",
|
|
842
|
+
shorthand: "o",
|
|
843
843
|
type: String,
|
|
844
|
-
argument: "
|
|
844
|
+
argument: "json|ts",
|
|
845
845
|
deprecated: false
|
|
846
846
|
}
|
|
847
847
|
],
|
|
@@ -852,7 +852,7 @@ var exportSubcommand = {
|
|
|
852
852
|
},
|
|
853
853
|
{
|
|
854
854
|
name: "Export as vercel.ts format",
|
|
855
|
-
value: `${packageName} routes export --
|
|
855
|
+
value: `${packageName} routes export --output ts`
|
|
856
856
|
},
|
|
857
857
|
{
|
|
858
858
|
name: "Export a specific route",
|
|
@@ -75,6 +75,13 @@ var AGENT_REASON = {
|
|
|
75
75
|
// AI Gateway
|
|
76
76
|
INVALID_BUDGET: "invalid_budget",
|
|
77
77
|
INVALID_REFRESH_PERIOD: "invalid_refresh_period",
|
|
78
|
+
INVALID_EXPIRATION: "invalid_expiration",
|
|
79
|
+
/**
|
|
80
|
+
* Every selected agent needs explicit `--agent`/`--all` consent (see the
|
|
81
|
+
* payload's skipped[]). `--yes` does not grant it, so this is deliberately
|
|
82
|
+
* not `confirmation_required` — re-running with --yes would loop forever.
|
|
83
|
+
*/
|
|
84
|
+
REQUIRES_CONSENT: "requires_consent",
|
|
78
85
|
// Redirects
|
|
79
86
|
REDIRECT_NOT_FOUND: "redirect_not_found",
|
|
80
87
|
VERSION_NOT_FOUND: "version_not_found",
|
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
} from "./chunk-BUZRVER7.js";
|
|
10
10
|
import {
|
|
11
11
|
AGENT_REASON
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IC4YEIGW.js";
|
|
13
13
|
import {
|
|
14
14
|
getScope
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VSD5BID5.js";
|
|
16
16
|
import {
|
|
17
17
|
getLinkedProject,
|
|
18
18
|
getProjectByNameOrId
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-THMFJODG.js";
|
|
20
20
|
import {
|
|
21
21
|
buildCommandWithGlobalFlags,
|
|
22
22
|
outputAgentError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-CB3I3QIT.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectNotFound,
|
|
26
26
|
isAPIError
|
|
@@ -7,15 +7,15 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
AGENT_REASON,
|
|
9
9
|
AGENT_STATUS
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IC4YEIGW.js";
|
|
11
11
|
import {
|
|
12
12
|
getLocalPathConfig,
|
|
13
13
|
isPromptBackError,
|
|
14
14
|
isPromptCanceledError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-C6E2RJS7.js";
|
|
16
16
|
import {
|
|
17
17
|
getScope
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VSD5BID5.js";
|
|
19
19
|
import {
|
|
20
20
|
table
|
|
21
21
|
} from "./chunk-QEEGXNFK.js";
|
|
@@ -53,12 +53,12 @@ import {
|
|
|
53
53
|
selectAndParseRemoteUrl,
|
|
54
54
|
selectOrg,
|
|
55
55
|
writeServicesConfig
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-THMFJODG.js";
|
|
57
57
|
import {
|
|
58
58
|
buildCommandWithGlobalFlags,
|
|
59
59
|
outputAgentError,
|
|
60
60
|
shouldEmitNonInteractiveCommandError
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-CB3I3QIT.js";
|
|
62
62
|
import {
|
|
63
63
|
printError
|
|
64
64
|
} from "./chunk-EHTPDXTS.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-JHZG2MPW.js";
|
|
10
10
|
import {
|
|
11
11
|
handleValidationError,
|
|
12
12
|
outputError,
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
} from "./chunk-BUZRVER7.js";
|
|
15
15
|
import {
|
|
16
16
|
AGENT_REASON
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IC4YEIGW.js";
|
|
18
18
|
import {
|
|
19
19
|
buildCommandWithGlobalFlags,
|
|
20
20
|
outputAgentError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CB3I3QIT.js";
|
|
22
22
|
|
|
23
23
|
// src/commands/alerts/rules/parse-scope.ts
|
|
24
24
|
async function parseRulesFlagsAndScope(client, flags, jsonOutput) {
|