vercel 58.11.0 → 59.1.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-LLXXGWJZ.js → add-CUGPQYFW.js} +8 -8
- package/dist/chunks/{add-I4TVSKCW.js → add-PP3PJPJV.js} +5 -5
- package/dist/chunks/{add-IFQ74XHE.js → add-PRG4KKYH.js} +9 -11
- package/dist/chunks/{build-6DPTFQKH.js → build-T22GMLY6.js} +8 -8
- package/dist/chunks/{chunk-ELA5VN3A.js → chunk-2MF3ZAVW.js} +13 -4
- package/dist/chunks/{chunk-JDNWPNLS.js → chunk-43DD2KNM.js} +1 -1
- package/dist/chunks/{chunk-LM5S2YN4.js → chunk-4HI7G6KG.js} +1 -1
- package/dist/chunks/{chunk-IM56DJEQ.js → chunk-4JKZ7SRX.js} +4 -4
- package/dist/chunks/{chunk-DJUIGD6C.js → chunk-57G6HBJ4.js} +2 -2
- package/dist/chunks/{chunk-OXJFXZV2.js → chunk-5DVMXOFT.js} +2 -2
- package/dist/chunks/{chunk-EN2JH6AK.js → chunk-7NQLRE5V.js} +1 -1
- package/dist/chunks/{chunk-JLWQWYKO.js → chunk-BBSS3XIW.js} +2 -4
- package/dist/chunks/{chunk-2XR3IS42.js → chunk-BCZFZETZ.js} +5 -5
- package/dist/chunks/{chunk-A7HDIKC2.js → chunk-DAWJOQF6.js} +4 -6
- package/dist/chunks/{chunk-BTKWXOXK.js → chunk-DEB45ND4.js} +3 -3
- package/dist/chunks/{chunk-74IYXJ5O.js → chunk-DOMLWKKZ.js} +38 -15
- package/dist/chunks/{chunk-TEQKKTJQ.js → chunk-F7OXZLY2.js} +2 -2
- package/dist/chunks/{chunk-J6LK45HT.js → chunk-GFCTRJI5.js} +16 -2
- package/dist/chunks/{chunk-O26N2UPI.js → chunk-GGPE5377.js} +1 -1
- package/dist/chunks/{chunk-4LDQIDRM.js → chunk-GMWRTZVZ.js} +9 -1
- package/dist/chunks/{chunk-YP35CTKZ.js → chunk-IKKUCZE7.js} +3 -3
- package/dist/chunks/{chunk-XIG4GH62.js → chunk-JYEO6OJS.js} +188 -102
- package/dist/chunks/{chunk-57E3RXRP.js → chunk-KTLFN5FV.js} +1 -1
- package/dist/chunks/{chunk-D7MYUPY7.js → chunk-LNVZ3T7X.js} +6 -8
- package/dist/chunks/{chunk-UEBYWLPO.js → chunk-M34ZRNDQ.js} +1 -1
- package/dist/chunks/{chunk-2SFMOCWR.js → chunk-PD7ZUXE7.js} +1 -1
- package/dist/chunks/chunk-QCVKGY2A.js +151 -0
- package/dist/chunks/{chunk-MX5JRP6N.js → chunk-QD5NX7RG.js} +1 -1
- package/dist/chunks/{chunk-4N7XLXM2.js → chunk-QQ6PH4RY.js} +1 -0
- package/dist/chunks/{chunk-A5KP5HAI.js → chunk-RIB4S2IB.js} +10 -1
- package/dist/chunks/{chunk-ZX2FSPWV.js → chunk-SJQEGGH7.js} +4 -4
- package/dist/chunks/{chunk-Z3FO2ZSH.js → chunk-SOKQBFF7.js} +622 -88
- package/dist/chunks/{chunk-EA6MVNDR.js → chunk-SQGMTRZD.js} +91 -43
- package/dist/chunks/{chunk-TJJ562C5.js → chunk-TJLBCLEX.js} +15 -0
- package/dist/chunks/{chunk-FKZAFG4D.js → chunk-TM3F7PLR.js} +2 -2
- package/dist/chunks/{chunk-FYXFZ4CY.js → chunk-TNKRSTMB.js} +1 -1
- package/dist/chunks/{chunk-KT4XXKJK.js → chunk-VAFU7DXZ.js} +195 -3
- package/dist/chunks/{chunk-RQ7H43CJ.js → chunk-VDJN4WKH.js} +1 -1
- package/dist/chunks/{chunk-6FUU7WW5.js → chunk-VE545BR3.js} +4483 -2805
- package/dist/chunks/{chunk-B3JTF4CF.js → chunk-WC7IINFV.js} +10 -1
- package/dist/chunks/{chunk-YJCZFVWJ.js → chunk-XZLI27ES.js} +2 -2
- package/dist/chunks/{chunk-EPETZ7OW.js → chunk-ZUVJISHS.js} +3 -3
- package/dist/chunks/{clear-NA74WCNT.js → clear-Z4IKUIN7.js} +5 -5
- package/dist/chunks/{compile-vercel-config-BD4UGPKJ.js → compile-vercel-config-PSVXFAZW.js} +3 -3
- package/dist/chunks/{config-WYUTVPPF.js → config-M5GMZ2X5.js} +8 -8
- package/dist/chunks/{constants-WEQVJSYS.js → constants-YMCRE6IG.js} +1 -1
- package/dist/chunks/{delete-RZ2SVQK6.js → delete-5GRRDJSF.js} +4 -4
- package/dist/chunks/{delete-NFNYQ7LC.js → delete-P4XIBY7T.js} +5 -5
- package/dist/chunks/{disable-DZ7DCWEI.js → disable-NT5NYVO7.js} +4 -4
- package/dist/chunks/{discard-VZ5QNL7B.js → discard-TBNIEAJZ.js} +4 -4
- package/dist/chunks/{edit-RIY7SWIR.js → edit-DJ6MT6HA.js} +5 -5
- package/dist/chunks/{edit-ABJN6BMR.js → edit-UF3D2CCH.js} +5 -5
- package/dist/chunks/{enable-JWPKENHY.js → enable-JTQBQMBO.js} +4 -4
- package/dist/chunks/{export-6IDA3TWA.js → export-OKMRGRVM.js} +4 -4
- package/dist/chunks/{image-DM4ZNQOL.js → image-ARUJH4H5.js} +4 -4
- package/dist/chunks/{import-builders-6NCPTR6R.js → import-builders-3NTMZM64.js} +6 -4
- package/dist/chunks/{inspect-ZKZG7MCO.js → inspect-5NETOGAI.js} +6 -7
- package/dist/chunks/{inspect-6WYHE6JX.js → inspect-CHFKZKKP.js} +5 -5
- package/dist/chunks/{inspect-NLWTMJHW.js → inspect-FXZTQY62.js} +6 -6
- package/dist/chunks/{inspect-Z6VNNFFK.js → inspect-PTXIBSYW.js} +8 -8
- package/dist/chunks/{inspect-KUAM7UKQ.js → inspect-UXP2HDES.js} +5 -5
- package/dist/chunks/{list-ZUFB2CIS.js → list-2WMIVJ2R.js} +15 -10
- package/dist/chunks/{list-2PB3N6FM.js → list-ADI55WKW.js} +6 -7
- package/dist/chunks/{list-GPQI2LGO.js → list-DYCZA2VX.js} +3 -3
- package/dist/chunks/{login-GTZWDE5T.js → login-YCSIQG6B.js} +8 -8
- package/dist/chunks/{ls-YMQ6E7MZ.js → ls-2TKUIUK4.js} +11 -12
- package/dist/chunks/{ls-Z2XKIHA5.js → ls-EOMIQLRH.js} +11 -12
- package/dist/chunks/{ls-AG5UBKCR.js → ls-PQFDGOJL.js} +7 -8
- package/dist/chunks/{ls-ETUPWWLP.js → ls-RZVTIP5U.js} +11 -12
- package/dist/chunks/{ls-HCVYO3FF.js → ls-VIOMDUGW.js} +14 -15
- package/dist/chunks/{open-4XQWNZQD.js → open-JYPWOXQD.js} +5 -5
- package/dist/chunks/{permissions-BJBEONBS.js → permissions-SGJWGEVD.js} +6 -6
- package/dist/chunks/{publish-TVZGIZRP.js → publish-ZUQHJAXL.js} +4 -4
- package/dist/chunks/{push-EJZHZC4Z.js → push-XMVKG5A5.js} +8 -8
- package/dist/chunks/{query-HXMR364K.js → query-ZLJZEGZB.js} +237 -49
- package/dist/chunks/{reorder-VE2PRU24.js → reorder-NVHDWMRU.js} +4 -4
- package/dist/chunks/{reply-4YEXMUWH.js → reply-PUUPUQ3V.js} +5 -5
- package/dist/chunks/{resolve-GZ4KXDU6.js → resolve-5U2LJVE6.js} +5 -5
- package/dist/chunks/{restore-ZY3IJ4S3.js → restore-OXIUY2UI.js} +4 -4
- package/dist/chunks/{rm-IE23BM6V.js → rm-3IOCBNPE.js} +5 -5
- package/dist/chunks/{rm-QS5PIVAO.js → rm-BZNKJRXU.js} +5 -5
- package/dist/chunks/{rm-YIVI23NT.js → rm-OUI4ZB5R.js} +5 -5
- package/dist/chunks/{rm-Y6OROWNK.js → rm-Z2KYJ7XT.js} +8 -8
- package/dist/chunks/{rule-inspect-6NXF565C.js → rule-inspect-ZBJJCDQV.js} +7 -8
- package/dist/chunks/{rules-QOZAWHUO.js → rules-HEGAXXUN.js} +8 -8
- package/dist/chunks/{schema-YJDZ6EOC.js → schema-7GVL3BNP.js} +63 -31
- package/dist/chunks/{schema-ZNPIMQL5.js → schema-ZYIJYA2E.js} +2 -3
- package/dist/chunks/{tags-67LC7TV4.js → tags-3SCWCMNQ.js} +3 -3
- package/dist/chunks/{types-UWI4HETD.js → types-AJHILHO5.js} +2 -4
- package/dist/chunks/{update-YNL7VIL7.js → update-YR2GCCJN.js} +7 -8
- package/dist/commands/build/index.js +10 -15
- package/dist/commands/deploy/index.js +310 -302
- package/dist/commands/dev/index.js +254 -181
- package/dist/commands/env/index.js +15 -16
- package/dist/commands/link/index.js +14 -20
- package/dist/commands/list/index.js +7 -9
- package/dist/commands-bulk.js +5610 -2364
- package/dist/help.js +1 -1
- package/dist/index.js +30 -22
- package/dist/version.mjs +1 -1
- package/package.json +42 -41
- package/dist/chunks/chunk-COTEMB2F.js +0 -85
- package/dist/chunks/chunk-EVB35IJS.js +0 -1552
- package/dist/chunks/chunk-GFG6QDIE.js +0 -101
- package/dist/chunks/chunk-J2WXMIAP.js +0 -107
- package/dist/chunks/chunk-KBEX5MYS.js +0 -208
- /package/dist/{commands/dev/next-dev-websocket-shim-preload.cjs → runtime-assets/node-preloads/next-dev-websocket.cjs} +0 -0
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
vcrCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2MF3ZAVW.js";
|
|
10
10
|
import {
|
|
11
11
|
metricsCommand
|
|
12
12
|
} from "./chunk-CSJBZKC5.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-M22O6CYY.js";
|
|
16
16
|
import {
|
|
17
17
|
commentsCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GMWRTZVZ.js";
|
|
19
19
|
import {
|
|
20
20
|
activityCommand
|
|
21
21
|
} from "./chunk-3KNPVXJ3.js";
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
import {
|
|
32
32
|
buildCommand,
|
|
33
33
|
pullCommand
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-7NQLRE5V.js";
|
|
35
35
|
import {
|
|
36
36
|
envCommand
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-VE545BR3.js";
|
|
38
38
|
import {
|
|
39
39
|
confirmOption,
|
|
40
40
|
deploymentOption,
|
|
@@ -196,7 +196,7 @@ var continueSubcommand = {
|
|
|
196
196
|
var deployCommand = {
|
|
197
197
|
name: "deploy",
|
|
198
198
|
aliases: [],
|
|
199
|
-
description: "Deploy your project to Vercel.
|
|
199
|
+
description: "Deploy your project to Vercel. Use `--temporary` to create a temporary deployment without logging in. The `deploy` command is the default command for the Vercel CLI, and can be omitted (`vc deploy my-app` equals `vc my-app`). Use `--dry` to inspect the detected framework preset and source files without deploying.",
|
|
200
200
|
arguments: [
|
|
201
201
|
{
|
|
202
202
|
name: "project-path",
|
|
@@ -262,6 +262,13 @@ var deployCommand = {
|
|
|
262
262
|
deprecated: false,
|
|
263
263
|
description: "Create a production deployment (shorthand for `--target=production`)"
|
|
264
264
|
},
|
|
265
|
+
{
|
|
266
|
+
name: "temporary",
|
|
267
|
+
shorthand: null,
|
|
268
|
+
type: Boolean,
|
|
269
|
+
deprecated: false,
|
|
270
|
+
description: "Create a temporary deployment without logging in"
|
|
271
|
+
},
|
|
265
272
|
{
|
|
266
273
|
name: "archive",
|
|
267
274
|
shorthand: null,
|
|
@@ -540,12 +547,20 @@ var listSubcommand = {
|
|
|
540
547
|
deprecated: false,
|
|
541
548
|
description: "Search Agent Runs by title"
|
|
542
549
|
},
|
|
550
|
+
{
|
|
551
|
+
name: "next",
|
|
552
|
+
shorthand: null,
|
|
553
|
+
type: Number,
|
|
554
|
+
argument: "NUMBER",
|
|
555
|
+
deprecated: false,
|
|
556
|
+
description: "Continue from a previous response"
|
|
557
|
+
},
|
|
543
558
|
{
|
|
544
559
|
name: "page",
|
|
545
560
|
shorthand: null,
|
|
546
561
|
type: Number,
|
|
547
562
|
argument: "N",
|
|
548
|
-
deprecated:
|
|
563
|
+
deprecated: true,
|
|
549
564
|
description: "1-based page number (default: 1)"
|
|
550
565
|
},
|
|
551
566
|
{
|
|
@@ -1894,15 +1909,14 @@ var creditsSubcommand = {
|
|
|
1894
1909
|
}
|
|
1895
1910
|
]
|
|
1896
1911
|
};
|
|
1897
|
-
var
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
};
|
|
1912
|
+
var SUPPORTED_ADDON_NAMES = [
|
|
1913
|
+
"custom-environment",
|
|
1914
|
+
"observability-plus"
|
|
1915
|
+
];
|
|
1902
1916
|
var addonSubcommand = {
|
|
1903
1917
|
name: "addon",
|
|
1904
1918
|
aliases: ["addons", "add-on"],
|
|
1905
|
-
description: `Purchase a Vercel addon for your team. Supported addons: ${
|
|
1919
|
+
description: `Purchase a Vercel addon for your team. Supported addons: ${SUPPORTED_ADDON_NAMES.join(", ")}. Observability Plus does not accept a quantity. Custom environment purchases are per project and use packs (each pack adds ${CUSTOM_ENVIRONMENTS_PER_PACK} environments).`,
|
|
1906
1920
|
arguments: [
|
|
1907
1921
|
{
|
|
1908
1922
|
name: "addon-name",
|
|
@@ -1910,7 +1924,7 @@ var addonSubcommand = {
|
|
|
1910
1924
|
},
|
|
1911
1925
|
{
|
|
1912
1926
|
name: "quantity",
|
|
1913
|
-
required:
|
|
1927
|
+
required: false
|
|
1914
1928
|
}
|
|
1915
1929
|
],
|
|
1916
1930
|
options: [
|
|
@@ -1923,16 +1937,16 @@ var addonSubcommand = {
|
|
|
1923
1937
|
],
|
|
1924
1938
|
examples: [
|
|
1925
1939
|
{
|
|
1926
|
-
name: "Purchase
|
|
1927
|
-
value: `${packageName} buy addon
|
|
1940
|
+
name: "Purchase Observability Plus",
|
|
1941
|
+
value: `${packageName} buy addon observability-plus`
|
|
1928
1942
|
},
|
|
1929
1943
|
{
|
|
1930
1944
|
name: `Purchase ${CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT} custom environment packs (${EXAMPLE_CUSTOM_ENVIRONMENT_COUNT} environments) for a project`,
|
|
1931
|
-
value: `${packageName} buy addon
|
|
1945
|
+
value: `${packageName} buy addon custom-environment ${CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT} --project my-app`
|
|
1932
1946
|
},
|
|
1933
1947
|
{
|
|
1934
1948
|
name: "Remove purchased custom environment capacity",
|
|
1935
|
-
value: `${packageName} buy addon
|
|
1949
|
+
value: `${packageName} buy addon custom-environment 0 --project my-app --yes`
|
|
1936
1950
|
}
|
|
1937
1951
|
]
|
|
1938
1952
|
};
|
|
@@ -1996,8 +2010,8 @@ var buyCommand = {
|
|
|
1996
2010
|
value: `${packageName} buy credits v0 100`
|
|
1997
2011
|
},
|
|
1998
2012
|
{
|
|
1999
|
-
name: "Purchase
|
|
2000
|
-
value: `${packageName} buy addon
|
|
2013
|
+
name: "Purchase Observability Plus",
|
|
2014
|
+
value: `${packageName} buy addon observability-plus`
|
|
2001
2015
|
},
|
|
2002
2016
|
{
|
|
2003
2017
|
name: "Upgrade to Pro",
|
|
@@ -4867,10 +4881,18 @@ var versionsListSubcommand = {
|
|
|
4867
4881
|
argument: "NUMBER"
|
|
4868
4882
|
},
|
|
4869
4883
|
{
|
|
4870
|
-
name: "
|
|
4884
|
+
name: "next",
|
|
4871
4885
|
shorthand: null,
|
|
4872
4886
|
type: String,
|
|
4873
4887
|
deprecated: false,
|
|
4888
|
+
description: "Continue from a previous response",
|
|
4889
|
+
argument: "CURSOR"
|
|
4890
|
+
},
|
|
4891
|
+
{
|
|
4892
|
+
name: "cursor",
|
|
4893
|
+
shorthand: null,
|
|
4894
|
+
type: String,
|
|
4895
|
+
deprecated: true,
|
|
4874
4896
|
description: "Pagination cursor from a previous versions response",
|
|
4875
4897
|
argument: "CURSOR"
|
|
4876
4898
|
},
|
|
@@ -4897,7 +4919,7 @@ var versionsListSubcommand = {
|
|
|
4897
4919
|
},
|
|
4898
4920
|
{
|
|
4899
4921
|
name: "List the next page of version history",
|
|
4900
|
-
value: `${packageName} flags versions my-feature-flag --limit 10 --
|
|
4922
|
+
value: `${packageName} flags versions my-feature-flag --limit 10 --next <cursor>`
|
|
4901
4923
|
},
|
|
4902
4924
|
{
|
|
4903
4925
|
name: "List version history as JSON",
|
|
@@ -7788,6 +7810,466 @@ var installCommand = {
|
|
|
7788
7810
|
]
|
|
7789
7811
|
};
|
|
7790
7812
|
|
|
7813
|
+
// src/util/kms/types.ts
|
|
7814
|
+
var KMS_ALGORITHMS = [
|
|
7815
|
+
"RS256",
|
|
7816
|
+
"RS384",
|
|
7817
|
+
"RS512",
|
|
7818
|
+
"PS256",
|
|
7819
|
+
"PS384",
|
|
7820
|
+
"PS512",
|
|
7821
|
+
"ES256",
|
|
7822
|
+
"ES384",
|
|
7823
|
+
"ES512",
|
|
7824
|
+
"EdDSA"
|
|
7825
|
+
];
|
|
7826
|
+
var PROJECT_GRANT_POLICY_KIND = "project-grant";
|
|
7827
|
+
function isProjectGrant(policy) {
|
|
7828
|
+
return policy.kind === PROJECT_GRANT_POLICY_KIND;
|
|
7829
|
+
}
|
|
7830
|
+
function issuerUrl(issuerId) {
|
|
7831
|
+
return `https://kms.vercel.com/${issuerId}`;
|
|
7832
|
+
}
|
|
7833
|
+
function issuerJwksUrl(issuerId) {
|
|
7834
|
+
return `${issuerUrl(issuerId)}/jwks.json`;
|
|
7835
|
+
}
|
|
7836
|
+
|
|
7837
|
+
// src/commands/kms/command.ts
|
|
7838
|
+
var cursorOption = {
|
|
7839
|
+
name: "next",
|
|
7840
|
+
shorthand: null,
|
|
7841
|
+
type: String,
|
|
7842
|
+
argument: "CURSOR",
|
|
7843
|
+
deprecated: false,
|
|
7844
|
+
description: "Show the next page of results, using a cursor from a prior page"
|
|
7845
|
+
};
|
|
7846
|
+
var algorithmOption = {
|
|
7847
|
+
name: "algorithm",
|
|
7848
|
+
shorthand: "a",
|
|
7849
|
+
type: String,
|
|
7850
|
+
argument: "ALGORITHM",
|
|
7851
|
+
deprecated: false,
|
|
7852
|
+
description: `Signing algorithm: ${KMS_ALGORITHMS.join(", ")} (default: RS512)`
|
|
7853
|
+
};
|
|
7854
|
+
var importAlgorithmOption = {
|
|
7855
|
+
name: "algorithm",
|
|
7856
|
+
shorthand: "a",
|
|
7857
|
+
type: String,
|
|
7858
|
+
argument: "ALGORITHM",
|
|
7859
|
+
deprecated: false,
|
|
7860
|
+
description: `Signing algorithm: ${KMS_ALGORITHMS.join(", ")} (required for RSA keys, otherwise derived from the key)`
|
|
7861
|
+
};
|
|
7862
|
+
var nameOption = {
|
|
7863
|
+
name: "name",
|
|
7864
|
+
shorthand: null,
|
|
7865
|
+
type: String,
|
|
7866
|
+
argument: "NAME",
|
|
7867
|
+
deprecated: false,
|
|
7868
|
+
description: "New name for the issuer"
|
|
7869
|
+
};
|
|
7870
|
+
var claimsSchemaOption = {
|
|
7871
|
+
name: "claims-schema",
|
|
7872
|
+
shorthand: null,
|
|
7873
|
+
type: String,
|
|
7874
|
+
argument: "JSON",
|
|
7875
|
+
deprecated: false,
|
|
7876
|
+
description: "JSON Schema validating token claims, as inline JSON, `@<file>`, or `@-` for stdin"
|
|
7877
|
+
};
|
|
7878
|
+
var removeClaimsSchemaOption = {
|
|
7879
|
+
name: "remove-claims-schema",
|
|
7880
|
+
shorthand: null,
|
|
7881
|
+
type: Boolean,
|
|
7882
|
+
deprecated: false,
|
|
7883
|
+
description: "Remove the claims schema, so claims are no longer validated"
|
|
7884
|
+
};
|
|
7885
|
+
var tokenClaimsOption = {
|
|
7886
|
+
name: "token-claims",
|
|
7887
|
+
shorthand: null,
|
|
7888
|
+
type: String,
|
|
7889
|
+
argument: "JSON",
|
|
7890
|
+
deprecated: false,
|
|
7891
|
+
description: "Claims to include in tokens signed for this grant, as inline JSON, `@<file>`, or `@-` for stdin"
|
|
7892
|
+
};
|
|
7893
|
+
var removeTokenClaimsOption = {
|
|
7894
|
+
name: "remove-token-claims",
|
|
7895
|
+
shorthand: null,
|
|
7896
|
+
type: Boolean,
|
|
7897
|
+
deprecated: false,
|
|
7898
|
+
description: "Remove the token claims from the grant"
|
|
7899
|
+
};
|
|
7900
|
+
var grantProjectOption = {
|
|
7901
|
+
...projectOption,
|
|
7902
|
+
shorthand: "p"
|
|
7903
|
+
};
|
|
7904
|
+
var environmentOption2 = {
|
|
7905
|
+
name: "environment",
|
|
7906
|
+
shorthand: "e",
|
|
7907
|
+
type: [String],
|
|
7908
|
+
argument: "ENV",
|
|
7909
|
+
deprecated: false,
|
|
7910
|
+
description: "Environment the grant applies to: a system environment (production, preview, development) or a custom environment ID (env_\u2026). Repeatable"
|
|
7911
|
+
};
|
|
7912
|
+
var keyOption = {
|
|
7913
|
+
name: "key",
|
|
7914
|
+
shorthand: "k",
|
|
7915
|
+
type: String,
|
|
7916
|
+
argument: "FILE",
|
|
7917
|
+
deprecated: false,
|
|
7918
|
+
description: "Path to the PEM private key to import, or `-` to read it from stdin"
|
|
7919
|
+
};
|
|
7920
|
+
var keyIdOption = {
|
|
7921
|
+
name: "key-id",
|
|
7922
|
+
shorthand: null,
|
|
7923
|
+
type: String,
|
|
7924
|
+
argument: "KID",
|
|
7925
|
+
deprecated: false,
|
|
7926
|
+
description: "JWKS `kid` for the imported key (default: server-generated)"
|
|
7927
|
+
};
|
|
7928
|
+
var revokePreviousAfterHoursOption = {
|
|
7929
|
+
name: "revoke-previous-after-hours",
|
|
7930
|
+
shorthand: null,
|
|
7931
|
+
type: Number,
|
|
7932
|
+
argument: "HOURS",
|
|
7933
|
+
deprecated: false,
|
|
7934
|
+
description: "Hours the previous key keeps verifying after activation (default: 1)"
|
|
7935
|
+
};
|
|
7936
|
+
var activationOption = {
|
|
7937
|
+
name: "activation",
|
|
7938
|
+
shorthand: null,
|
|
7939
|
+
type: String,
|
|
7940
|
+
argument: "MODE",
|
|
7941
|
+
deprecated: false,
|
|
7942
|
+
description: "When the key starts signing: automatic or manual (default: automatic)"
|
|
7943
|
+
};
|
|
7944
|
+
function skipConfirmationOption(action) {
|
|
7945
|
+
return {
|
|
7946
|
+
...yesOption,
|
|
7947
|
+
description: `Skip the confirmation prompt when ${action}`
|
|
7948
|
+
};
|
|
7949
|
+
}
|
|
7950
|
+
var listSubcommand14 = {
|
|
7951
|
+
name: "list",
|
|
7952
|
+
aliases: ["ls"],
|
|
7953
|
+
description: "Show all KMS issuers",
|
|
7954
|
+
default: true,
|
|
7955
|
+
arguments: [],
|
|
7956
|
+
options: [formatOption, jsonOption, limitOption, cursorOption],
|
|
7957
|
+
examples: [
|
|
7958
|
+
{
|
|
7959
|
+
name: "List issuers as JSON",
|
|
7960
|
+
value: `${packageName} kms ls --format json`
|
|
7961
|
+
}
|
|
7962
|
+
]
|
|
7963
|
+
};
|
|
7964
|
+
var inspectSubcommand6 = {
|
|
7965
|
+
name: "inspect",
|
|
7966
|
+
aliases: ["get"],
|
|
7967
|
+
description: "Show an issuer with its signing keys and grants",
|
|
7968
|
+
arguments: [
|
|
7969
|
+
{
|
|
7970
|
+
name: "issuerId",
|
|
7971
|
+
required: true
|
|
7972
|
+
}
|
|
7973
|
+
],
|
|
7974
|
+
options: [formatOption, jsonOption],
|
|
7975
|
+
examples: [
|
|
7976
|
+
{
|
|
7977
|
+
name: "Inspect an issuer",
|
|
7978
|
+
value: `${packageName} kms inspect iss_1a2b3c4d`
|
|
7979
|
+
}
|
|
7980
|
+
]
|
|
7981
|
+
};
|
|
7982
|
+
var addSubcommand8 = {
|
|
7983
|
+
name: "add",
|
|
7984
|
+
aliases: ["create"],
|
|
7985
|
+
description: "Create an issuer with a Vercel-generated signing key",
|
|
7986
|
+
arguments: [
|
|
7987
|
+
{
|
|
7988
|
+
name: "name",
|
|
7989
|
+
required: true
|
|
7990
|
+
}
|
|
7991
|
+
],
|
|
7992
|
+
options: [algorithmOption, claimsSchemaOption, formatOption, jsonOption],
|
|
7993
|
+
examples: [
|
|
7994
|
+
{
|
|
7995
|
+
name: "Create an issuer that signs with ES256",
|
|
7996
|
+
value: `${packageName} kms add my-issuer --algorithm ES256`
|
|
7997
|
+
}
|
|
7998
|
+
]
|
|
7999
|
+
};
|
|
8000
|
+
var importSubcommand2 = {
|
|
8001
|
+
name: "import",
|
|
8002
|
+
aliases: [],
|
|
8003
|
+
description: "Create an issuer from a private key you already have",
|
|
8004
|
+
arguments: [
|
|
8005
|
+
{
|
|
8006
|
+
name: "name",
|
|
8007
|
+
required: true
|
|
8008
|
+
}
|
|
8009
|
+
],
|
|
8010
|
+
options: [
|
|
8011
|
+
keyOption,
|
|
8012
|
+
keyIdOption,
|
|
8013
|
+
importAlgorithmOption,
|
|
8014
|
+
claimsSchemaOption,
|
|
8015
|
+
formatOption,
|
|
8016
|
+
jsonOption
|
|
8017
|
+
],
|
|
8018
|
+
examples: [
|
|
8019
|
+
{
|
|
8020
|
+
name: "Import an EC private key, whose algorithm is derived from the key",
|
|
8021
|
+
value: `${packageName} kms import my-issuer --key ./private-key.pem`
|
|
8022
|
+
},
|
|
8023
|
+
{
|
|
8024
|
+
name: "Import an RSA private key from stdin",
|
|
8025
|
+
value: `cat private-key.pem | ${packageName} kms import my-issuer --key - --algorithm RS256`
|
|
8026
|
+
}
|
|
8027
|
+
]
|
|
8028
|
+
};
|
|
8029
|
+
var updateSubcommand5 = {
|
|
8030
|
+
name: "update",
|
|
8031
|
+
aliases: [],
|
|
8032
|
+
description: "Rename an issuer or change its claims schema",
|
|
8033
|
+
arguments: [
|
|
8034
|
+
{
|
|
8035
|
+
name: "issuerId",
|
|
8036
|
+
required: true
|
|
8037
|
+
}
|
|
8038
|
+
],
|
|
8039
|
+
options: [
|
|
8040
|
+
nameOption,
|
|
8041
|
+
claimsSchemaOption,
|
|
8042
|
+
removeClaimsSchemaOption,
|
|
8043
|
+
formatOption,
|
|
8044
|
+
jsonOption
|
|
8045
|
+
],
|
|
8046
|
+
examples: [
|
|
8047
|
+
{
|
|
8048
|
+
name: "Rename an issuer",
|
|
8049
|
+
value: `${packageName} kms update iss_1a2b3c4d --name billing-tokens`
|
|
8050
|
+
},
|
|
8051
|
+
{
|
|
8052
|
+
name: "Replace the claims schema from a file",
|
|
8053
|
+
value: `${packageName} kms update iss_1a2b3c4d --claims-schema @claims-schema.json`
|
|
8054
|
+
}
|
|
8055
|
+
]
|
|
8056
|
+
};
|
|
8057
|
+
var removeSubcommand12 = {
|
|
8058
|
+
name: "remove",
|
|
8059
|
+
aliases: ["rm", "delete"],
|
|
8060
|
+
description: "Delete an issuer and all of its keys",
|
|
8061
|
+
arguments: [
|
|
8062
|
+
{
|
|
8063
|
+
name: "issuerId",
|
|
8064
|
+
required: true
|
|
8065
|
+
}
|
|
8066
|
+
],
|
|
8067
|
+
options: [skipConfirmationOption("deleting an issuer")],
|
|
8068
|
+
examples: [
|
|
8069
|
+
{
|
|
8070
|
+
name: "Delete an issuer",
|
|
8071
|
+
value: `${packageName} kms rm iss_1a2b3c4d`
|
|
8072
|
+
}
|
|
8073
|
+
]
|
|
8074
|
+
};
|
|
8075
|
+
var addKeySubcommand = {
|
|
8076
|
+
name: "add-key",
|
|
8077
|
+
aliases: [],
|
|
8078
|
+
description: "Add a Vercel-generated signing key to an issuer",
|
|
8079
|
+
arguments: [
|
|
8080
|
+
{
|
|
8081
|
+
name: "issuerId",
|
|
8082
|
+
required: true
|
|
8083
|
+
}
|
|
8084
|
+
],
|
|
8085
|
+
options: [
|
|
8086
|
+
activationOption,
|
|
8087
|
+
revokePreviousAfterHoursOption,
|
|
8088
|
+
formatOption,
|
|
8089
|
+
jsonOption
|
|
8090
|
+
],
|
|
8091
|
+
examples: [
|
|
8092
|
+
{
|
|
8093
|
+
name: "Rotate to a new key, retiring the previous one after 24 hours",
|
|
8094
|
+
value: `${packageName} kms add-key iss_1a2b3c4d --revoke-previous-after-hours 24`
|
|
8095
|
+
},
|
|
8096
|
+
{
|
|
8097
|
+
name: "Stage a key without activating it",
|
|
8098
|
+
value: `${packageName} kms add-key iss_1a2b3c4d --activation manual`
|
|
8099
|
+
}
|
|
8100
|
+
]
|
|
8101
|
+
};
|
|
8102
|
+
var importKeySubcommand = {
|
|
8103
|
+
name: "import-key",
|
|
8104
|
+
aliases: [],
|
|
8105
|
+
description: "Add a signing key you already have to an imported issuer",
|
|
8106
|
+
arguments: [
|
|
8107
|
+
{
|
|
8108
|
+
name: "issuerId",
|
|
8109
|
+
required: true
|
|
8110
|
+
}
|
|
8111
|
+
],
|
|
8112
|
+
options: [
|
|
8113
|
+
keyOption,
|
|
8114
|
+
keyIdOption,
|
|
8115
|
+
activationOption,
|
|
8116
|
+
revokePreviousAfterHoursOption,
|
|
8117
|
+
formatOption,
|
|
8118
|
+
jsonOption
|
|
8119
|
+
],
|
|
8120
|
+
examples: [
|
|
8121
|
+
{
|
|
8122
|
+
name: "Rotate an imported issuer to a new private key",
|
|
8123
|
+
value: `${packageName} kms import-key iss_1a2b3c4d --key ./private-key.pem`
|
|
8124
|
+
}
|
|
8125
|
+
]
|
|
8126
|
+
};
|
|
8127
|
+
var activateKeySubcommand = {
|
|
8128
|
+
name: "activate-key",
|
|
8129
|
+
aliases: [],
|
|
8130
|
+
description: "Start signing with a staged key",
|
|
8131
|
+
arguments: [
|
|
8132
|
+
{
|
|
8133
|
+
name: "issuerId",
|
|
8134
|
+
required: true
|
|
8135
|
+
},
|
|
8136
|
+
{
|
|
8137
|
+
name: "keyId",
|
|
8138
|
+
required: true
|
|
8139
|
+
}
|
|
8140
|
+
],
|
|
8141
|
+
options: [revokePreviousAfterHoursOption, formatOption, jsonOption],
|
|
8142
|
+
examples: [
|
|
8143
|
+
{
|
|
8144
|
+
name: "Activate a key",
|
|
8145
|
+
value: `${packageName} kms activate-key iss_1a2b3c4d key_5e6f7g8h`
|
|
8146
|
+
}
|
|
8147
|
+
]
|
|
8148
|
+
};
|
|
8149
|
+
var revokeKeySubcommand = {
|
|
8150
|
+
name: "revoke-key",
|
|
8151
|
+
aliases: [],
|
|
8152
|
+
description: "End a scheduled revocation now, so a key stops verifying",
|
|
8153
|
+
arguments: [
|
|
8154
|
+
{
|
|
8155
|
+
name: "issuerId",
|
|
8156
|
+
required: true
|
|
8157
|
+
},
|
|
8158
|
+
{
|
|
8159
|
+
name: "keyId",
|
|
8160
|
+
required: true
|
|
8161
|
+
}
|
|
8162
|
+
],
|
|
8163
|
+
options: [skipConfirmationOption("revoking a key")],
|
|
8164
|
+
examples: [
|
|
8165
|
+
{
|
|
8166
|
+
name: "Revoke a key that is already scheduled for revocation",
|
|
8167
|
+
value: `${packageName} kms revoke-key iss_1a2b3c4d key_5e6f7g8h`
|
|
8168
|
+
}
|
|
8169
|
+
]
|
|
8170
|
+
};
|
|
8171
|
+
var addGrantSubcommand = {
|
|
8172
|
+
name: "add-grant",
|
|
8173
|
+
aliases: [],
|
|
8174
|
+
description: "Grant a project permission to sign with an issuer",
|
|
8175
|
+
arguments: [
|
|
8176
|
+
{
|
|
8177
|
+
name: "issuerId",
|
|
8178
|
+
required: true
|
|
8179
|
+
}
|
|
8180
|
+
],
|
|
8181
|
+
options: [
|
|
8182
|
+
grantProjectOption,
|
|
8183
|
+
environmentOption2,
|
|
8184
|
+
tokenClaimsOption,
|
|
8185
|
+
formatOption,
|
|
8186
|
+
jsonOption
|
|
8187
|
+
],
|
|
8188
|
+
examples: [
|
|
8189
|
+
{
|
|
8190
|
+
name: "Grant a project signing access in Production and Preview",
|
|
8191
|
+
value: `${packageName} kms add-grant iss_1a2b3c4d --project prj_9i8h7g6f --environment production --environment preview`
|
|
8192
|
+
},
|
|
8193
|
+
{
|
|
8194
|
+
name: "Grant a project signing access in a custom environment",
|
|
8195
|
+
value: `${packageName} kms add-grant iss_1a2b3c4d --project prj_9i8h7g6f --environment env_1a2b3c4d`
|
|
8196
|
+
}
|
|
8197
|
+
]
|
|
8198
|
+
};
|
|
8199
|
+
var updateGrantSubcommand = {
|
|
8200
|
+
name: "update-grant",
|
|
8201
|
+
aliases: [],
|
|
8202
|
+
description: "Change a project grant's environments or token claims",
|
|
8203
|
+
arguments: [
|
|
8204
|
+
{
|
|
8205
|
+
name: "issuerId",
|
|
8206
|
+
required: true
|
|
8207
|
+
},
|
|
8208
|
+
{
|
|
8209
|
+
name: "projectId",
|
|
8210
|
+
required: true
|
|
8211
|
+
}
|
|
8212
|
+
],
|
|
8213
|
+
options: [
|
|
8214
|
+
environmentOption2,
|
|
8215
|
+
tokenClaimsOption,
|
|
8216
|
+
removeTokenClaimsOption,
|
|
8217
|
+
formatOption,
|
|
8218
|
+
jsonOption
|
|
8219
|
+
],
|
|
8220
|
+
examples: [
|
|
8221
|
+
{
|
|
8222
|
+
name: "Restrict a grant to Production",
|
|
8223
|
+
value: `${packageName} kms update-grant iss_1a2b3c4d prj_9i8h7g6f --environment production`
|
|
8224
|
+
}
|
|
8225
|
+
]
|
|
8226
|
+
};
|
|
8227
|
+
var removeGrantSubcommand = {
|
|
8228
|
+
name: "remove-grant",
|
|
8229
|
+
aliases: ["rm-grant", "delete-grant"],
|
|
8230
|
+
description: "Revoke a project's permission to sign with an issuer",
|
|
8231
|
+
arguments: [
|
|
8232
|
+
{
|
|
8233
|
+
name: "issuerId",
|
|
8234
|
+
required: true
|
|
8235
|
+
},
|
|
8236
|
+
{
|
|
8237
|
+
name: "projectId",
|
|
8238
|
+
required: true
|
|
8239
|
+
}
|
|
8240
|
+
],
|
|
8241
|
+
options: [skipConfirmationOption("removing a grant")],
|
|
8242
|
+
examples: [
|
|
8243
|
+
{
|
|
8244
|
+
name: "Remove a project grant",
|
|
8245
|
+
value: `${packageName} kms rm-grant iss_1a2b3c4d prj_9i8h7g6f`
|
|
8246
|
+
}
|
|
8247
|
+
]
|
|
8248
|
+
};
|
|
8249
|
+
var kmsCommand = {
|
|
8250
|
+
name: "kms",
|
|
8251
|
+
aliases: [],
|
|
8252
|
+
description: "Manage KMS issuers, signing keys, and project grants",
|
|
8253
|
+
arguments: [],
|
|
8254
|
+
subcommands: [
|
|
8255
|
+
listSubcommand14,
|
|
8256
|
+
inspectSubcommand6,
|
|
8257
|
+
addSubcommand8,
|
|
8258
|
+
importSubcommand2,
|
|
8259
|
+
updateSubcommand5,
|
|
8260
|
+
removeSubcommand12,
|
|
8261
|
+
addKeySubcommand,
|
|
8262
|
+
importKeySubcommand,
|
|
8263
|
+
activateKeySubcommand,
|
|
8264
|
+
revokeKeySubcommand,
|
|
8265
|
+
addGrantSubcommand,
|
|
8266
|
+
updateGrantSubcommand,
|
|
8267
|
+
removeGrantSubcommand
|
|
8268
|
+
],
|
|
8269
|
+
options: [],
|
|
8270
|
+
examples: []
|
|
8271
|
+
};
|
|
8272
|
+
|
|
7791
8273
|
// src/commands/login/command.ts
|
|
7792
8274
|
var loginCommand = {
|
|
7793
8275
|
name: "login",
|
|
@@ -8315,7 +8797,7 @@ var openCommand = {
|
|
|
8315
8797
|
};
|
|
8316
8798
|
|
|
8317
8799
|
// src/commands/project/command.ts
|
|
8318
|
-
var
|
|
8800
|
+
var addSubcommand9 = {
|
|
8319
8801
|
name: "add",
|
|
8320
8802
|
aliases: [],
|
|
8321
8803
|
description: "Add a new project",
|
|
@@ -8422,7 +8904,7 @@ var checksSubcommand = {
|
|
|
8422
8904
|
}
|
|
8423
8905
|
]
|
|
8424
8906
|
};
|
|
8425
|
-
var
|
|
8907
|
+
var inspectSubcommand7 = {
|
|
8426
8908
|
name: "inspect",
|
|
8427
8909
|
aliases: [],
|
|
8428
8910
|
description: "Displays information related to a project",
|
|
@@ -8444,7 +8926,7 @@ var inspectSubcommand6 = {
|
|
|
8444
8926
|
}
|
|
8445
8927
|
]
|
|
8446
8928
|
};
|
|
8447
|
-
var
|
|
8929
|
+
var listSubcommand15 = {
|
|
8448
8930
|
name: "list",
|
|
8449
8931
|
aliases: ["ls"],
|
|
8450
8932
|
description: "Show all projects in the selected scope",
|
|
@@ -8486,7 +8968,7 @@ var listSubcommand14 = {
|
|
|
8486
8968
|
}
|
|
8487
8969
|
]
|
|
8488
8970
|
};
|
|
8489
|
-
var
|
|
8971
|
+
var removeSubcommand13 = {
|
|
8490
8972
|
name: "remove",
|
|
8491
8973
|
aliases: ["rm"],
|
|
8492
8974
|
description: "Delete a project",
|
|
@@ -8521,7 +9003,7 @@ var renameSubcommand = {
|
|
|
8521
9003
|
}
|
|
8522
9004
|
]
|
|
8523
9005
|
};
|
|
8524
|
-
var
|
|
9006
|
+
var updateSubcommand6 = {
|
|
8525
9007
|
name: "update",
|
|
8526
9008
|
aliases: ["set"],
|
|
8527
9009
|
description: "Update one or more project settings; omitted settings remain unchanged",
|
|
@@ -8688,7 +9170,8 @@ var membersSubcommand = {
|
|
|
8688
9170
|
type: Number,
|
|
8689
9171
|
description: "Limit number of project members returned (1-100)",
|
|
8690
9172
|
deprecated: false
|
|
8691
|
-
}
|
|
9173
|
+
},
|
|
9174
|
+
nextOption
|
|
8692
9175
|
],
|
|
8693
9176
|
examples: [
|
|
8694
9177
|
{
|
|
@@ -8944,19 +9427,19 @@ var projectCommand = {
|
|
|
8944
9427
|
description: "Manage your Vercel projects",
|
|
8945
9428
|
arguments: [],
|
|
8946
9429
|
subcommands: [
|
|
8947
|
-
|
|
9430
|
+
addSubcommand9,
|
|
8948
9431
|
accessSummarySubcommand,
|
|
8949
9432
|
checksSubcommand,
|
|
8950
|
-
|
|
8951
|
-
|
|
9433
|
+
inspectSubcommand7,
|
|
9434
|
+
listSubcommand15,
|
|
8952
9435
|
membersSubcommand,
|
|
8953
9436
|
accessGroupsSubcommand,
|
|
8954
9437
|
protectionSubcommand,
|
|
8955
9438
|
webAnalyticsSubcommand,
|
|
8956
9439
|
speedInsightsSubcommand,
|
|
8957
|
-
|
|
9440
|
+
updateSubcommand6,
|
|
8958
9441
|
renameSubcommand,
|
|
8959
|
-
|
|
9442
|
+
removeSubcommand13,
|
|
8960
9443
|
tokenSubcommand2
|
|
8961
9444
|
],
|
|
8962
9445
|
options: [],
|
|
@@ -9071,7 +9554,7 @@ var redeployCommand = {
|
|
|
9071
9554
|
};
|
|
9072
9555
|
|
|
9073
9556
|
// src/commands/redirects/command.ts
|
|
9074
|
-
var
|
|
9557
|
+
var listSubcommand16 = {
|
|
9075
9558
|
name: "list",
|
|
9076
9559
|
aliases: ["ls"],
|
|
9077
9560
|
description: "List all redirects for the current project. These redirects apply to all deployments and environments. There may also be redirects defined in a deployment that are not listed here.",
|
|
@@ -9086,13 +9569,29 @@ var listSubcommand15 = {
|
|
|
9086
9569
|
argument: "QUERY",
|
|
9087
9570
|
deprecated: false
|
|
9088
9571
|
},
|
|
9572
|
+
{
|
|
9573
|
+
name: "next",
|
|
9574
|
+
description: "Continue from a previous response",
|
|
9575
|
+
shorthand: null,
|
|
9576
|
+
type: Number,
|
|
9577
|
+
argument: "NUMBER",
|
|
9578
|
+
deprecated: false
|
|
9579
|
+
},
|
|
9580
|
+
{
|
|
9581
|
+
name: "limit",
|
|
9582
|
+
description: "Number of redirects per page (default: 50)",
|
|
9583
|
+
shorthand: null,
|
|
9584
|
+
type: Number,
|
|
9585
|
+
argument: "NUMBER",
|
|
9586
|
+
deprecated: false
|
|
9587
|
+
},
|
|
9089
9588
|
{
|
|
9090
9589
|
name: "page",
|
|
9091
9590
|
description: "Page number to display",
|
|
9092
9591
|
shorthand: null,
|
|
9093
9592
|
type: Number,
|
|
9094
9593
|
argument: "NUMBER",
|
|
9095
|
-
deprecated:
|
|
9594
|
+
deprecated: true
|
|
9096
9595
|
},
|
|
9097
9596
|
{
|
|
9098
9597
|
name: "per-page",
|
|
@@ -9100,7 +9599,7 @@ var listSubcommand15 = {
|
|
|
9100
9599
|
shorthand: null,
|
|
9101
9600
|
type: Number,
|
|
9102
9601
|
argument: "NUMBER",
|
|
9103
|
-
deprecated:
|
|
9602
|
+
deprecated: true
|
|
9104
9603
|
},
|
|
9105
9604
|
{
|
|
9106
9605
|
name: "staging",
|
|
@@ -9129,11 +9628,11 @@ var listSubcommand15 = {
|
|
|
9129
9628
|
},
|
|
9130
9629
|
{
|
|
9131
9630
|
name: "List redirects on page 2",
|
|
9132
|
-
value: `${packageName} redirects list --
|
|
9631
|
+
value: `${packageName} redirects list --next 2`
|
|
9133
9632
|
},
|
|
9134
9633
|
{
|
|
9135
9634
|
name: "List redirects with custom page size",
|
|
9136
|
-
value: `${packageName} redirects list --
|
|
9635
|
+
value: `${packageName} redirects list --limit 25`
|
|
9137
9636
|
}
|
|
9138
9637
|
]
|
|
9139
9638
|
};
|
|
@@ -9150,7 +9649,7 @@ var listVersionsSubcommand = {
|
|
|
9150
9649
|
}
|
|
9151
9650
|
]
|
|
9152
9651
|
};
|
|
9153
|
-
var
|
|
9652
|
+
var addSubcommand10 = {
|
|
9154
9653
|
name: "add",
|
|
9155
9654
|
aliases: [],
|
|
9156
9655
|
description: "Add a new redirect",
|
|
@@ -9263,7 +9762,7 @@ var uploadSubcommand = {
|
|
|
9263
9762
|
}
|
|
9264
9763
|
]
|
|
9265
9764
|
};
|
|
9266
|
-
var
|
|
9765
|
+
var removeSubcommand14 = {
|
|
9267
9766
|
name: "remove",
|
|
9268
9767
|
aliases: ["rm"],
|
|
9269
9768
|
description: "Remove a redirect",
|
|
@@ -9341,11 +9840,11 @@ var redirectsCommand = {
|
|
|
9341
9840
|
description: "Manage redirects for a project. Redirects managed at the project level apply to all deployments and environments and take effect immediately after being created and promoted to production.",
|
|
9342
9841
|
arguments: [],
|
|
9343
9842
|
subcommands: [
|
|
9344
|
-
|
|
9843
|
+
listSubcommand16,
|
|
9345
9844
|
listVersionsSubcommand,
|
|
9346
|
-
|
|
9845
|
+
addSubcommand10,
|
|
9347
9846
|
uploadSubcommand,
|
|
9348
|
-
|
|
9847
|
+
removeSubcommand14,
|
|
9349
9848
|
promoteSubcommand,
|
|
9350
9849
|
restoreSubcommand
|
|
9351
9850
|
],
|
|
@@ -9721,7 +10220,7 @@ var checkSubcommand2 = {
|
|
|
9721
10220
|
type: Number,
|
|
9722
10221
|
argument: "N",
|
|
9723
10222
|
deprecated: false,
|
|
9724
|
-
description: "Max findings
|
|
10223
|
+
description: "Max findings listed per check; by default every available finding is listed. Violation counts are always exact even when findings are capped"
|
|
9725
10224
|
},
|
|
9726
10225
|
{
|
|
9727
10226
|
...projectOption,
|
|
@@ -9792,7 +10291,7 @@ var skillsCommand = {
|
|
|
9792
10291
|
};
|
|
9793
10292
|
|
|
9794
10293
|
// src/commands/target/command.ts
|
|
9795
|
-
var
|
|
10294
|
+
var listSubcommand17 = {
|
|
9796
10295
|
name: "list",
|
|
9797
10296
|
aliases: ["ls"],
|
|
9798
10297
|
description: "List targets defined for the current Project",
|
|
@@ -9818,7 +10317,7 @@ var targetCommand = {
|
|
|
9818
10317
|
aliases: ["targets"],
|
|
9819
10318
|
description: `Manage your Vercel Project's "targets" (custom environments).`,
|
|
9820
10319
|
arguments: [],
|
|
9821
|
-
subcommands: [
|
|
10320
|
+
subcommands: [listSubcommand17],
|
|
9822
10321
|
options: [],
|
|
9823
10322
|
examples: []
|
|
9824
10323
|
};
|
|
@@ -9846,7 +10345,7 @@ var requestSubcommand = {
|
|
|
9846
10345
|
}
|
|
9847
10346
|
]
|
|
9848
10347
|
};
|
|
9849
|
-
var
|
|
10348
|
+
var addSubcommand11 = {
|
|
9850
10349
|
name: "add",
|
|
9851
10350
|
aliases: ["create"],
|
|
9852
10351
|
description: "Create a new team",
|
|
@@ -9878,7 +10377,7 @@ var addSubcommand10 = {
|
|
|
9878
10377
|
}
|
|
9879
10378
|
]
|
|
9880
10379
|
};
|
|
9881
|
-
var
|
|
10380
|
+
var listSubcommand18 = {
|
|
9882
10381
|
name: "list",
|
|
9883
10382
|
aliases: ["ls"],
|
|
9884
10383
|
description: "Show all teams that you're a member of",
|
|
@@ -9985,9 +10484,9 @@ var teamsCommand = {
|
|
|
9985
10484
|
description: "Manage Teams under your Vercel account",
|
|
9986
10485
|
arguments: [],
|
|
9987
10486
|
subcommands: [
|
|
9988
|
-
|
|
10487
|
+
addSubcommand11,
|
|
9989
10488
|
inviteSubcommand,
|
|
9990
|
-
|
|
10489
|
+
listSubcommand18,
|
|
9991
10490
|
requestSubcommand,
|
|
9992
10491
|
switchSubcommand,
|
|
9993
10492
|
ssoSubcommand,
|
|
@@ -9998,7 +10497,7 @@ var teamsCommand = {
|
|
|
9998
10497
|
};
|
|
9999
10498
|
|
|
10000
10499
|
// src/commands/tokens/command.ts
|
|
10001
|
-
var
|
|
10500
|
+
var listSubcommand19 = {
|
|
10002
10501
|
name: "list",
|
|
10003
10502
|
aliases: ["ls"],
|
|
10004
10503
|
description: "List your personal authentication tokens",
|
|
@@ -10013,6 +10512,14 @@ var listSubcommand18 = {
|
|
|
10013
10512
|
type: Number,
|
|
10014
10513
|
description: "Maximum number of tokens to return (default 20)",
|
|
10015
10514
|
deprecated: false
|
|
10515
|
+
},
|
|
10516
|
+
{
|
|
10517
|
+
name: "next",
|
|
10518
|
+
shorthand: null,
|
|
10519
|
+
type: String,
|
|
10520
|
+
description: "Continue from a previous response",
|
|
10521
|
+
argument: "CURSOR",
|
|
10522
|
+
deprecated: false
|
|
10016
10523
|
}
|
|
10017
10524
|
],
|
|
10018
10525
|
examples: [
|
|
@@ -10022,7 +10529,7 @@ var listSubcommand18 = {
|
|
|
10022
10529
|
}
|
|
10023
10530
|
]
|
|
10024
10531
|
};
|
|
10025
|
-
var
|
|
10532
|
+
var addSubcommand12 = {
|
|
10026
10533
|
name: "add",
|
|
10027
10534
|
aliases: ["create"],
|
|
10028
10535
|
description: "Create a new personal authentication token",
|
|
@@ -10047,7 +10554,7 @@ var addSubcommand11 = {
|
|
|
10047
10554
|
}
|
|
10048
10555
|
]
|
|
10049
10556
|
};
|
|
10050
|
-
var
|
|
10557
|
+
var removeSubcommand15 = {
|
|
10051
10558
|
name: "remove",
|
|
10052
10559
|
aliases: ["rm", "delete"],
|
|
10053
10560
|
description: "Delete a personal authentication token by ID",
|
|
@@ -10070,7 +10577,7 @@ var tokensCommand = {
|
|
|
10070
10577
|
aliases: [],
|
|
10071
10578
|
description: "Manage your personal Vercel authentication tokens",
|
|
10072
10579
|
arguments: [],
|
|
10073
|
-
subcommands: [
|
|
10580
|
+
subcommands: [addSubcommand12, listSubcommand19, removeSubcommand15],
|
|
10074
10581
|
options: [],
|
|
10075
10582
|
examples: []
|
|
10076
10583
|
};
|
|
@@ -10388,7 +10895,7 @@ var usageCommand = {
|
|
|
10388
10895
|
};
|
|
10389
10896
|
|
|
10390
10897
|
// src/commands/version/command.ts
|
|
10391
|
-
var
|
|
10898
|
+
var listSubcommand20 = {
|
|
10392
10899
|
name: "list",
|
|
10393
10900
|
aliases: ["ls"],
|
|
10394
10901
|
description: "Lists Vercel CLI versions available to install",
|
|
@@ -10426,7 +10933,7 @@ var useSubcommand = {
|
|
|
10426
10933
|
}
|
|
10427
10934
|
]
|
|
10428
10935
|
};
|
|
10429
|
-
var
|
|
10936
|
+
var updateSubcommand7 = {
|
|
10430
10937
|
name: "update",
|
|
10431
10938
|
aliases: ["upgrade"],
|
|
10432
10939
|
description: "Updates the Vercel CLI to the latest version",
|
|
@@ -10462,10 +10969,10 @@ var versionCommand = {
|
|
|
10462
10969
|
description: "Manages the installed Vercel CLI version.",
|
|
10463
10970
|
arguments: [],
|
|
10464
10971
|
subcommands: [
|
|
10465
|
-
|
|
10972
|
+
listSubcommand20,
|
|
10466
10973
|
installedSubcommand,
|
|
10467
10974
|
useSubcommand,
|
|
10468
|
-
|
|
10975
|
+
updateSubcommand7,
|
|
10469
10976
|
autoupdateSubcommand
|
|
10470
10977
|
],
|
|
10471
10978
|
options: [],
|
|
@@ -10526,7 +11033,7 @@ var accessOption = {
|
|
|
10526
11033
|
argument: "String",
|
|
10527
11034
|
choices: ["public", "private"]
|
|
10528
11035
|
};
|
|
10529
|
-
var
|
|
11036
|
+
var environmentOption3 = {
|
|
10530
11037
|
name: "environment",
|
|
10531
11038
|
shorthand: "e",
|
|
10532
11039
|
type: [String],
|
|
@@ -10534,7 +11041,7 @@ var environmentOption2 = {
|
|
|
10534
11041
|
argument: "ENV",
|
|
10535
11042
|
description: "Environment to connect (can be repeated: production, preview, development). Defaults to all when --yes is used."
|
|
10536
11043
|
};
|
|
10537
|
-
var
|
|
11044
|
+
var listSubcommand21 = {
|
|
10538
11045
|
name: "list",
|
|
10539
11046
|
aliases: ["ls"],
|
|
10540
11047
|
description: "List all files in the Blob store",
|
|
@@ -10548,11 +11055,19 @@ var listSubcommand20 = {
|
|
|
10548
11055
|
description: "Number of results to return per page (default: 10, max: 1000)",
|
|
10549
11056
|
argument: "NUMBER"
|
|
10550
11057
|
},
|
|
11058
|
+
{
|
|
11059
|
+
name: "next",
|
|
11060
|
+
shorthand: null,
|
|
11061
|
+
type: String,
|
|
11062
|
+
deprecated: false,
|
|
11063
|
+
description: "Continue from a previous response",
|
|
11064
|
+
argument: "CURSOR"
|
|
11065
|
+
},
|
|
10551
11066
|
{
|
|
10552
11067
|
name: "cursor",
|
|
10553
11068
|
shorthand: "c",
|
|
10554
11069
|
type: String,
|
|
10555
|
-
deprecated:
|
|
11070
|
+
deprecated: true,
|
|
10556
11071
|
description: "Cursor from previous page to start listing from",
|
|
10557
11072
|
argument: "STRING"
|
|
10558
11073
|
},
|
|
@@ -11026,7 +11541,7 @@ var createStoreSubcommand = {
|
|
|
11026
11541
|
argument: "STRING"
|
|
11027
11542
|
},
|
|
11028
11543
|
yesOption,
|
|
11029
|
-
|
|
11544
|
+
environmentOption3
|
|
11030
11545
|
],
|
|
11031
11546
|
examples: [
|
|
11032
11547
|
{
|
|
@@ -11122,7 +11637,7 @@ var blobCommand = {
|
|
|
11122
11637
|
description: "Interact with Vercel Blob",
|
|
11123
11638
|
arguments: [],
|
|
11124
11639
|
subcommands: [
|
|
11125
|
-
|
|
11640
|
+
listSubcommand21,
|
|
11126
11641
|
putSubcommand,
|
|
11127
11642
|
putImageSubcommand,
|
|
11128
11643
|
getSubcommand3,
|
|
@@ -11166,7 +11681,7 @@ var blobCommand = {
|
|
|
11166
11681
|
};
|
|
11167
11682
|
|
|
11168
11683
|
// src/commands/webhooks/command.ts
|
|
11169
|
-
var
|
|
11684
|
+
var listSubcommand22 = {
|
|
11170
11685
|
name: "list",
|
|
11171
11686
|
aliases: ["ls"],
|
|
11172
11687
|
description: "Show all webhooks",
|
|
@@ -11228,7 +11743,7 @@ var createSubcommand6 = {
|
|
|
11228
11743
|
}
|
|
11229
11744
|
]
|
|
11230
11745
|
};
|
|
11231
|
-
var
|
|
11746
|
+
var removeSubcommand16 = {
|
|
11232
11747
|
name: "remove",
|
|
11233
11748
|
aliases: ["rm", "delete"],
|
|
11234
11749
|
description: "Remove a webhook",
|
|
@@ -11252,10 +11767,10 @@ var webhooksCommand = {
|
|
|
11252
11767
|
description: "Manage webhooks",
|
|
11253
11768
|
arguments: [],
|
|
11254
11769
|
subcommands: [
|
|
11255
|
-
|
|
11770
|
+
listSubcommand22,
|
|
11256
11771
|
getSubcommand4,
|
|
11257
11772
|
createSubcommand6,
|
|
11258
|
-
|
|
11773
|
+
removeSubcommand16
|
|
11259
11774
|
],
|
|
11260
11775
|
options: [],
|
|
11261
11776
|
examples: []
|
|
@@ -11296,6 +11811,7 @@ var commandsStructs = [
|
|
|
11296
11811
|
installCommand,
|
|
11297
11812
|
integrationCommand,
|
|
11298
11813
|
integrationResourceCommand,
|
|
11814
|
+
kmsCommand,
|
|
11299
11815
|
linkCommand,
|
|
11300
11816
|
listCommand,
|
|
11301
11817
|
loginCommand,
|
|
@@ -11403,8 +11919,7 @@ export {
|
|
|
11403
11919
|
SUPPORTED_CREDIT_TYPES,
|
|
11404
11920
|
CREDIT_TYPE_LABELS,
|
|
11405
11921
|
creditsSubcommand,
|
|
11406
|
-
|
|
11407
|
-
ADDON_LABELS,
|
|
11922
|
+
SUPPORTED_ADDON_NAMES,
|
|
11408
11923
|
addonSubcommand,
|
|
11409
11924
|
proSubcommand,
|
|
11410
11925
|
domainSubcommand,
|
|
@@ -11569,7 +12084,26 @@ export {
|
|
|
11569
12084
|
resourceSubcommand,
|
|
11570
12085
|
integrationCommand,
|
|
11571
12086
|
installCommand,
|
|
11572
|
-
|
|
12087
|
+
KMS_ALGORITHMS,
|
|
12088
|
+
PROJECT_GRANT_POLICY_KIND,
|
|
12089
|
+
isProjectGrant,
|
|
12090
|
+
issuerUrl,
|
|
12091
|
+
issuerJwksUrl,
|
|
12092
|
+
listSubcommand14,
|
|
12093
|
+
inspectSubcommand6,
|
|
12094
|
+
addSubcommand8 as addSubcommand7,
|
|
12095
|
+
importSubcommand2,
|
|
12096
|
+
updateSubcommand5,
|
|
12097
|
+
removeSubcommand12,
|
|
12098
|
+
addKeySubcommand,
|
|
12099
|
+
importKeySubcommand,
|
|
12100
|
+
activateKeySubcommand,
|
|
12101
|
+
revokeKeySubcommand,
|
|
12102
|
+
addGrantSubcommand,
|
|
12103
|
+
updateGrantSubcommand,
|
|
12104
|
+
removeGrantSubcommand,
|
|
12105
|
+
kmsCommand,
|
|
12106
|
+
addSubcommand as addSubcommand8,
|
|
11573
12107
|
linkCommand,
|
|
11574
12108
|
loginCommand,
|
|
11575
12109
|
logoutCommand,
|
|
@@ -11584,15 +12118,15 @@ export {
|
|
|
11584
12118
|
inspectGroupSubcommand,
|
|
11585
12119
|
microfrontendsCommand,
|
|
11586
12120
|
openCommand,
|
|
11587
|
-
|
|
12121
|
+
addSubcommand9,
|
|
11588
12122
|
checksAddFlags,
|
|
11589
12123
|
checksRemoveFlags,
|
|
11590
12124
|
checksSubcommand,
|
|
11591
|
-
|
|
11592
|
-
|
|
11593
|
-
|
|
12125
|
+
inspectSubcommand7,
|
|
12126
|
+
listSubcommand15,
|
|
12127
|
+
removeSubcommand13,
|
|
11594
12128
|
renameSubcommand,
|
|
11595
|
-
|
|
12129
|
+
updateSubcommand6,
|
|
11596
12130
|
tokenSubcommand2,
|
|
11597
12131
|
accessSummarySubcommand,
|
|
11598
12132
|
membersSubcommand,
|
|
@@ -11604,11 +12138,11 @@ export {
|
|
|
11604
12138
|
statusSubcommand2,
|
|
11605
12139
|
promoteCommand,
|
|
11606
12140
|
redeployCommand,
|
|
11607
|
-
|
|
12141
|
+
listSubcommand16,
|
|
11608
12142
|
listVersionsSubcommand,
|
|
11609
|
-
|
|
12143
|
+
addSubcommand10,
|
|
11610
12144
|
uploadSubcommand,
|
|
11611
|
-
|
|
12145
|
+
removeSubcommand14,
|
|
11612
12146
|
promoteSubcommand,
|
|
11613
12147
|
restoreSubcommand,
|
|
11614
12148
|
redirectsCommand,
|
|
@@ -11625,19 +12159,19 @@ export {
|
|
|
11625
12159
|
checkSubcommand2,
|
|
11626
12160
|
securityCommand,
|
|
11627
12161
|
skillsCommand,
|
|
11628
|
-
|
|
12162
|
+
listSubcommand17,
|
|
11629
12163
|
targetCommand,
|
|
11630
12164
|
requestSubcommand,
|
|
11631
|
-
|
|
11632
|
-
|
|
12165
|
+
addSubcommand11,
|
|
12166
|
+
listSubcommand18,
|
|
11633
12167
|
switchSubcommand,
|
|
11634
12168
|
inviteSubcommand,
|
|
11635
12169
|
ssoSubcommand,
|
|
11636
12170
|
membersSubcommand2,
|
|
11637
12171
|
teamsCommand,
|
|
11638
|
-
|
|
11639
|
-
|
|
11640
|
-
|
|
12172
|
+
listSubcommand19,
|
|
12173
|
+
addSubcommand12,
|
|
12174
|
+
removeSubcommand15,
|
|
11641
12175
|
tokensCommand,
|
|
11642
12176
|
statusSubcommand4,
|
|
11643
12177
|
enableSubcommand3,
|
|
@@ -11649,14 +12183,14 @@ export {
|
|
|
11649
12183
|
tracesCommand,
|
|
11650
12184
|
upgradeCommand,
|
|
11651
12185
|
usageCommand,
|
|
11652
|
-
|
|
12186
|
+
listSubcommand20,
|
|
11653
12187
|
installedSubcommand,
|
|
11654
12188
|
useSubcommand,
|
|
11655
|
-
|
|
12189
|
+
updateSubcommand7,
|
|
11656
12190
|
autoupdateSubcommand,
|
|
11657
12191
|
versionCommand,
|
|
11658
12192
|
whoamiCommand,
|
|
11659
|
-
|
|
12193
|
+
listSubcommand21,
|
|
11660
12194
|
putSubcommand,
|
|
11661
12195
|
delSubcommand,
|
|
11662
12196
|
copySubcommand,
|
|
@@ -11670,10 +12204,10 @@ export {
|
|
|
11670
12204
|
getStoreInfoSubcommand,
|
|
11671
12205
|
listStoresSubcommand,
|
|
11672
12206
|
blobCommand,
|
|
11673
|
-
|
|
12207
|
+
listSubcommand22,
|
|
11674
12208
|
getSubcommand4,
|
|
11675
12209
|
createSubcommand6,
|
|
11676
|
-
|
|
12210
|
+
removeSubcommand16,
|
|
11677
12211
|
webhooksCommand,
|
|
11678
12212
|
getCommandAliases,
|
|
11679
12213
|
commands,
|