vercel 54.2.0 → 54.3.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-FAIIANHS.js → add-6BI52GC7.js} +8 -8
- package/dist/chunks/{chunk-2OASKDFC.js → chunk-3NTROBCB.js} +7 -4
- package/dist/chunks/{chunk-XVAEOG4L.js → chunk-3TDGMELF.js} +3 -5
- package/dist/chunks/{chunk-KSMF2UFR.js → chunk-4CIXZOP4.js} +15 -0
- package/dist/chunks/{chunk-O2NXGZCW.js → chunk-4KGRBMBC.js} +8 -8
- package/dist/chunks/{chunk-JFVGRFME.js → chunk-5EKBCYHA.js} +1 -1
- package/dist/chunks/{chunk-ISJJTUJZ.js → chunk-5TTQBT67.js} +1 -1
- package/dist/chunks/{chunk-IYP3534A.js → chunk-63MSANDD.js} +14 -10
- package/dist/chunks/{chunk-JQ7RG6JF.js → chunk-7UDM3VHD.js} +1 -1
- package/dist/chunks/{chunk-QH5Q2B4F.js → chunk-AKWLMA5B.js} +1 -1
- package/dist/chunks/{chunk-C5YP6KFI.js → chunk-AOJHEPS4.js} +6 -0
- package/dist/chunks/{chunk-QAA3JVFJ.js → chunk-B3RJGSB2.js} +2 -2
- package/dist/chunks/{chunk-ZAAKSLHC.js → chunk-C2V6DCWN.js} +4 -2
- package/dist/chunks/{chunk-4PSOOFYO.js → chunk-DJA3IN2X.js} +1 -1
- package/dist/chunks/{chunk-YNHUUJTK.js → chunk-EU5K7JFJ.js} +5 -5
- package/dist/chunks/{chunk-ZA4ZUW7G.js → chunk-GJI2IQHA.js} +2 -2
- package/dist/chunks/{chunk-4GQQJY5Y.js → chunk-H33IJ7OP.js} +9 -0
- package/dist/chunks/{chunk-23UWSHRQ.js → chunk-HFVP2JUO.js} +133 -63
- package/dist/chunks/{chunk-E3NE4SKN.js → chunk-L6Q2EQPI.js} +1 -0
- package/dist/chunks/{chunk-DKD6GTQT.js → chunk-OM5Z2KO5.js} +1 -1
- package/dist/chunks/{chunk-TWVG3QHM.js → chunk-PU4PEBGY.js} +1 -1
- package/dist/chunks/{chunk-VKQT3HCH.js → chunk-PXR6WCEU.js} +5 -5
- package/dist/chunks/{chunk-QEYYWOB4.js → chunk-R6QYB2GK.js} +13 -3
- package/dist/chunks/{chunk-FKUVFVT2.js → chunk-RNIZUKES.js} +120 -59
- package/dist/chunks/{chunk-E32QX22S.js → chunk-SJAFZ3UZ.js} +65 -5
- package/dist/chunks/{chunk-YE6OHHJA.js → chunk-SRLTKHXQ.js} +6 -6
- package/dist/chunks/{chunk-2DFWEDF7.js → chunk-SRVNEJVN.js} +2 -2
- package/dist/chunks/{chunk-DP5346AR.js → chunk-SXYVZF6H.js} +3 -3
- package/dist/chunks/{chunk-TZMIHH5D.js → chunk-TM2USC5N.js} +6 -11
- package/dist/chunks/{chunk-H7ZZXKJ2.js → chunk-TTOZFGDX.js} +3 -3
- package/dist/chunks/{chunk-J7RPHYNB.js → chunk-W64ECC2K.js} +1 -1
- package/dist/chunks/{chunk-IFATV36R.js → chunk-YAOSNCGO.js} +5 -8
- package/dist/chunks/{chunk-CQANJIEC.js → chunk-YP423QYK.js} +4 -6
- package/dist/chunks/{chunk-DIWRR5Y4.js → chunk-ZCMQ43RC.js} +1 -1
- package/dist/chunks/{chunk-ZFEECTPC.js → chunk-ZUK6C2UA.js} +1 -1
- package/dist/chunks/{compile-vercel-config-7TPMRTKM.js → compile-vercel-config-UTUECEB5.js} +3 -3
- package/dist/chunks/{delete-MVQKJDRS.js → delete-FML7PGMQ.js} +6 -6
- package/dist/chunks/{disable-YRONTYDS.js → disable-LJFGBJQD.js} +6 -6
- package/dist/chunks/{discard-UM7Y2PMF.js → discard-JKLUB56V.js} +6 -6
- package/dist/chunks/{edit-PHXJMLL2.js → edit-24LNAGLI.js} +8 -8
- package/dist/chunks/{enable-D26FR2VL.js → enable-XV6WCSRR.js} +6 -6
- package/dist/chunks/{export-YLMQTP7Y.js → export-IZAJQNHO.js} +6 -6
- package/dist/chunks/{inspect-SJTJNJVL.js → inspect-4OYBTMEZ.js} +10 -10
- package/dist/chunks/{list-XGSNQW5B.js → list-FOLL3X7L.js} +9 -9
- package/dist/chunks/{list-6OV7HAO4.js → list-PEXOOVJA.js} +5 -5
- package/dist/chunks/{ls-THDT5E4M.js → ls-3D5FA5CD.js} +8 -8
- package/dist/chunks/{publish-NPM5RPLV.js → publish-FV5R2JPI.js} +6 -6
- package/dist/chunks/{query-QP5JLBXI.js → query-JM422UQL.js} +6 -6
- package/dist/chunks/{reorder-573FHW5Z.js → reorder-H5VPRRYP.js} +6 -6
- package/dist/chunks/{restore-H65BVJFL.js → restore-JPFHV2E2.js} +6 -6
- package/dist/chunks/{rm-MOVL4G2Y.js → rm-AQFIGZB7.js} +8 -8
- package/dist/chunks/{routes-I74KWX7Q.js → routes-IBID4NSZ.js} +2 -2
- package/dist/chunks/{rule-inspect-33M2FHDU.js → rule-inspect-XV56NBAE.js} +8 -8
- package/dist/chunks/{rules-KVSJYT5T.js → rules-SUXFDKPS.js} +7 -7
- package/dist/chunks/{schema-MXM7Z52O.js → schema-3I4KYWU3.js} +7 -7
- package/dist/chunks/{types-QAT6PCGL.js → types-V6KTYGWP.js} +3 -3
- package/dist/chunks/{update-CSKHHR3E.js → update-3W7ETGXO.js} +8 -8
- package/dist/commands/build/index.js +80 -22
- package/dist/commands/deploy/index.js +32 -26
- package/dist/commands/dev/index.js +26 -13
- package/dist/commands/env/index.js +18 -22
- package/dist/commands/link/index.js +22 -29
- package/dist/commands/list/index.js +10 -10
- package/dist/commands-bulk.js +1356 -429
- package/dist/index.js +31 -21
- package/dist/version.mjs +1 -1
- package/package.json +16 -16
|
@@ -6,29 +6,29 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
metricsCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YAOSNCGO.js";
|
|
10
10
|
import {
|
|
11
11
|
routesCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5EKBCYHA.js";
|
|
13
13
|
import {
|
|
14
14
|
alertsCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TM2USC5N.js";
|
|
16
16
|
import {
|
|
17
17
|
devCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-C2V6DCWN.js";
|
|
19
19
|
import {
|
|
20
20
|
activityCommand
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YP423QYK.js";
|
|
22
22
|
import {
|
|
23
23
|
listCommand
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DJA3IN2X.js";
|
|
25
25
|
import {
|
|
26
26
|
buildCommand,
|
|
27
27
|
pullCommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3NTROBCB.js";
|
|
29
29
|
import {
|
|
30
30
|
envCommand
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RNIZUKES.js";
|
|
32
32
|
import {
|
|
33
33
|
confirmOption,
|
|
34
34
|
forceOption,
|
|
@@ -36,8 +36,9 @@ import {
|
|
|
36
36
|
jsonOption,
|
|
37
37
|
limitOption,
|
|
38
38
|
nextOption,
|
|
39
|
+
projectOption,
|
|
39
40
|
yesOption
|
|
40
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-H33IJ7OP.js";
|
|
41
42
|
import {
|
|
42
43
|
packageName
|
|
43
44
|
} from "./chunk-UGXBNJMO.js";
|
|
@@ -141,6 +142,7 @@ var initSubcommand = {
|
|
|
141
142
|
formatOption,
|
|
142
143
|
jsonOption,
|
|
143
144
|
confirmOption,
|
|
145
|
+
projectOption,
|
|
144
146
|
{
|
|
145
147
|
name: "functions-beta",
|
|
146
148
|
shorthand: null,
|
|
@@ -352,6 +354,7 @@ var deployCommand = {
|
|
|
352
354
|
formatOption,
|
|
353
355
|
jsonOption,
|
|
354
356
|
confirmOption,
|
|
357
|
+
projectOption,
|
|
355
358
|
{
|
|
356
359
|
name: "functions-beta",
|
|
357
360
|
shorthand: null,
|
|
@@ -425,12 +428,9 @@ var linkCommand = {
|
|
|
425
428
|
deprecated: false
|
|
426
429
|
},
|
|
427
430
|
{
|
|
428
|
-
|
|
429
|
-
description: "Project name or ID to link to (required for non-interactive)",
|
|
431
|
+
...projectOption,
|
|
430
432
|
shorthand: "p",
|
|
431
|
-
|
|
432
|
-
type: String,
|
|
433
|
-
deprecated: false
|
|
433
|
+
description: "Project name or ID to link to (required for non-interactive)"
|
|
434
434
|
},
|
|
435
435
|
{
|
|
436
436
|
name: "team",
|
|
@@ -1667,11 +1667,8 @@ var attachSubcommand = {
|
|
|
1667
1667
|
description: "Environments to enable. Repeatable and comma-separated (e.g. -e production -e preview, or -e production,preview). Defaults to all environments."
|
|
1668
1668
|
},
|
|
1669
1669
|
{
|
|
1670
|
-
|
|
1670
|
+
...projectOption,
|
|
1671
1671
|
shorthand: "p",
|
|
1672
|
-
type: String,
|
|
1673
|
-
argument: "NAME_OR_ID",
|
|
1674
|
-
deprecated: false,
|
|
1675
1672
|
description: "Project name or ID (default: current linked project)"
|
|
1676
1673
|
},
|
|
1677
1674
|
{
|
|
@@ -1742,11 +1739,8 @@ var detachSubcommand = {
|
|
|
1742
1739
|
],
|
|
1743
1740
|
options: [
|
|
1744
1741
|
{
|
|
1745
|
-
|
|
1742
|
+
...projectOption,
|
|
1746
1743
|
shorthand: "p",
|
|
1747
|
-
type: String,
|
|
1748
|
-
argument: "NAME_OR_ID",
|
|
1749
|
-
deprecated: false,
|
|
1750
1744
|
description: "Project name or ID (default: current linked project)"
|
|
1751
1745
|
},
|
|
1752
1746
|
{
|
|
@@ -1941,6 +1935,20 @@ var curlCommand = {
|
|
|
1941
1935
|
deprecated: false,
|
|
1942
1936
|
description: "Protection bypass secret for accessing protected deployments",
|
|
1943
1937
|
argument: "SECRET"
|
|
1938
|
+
},
|
|
1939
|
+
{
|
|
1940
|
+
name: "trace",
|
|
1941
|
+
shorthand: null,
|
|
1942
|
+
type: Boolean,
|
|
1943
|
+
deprecated: false,
|
|
1944
|
+
description: "Capture a session trace for the request and print the trace request id"
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
name: "json",
|
|
1948
|
+
shorthand: null,
|
|
1949
|
+
type: Boolean,
|
|
1950
|
+
deprecated: false,
|
|
1951
|
+
description: "With --trace, emit { response, requestId } as JSON on stdout"
|
|
1944
1952
|
}
|
|
1945
1953
|
],
|
|
1946
1954
|
examples: [
|
|
@@ -1967,25 +1975,25 @@ var curlCommand = {
|
|
|
1967
1975
|
{
|
|
1968
1976
|
name: "Use with protection bypass secret",
|
|
1969
1977
|
value: `${packageName} curl /api/protected --protection-bypass <secret> -- --request GET`
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
name: "Capture a session trace for the request",
|
|
1981
|
+
value: `${packageName} curl --trace /api/hello`
|
|
1970
1982
|
}
|
|
1971
1983
|
]
|
|
1972
1984
|
};
|
|
1973
1985
|
|
|
1974
1986
|
// src/commands/deploy-hooks/command.ts
|
|
1975
|
-
var
|
|
1976
|
-
|
|
1977
|
-
shorthand: "p"
|
|
1978
|
-
type: String,
|
|
1979
|
-
argument: "PROJECT",
|
|
1980
|
-
description: "Project name or ID (defaults to the linked project)",
|
|
1981
|
-
deprecated: false
|
|
1987
|
+
var projectOption2 = {
|
|
1988
|
+
...projectOption,
|
|
1989
|
+
shorthand: "p"
|
|
1982
1990
|
};
|
|
1983
1991
|
var listSubcommand6 = {
|
|
1984
1992
|
name: "list",
|
|
1985
1993
|
aliases: ["ls"],
|
|
1986
1994
|
description: "List deploy hooks for a project",
|
|
1987
1995
|
arguments: [],
|
|
1988
|
-
options: [formatOption,
|
|
1996
|
+
options: [formatOption, projectOption2],
|
|
1989
1997
|
examples: [
|
|
1990
1998
|
{
|
|
1991
1999
|
name: "List deploy hooks as JSON",
|
|
@@ -2012,7 +2020,7 @@ var createSubcommand3 = {
|
|
|
2012
2020
|
deprecated: false,
|
|
2013
2021
|
description: "Git branch ref to deploy when the hook URL is triggered"
|
|
2014
2022
|
},
|
|
2015
|
-
|
|
2023
|
+
projectOption2
|
|
2016
2024
|
],
|
|
2017
2025
|
examples: [
|
|
2018
2026
|
{
|
|
@@ -2032,7 +2040,7 @@ var removeSubcommand4 = {
|
|
|
2032
2040
|
}
|
|
2033
2041
|
],
|
|
2034
2042
|
options: [
|
|
2035
|
-
|
|
2043
|
+
projectOption2,
|
|
2036
2044
|
{
|
|
2037
2045
|
...yesOption,
|
|
2038
2046
|
description: "Skip the confirmation prompt when removing a deploy hook"
|
|
@@ -4547,20 +4555,14 @@ var addSubcommand7 = {
|
|
|
4547
4555
|
var acceptTermsSubcommand = {
|
|
4548
4556
|
name: "accept-terms",
|
|
4549
4557
|
aliases: [],
|
|
4550
|
-
description: "Accept marketplace legal terms for an integration and install it on the current team (installation only; no product resource). Does not replace integrations that require a browser or device attestation.",
|
|
4558
|
+
description: "Accept marketplace legal terms for an integration and install it on the current team (installation only; no product resource). Requires an interactive terminal and human confirmation. Does not replace integrations that require a browser or device attestation.",
|
|
4551
4559
|
arguments: [
|
|
4552
4560
|
{
|
|
4553
4561
|
name: "integration",
|
|
4554
4562
|
required: true
|
|
4555
4563
|
}
|
|
4556
4564
|
],
|
|
4557
|
-
options: [
|
|
4558
|
-
{
|
|
4559
|
-
...yesOption,
|
|
4560
|
-
description: "Non-interactive only: confirm acceptance of the Vercel Marketplace End User Addendum and this integration's privacy policy / EULA when applicable"
|
|
4561
|
-
},
|
|
4562
|
-
formatOption
|
|
4563
|
-
],
|
|
4565
|
+
options: [formatOption],
|
|
4564
4566
|
examples: [
|
|
4565
4567
|
{
|
|
4566
4568
|
name: "Accept terms interactively, then install on the team",
|
|
@@ -4569,13 +4571,9 @@ var acceptTermsSubcommand = {
|
|
|
4569
4571
|
`${packageName} integration accept-terms neon`
|
|
4570
4572
|
]
|
|
4571
4573
|
},
|
|
4572
|
-
{
|
|
4573
|
-
name: "Accept terms in CI (you must have read the linked policies)",
|
|
4574
|
-
value: `${packageName} integration accept-terms neon --yes --non-interactive`
|
|
4575
|
-
},
|
|
4576
4574
|
{
|
|
4577
4575
|
name: "Output result as JSON",
|
|
4578
|
-
value: `${packageName} integration accept-terms neon --
|
|
4576
|
+
value: `${packageName} integration accept-terms neon --format=json`
|
|
4579
4577
|
}
|
|
4580
4578
|
]
|
|
4581
4579
|
};
|
|
@@ -5192,13 +5190,7 @@ var logsCommand = {
|
|
|
5192
5190
|
}
|
|
5193
5191
|
],
|
|
5194
5192
|
options: [
|
|
5195
|
-
{
|
|
5196
|
-
name: "project",
|
|
5197
|
-
shorthand: "p",
|
|
5198
|
-
type: String,
|
|
5199
|
-
deprecated: false,
|
|
5200
|
-
description: "Project ID or name (defaults to linked project)"
|
|
5201
|
-
},
|
|
5193
|
+
{ ...projectOption, shorthand: "p" },
|
|
5202
5194
|
{
|
|
5203
5195
|
name: "deployment",
|
|
5204
5196
|
shorthand: "d",
|
|
@@ -7343,11 +7335,8 @@ var addSubcommand11 = {
|
|
|
7343
7335
|
options: [
|
|
7344
7336
|
formatOption,
|
|
7345
7337
|
{
|
|
7346
|
-
|
|
7347
|
-
|
|
7348
|
-
type: String,
|
|
7349
|
-
description: "Optional project ID to scope the token to",
|
|
7350
|
-
deprecated: false
|
|
7338
|
+
...projectOption,
|
|
7339
|
+
description: "Optional project ID to scope the token to"
|
|
7351
7340
|
}
|
|
7352
7341
|
],
|
|
7353
7342
|
examples: [
|
|
@@ -7434,6 +7423,68 @@ var telemetryCommand = {
|
|
|
7434
7423
|
examples: []
|
|
7435
7424
|
};
|
|
7436
7425
|
|
|
7426
|
+
// src/commands/traces/command.ts
|
|
7427
|
+
var getSubcommand2 = {
|
|
7428
|
+
name: "get",
|
|
7429
|
+
aliases: [],
|
|
7430
|
+
default: true,
|
|
7431
|
+
description: "Fetch a captured trace by request id.",
|
|
7432
|
+
arguments: [{ name: "requestId", required: false }],
|
|
7433
|
+
options: [
|
|
7434
|
+
{
|
|
7435
|
+
name: "json",
|
|
7436
|
+
shorthand: null,
|
|
7437
|
+
type: Boolean,
|
|
7438
|
+
deprecated: false,
|
|
7439
|
+
description: "Print the raw trace JSON to stdout instead of the markdown summary."
|
|
7440
|
+
},
|
|
7441
|
+
{
|
|
7442
|
+
name: "project",
|
|
7443
|
+
shorthand: null,
|
|
7444
|
+
type: String,
|
|
7445
|
+
argument: "NAME|ID",
|
|
7446
|
+
deprecated: false,
|
|
7447
|
+
description: "Project name or id to fetch the trace from (overrides the linked project)."
|
|
7448
|
+
}
|
|
7449
|
+
],
|
|
7450
|
+
examples: [
|
|
7451
|
+
{
|
|
7452
|
+
name: "Fetch a trace by request id",
|
|
7453
|
+
value: `${packageName} traces get req_1234567890`
|
|
7454
|
+
},
|
|
7455
|
+
{
|
|
7456
|
+
name: "Print the raw trace JSON",
|
|
7457
|
+
value: `${packageName} traces get req_1234567890 --json`
|
|
7458
|
+
},
|
|
7459
|
+
{
|
|
7460
|
+
name: "`get` is the default \u2014 this is equivalent to the above",
|
|
7461
|
+
value: `${packageName} traces req_1234567890`
|
|
7462
|
+
},
|
|
7463
|
+
{
|
|
7464
|
+
name: "Fetch a trace from a specific team and project",
|
|
7465
|
+
value: `${packageName} traces get req_1234567890 --scope my-team --project my-app`
|
|
7466
|
+
}
|
|
7467
|
+
]
|
|
7468
|
+
};
|
|
7469
|
+
var tracesCommand = {
|
|
7470
|
+
name: "traces",
|
|
7471
|
+
aliases: [],
|
|
7472
|
+
description: "Fetch traces captured for a Vercel project.",
|
|
7473
|
+
arguments: [{ name: "requestId", required: false }],
|
|
7474
|
+
subcommands: [getSubcommand2],
|
|
7475
|
+
options: [],
|
|
7476
|
+
examples: [
|
|
7477
|
+
{
|
|
7478
|
+
name: "Fetch a trace by request id",
|
|
7479
|
+
value: `${packageName} traces get req_1234567890`
|
|
7480
|
+
},
|
|
7481
|
+
{
|
|
7482
|
+
name: "Print the raw trace JSON",
|
|
7483
|
+
value: `${packageName} traces get req_1234567890 --json`
|
|
7484
|
+
}
|
|
7485
|
+
]
|
|
7486
|
+
};
|
|
7487
|
+
|
|
7437
7488
|
// src/commands/upgrade/command.ts
|
|
7438
7489
|
var upgradeCommand = {
|
|
7439
7490
|
name: "upgrade",
|
|
@@ -7774,7 +7825,7 @@ var copySubcommand = {
|
|
|
7774
7825
|
],
|
|
7775
7826
|
examples: []
|
|
7776
7827
|
};
|
|
7777
|
-
var
|
|
7828
|
+
var getSubcommand3 = {
|
|
7778
7829
|
name: "get",
|
|
7779
7830
|
aliases: [],
|
|
7780
7831
|
description: "Download a blob by URL or pathname",
|
|
@@ -7981,7 +8032,7 @@ var blobCommand = {
|
|
|
7981
8032
|
subcommands: [
|
|
7982
8033
|
listSubcommand17,
|
|
7983
8034
|
putSubcommand,
|
|
7984
|
-
|
|
8035
|
+
getSubcommand3,
|
|
7985
8036
|
delSubcommand,
|
|
7986
8037
|
copySubcommand,
|
|
7987
8038
|
createStoreSubcommand,
|
|
@@ -7998,6 +8049,22 @@ var blobCommand = {
|
|
|
7998
8049
|
deprecated: false,
|
|
7999
8050
|
description: "Read_Write_Token for the Blob store",
|
|
8000
8051
|
argument: "String"
|
|
8052
|
+
},
|
|
8053
|
+
{
|
|
8054
|
+
name: "oidc-token",
|
|
8055
|
+
shorthand: null,
|
|
8056
|
+
type: String,
|
|
8057
|
+
deprecated: false,
|
|
8058
|
+
description: "OIDC token for the Blob store (must be passed together with --store-id)",
|
|
8059
|
+
argument: "String"
|
|
8060
|
+
},
|
|
8061
|
+
{
|
|
8062
|
+
name: "store-id",
|
|
8063
|
+
shorthand: null,
|
|
8064
|
+
type: String,
|
|
8065
|
+
deprecated: false,
|
|
8066
|
+
description: 'Blob store id, with or without the "store_" prefix (must be passed together with --oidc-token)',
|
|
8067
|
+
argument: "String"
|
|
8001
8068
|
}
|
|
8002
8069
|
],
|
|
8003
8070
|
examples: []
|
|
@@ -8018,7 +8085,7 @@ var listSubcommand18 = {
|
|
|
8018
8085
|
}
|
|
8019
8086
|
]
|
|
8020
8087
|
};
|
|
8021
|
-
var
|
|
8088
|
+
var getSubcommand4 = {
|
|
8022
8089
|
name: "get",
|
|
8023
8090
|
aliases: ["inspect"],
|
|
8024
8091
|
description: "Displays information related to a webhook",
|
|
@@ -8091,7 +8158,7 @@ var webhooksCommand = {
|
|
|
8091
8158
|
arguments: [],
|
|
8092
8159
|
subcommands: [
|
|
8093
8160
|
listSubcommand18,
|
|
8094
|
-
|
|
8161
|
+
getSubcommand4,
|
|
8095
8162
|
createSubcommand5,
|
|
8096
8163
|
removeSubcommand15
|
|
8097
8164
|
],
|
|
@@ -8156,6 +8223,7 @@ var commandsStructs = [
|
|
|
8156
8223
|
teamsCommand,
|
|
8157
8224
|
tokensCommand,
|
|
8158
8225
|
telemetryCommand,
|
|
8226
|
+
tracesCommand,
|
|
8159
8227
|
upgradeCommand,
|
|
8160
8228
|
webhooksCommand,
|
|
8161
8229
|
usageCommand,
|
|
@@ -8414,6 +8482,8 @@ export {
|
|
|
8414
8482
|
flushSubcommand,
|
|
8415
8483
|
disableSubcommand3,
|
|
8416
8484
|
telemetryCommand,
|
|
8485
|
+
getSubcommand2,
|
|
8486
|
+
tracesCommand,
|
|
8417
8487
|
upgradeCommand,
|
|
8418
8488
|
usageCommand,
|
|
8419
8489
|
whoamiCommand,
|
|
@@ -8421,7 +8491,7 @@ export {
|
|
|
8421
8491
|
putSubcommand,
|
|
8422
8492
|
delSubcommand,
|
|
8423
8493
|
copySubcommand,
|
|
8424
|
-
|
|
8494
|
+
getSubcommand3,
|
|
8425
8495
|
addStoreSubcommand,
|
|
8426
8496
|
removeStoreSubcommand,
|
|
8427
8497
|
getStoreSubcommand,
|
|
@@ -8432,7 +8502,7 @@ export {
|
|
|
8432
8502
|
listStoresSubcommand,
|
|
8433
8503
|
blobCommand,
|
|
8434
8504
|
listSubcommand18,
|
|
8435
|
-
|
|
8505
|
+
getSubcommand4,
|
|
8436
8506
|
createSubcommand5,
|
|
8437
8507
|
removeSubcommand15,
|
|
8438
8508
|
webhooksCommand,
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-76ZNZKIN.js";
|
|
13
13
|
import {
|
|
14
14
|
getLocalPathConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-B3RJGSB2.js";
|
|
16
16
|
import {
|
|
17
17
|
autoInstallVercelPlugin
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3NTROBCB.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_VERCEL_CONFIG_FILENAME,
|
|
21
21
|
VERCEL_CONFIG_EXTENSIONS,
|
|
@@ -39,10 +39,10 @@ import {
|
|
|
39
39
|
useKeypress,
|
|
40
40
|
usePrefix,
|
|
41
41
|
useState
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-RNIZUKES.js";
|
|
43
43
|
import {
|
|
44
44
|
require_load_json_file
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-4CIXZOP4.js";
|
|
46
46
|
import {
|
|
47
47
|
require_lib as require_lib2
|
|
48
48
|
} from "./chunk-N2T234LO.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
parseArguments,
|
|
51
51
|
printError,
|
|
52
52
|
require_strip_ansi
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-H33IJ7OP.js";
|
|
54
54
|
import {
|
|
55
55
|
APIError,
|
|
56
56
|
NowError,
|
|
@@ -5,13 +5,14 @@ const require = __createRequire(import.meta.url);
|
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
|
+
printProjectNotFoundError,
|
|
8
9
|
setupAndLink
|
|
9
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SJAFZ3UZ.js";
|
|
10
11
|
import {
|
|
11
12
|
getLinkedProject,
|
|
12
13
|
param,
|
|
13
14
|
resolveProjectCwd
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RNIZUKES.js";
|
|
15
16
|
import {
|
|
16
17
|
buildCommandWithYes,
|
|
17
18
|
outputActionRequired
|
|
@@ -34,11 +35,20 @@ async function ensureLink(commandName, client, cwd, opts = {}) {
|
|
|
34
35
|
if (opts.forceDelete) {
|
|
35
36
|
link = { status: "not_linked", org: null, project: null };
|
|
36
37
|
} else {
|
|
37
|
-
link = await getLinkedProject(
|
|
38
|
+
link = await getLinkedProject(
|
|
39
|
+
client,
|
|
40
|
+
cwd,
|
|
41
|
+
opts.projectName,
|
|
42
|
+
opts.failIfNotFound
|
|
43
|
+
);
|
|
38
44
|
}
|
|
39
45
|
opts.link = link;
|
|
40
46
|
}
|
|
41
47
|
if (link.status === "linked" && opts.forceDelete || link.status === "not_linked") {
|
|
48
|
+
if (link.status === "not_linked" && opts.failIfNotFound && opts.projectName) {
|
|
49
|
+
await printProjectNotFoundError(client, opts.projectName, commandName);
|
|
50
|
+
return 1;
|
|
51
|
+
}
|
|
42
52
|
link = await setupAndLink(client, cwd, opts);
|
|
43
53
|
if (link.status === "not_linked") {
|
|
44
54
|
return 0;
|