vercel 56.2.0 → 56.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-YQRDKWJH.js → add-CF5SQESQ.js} +11 -14
- package/dist/chunks/{add-T6ZTAEU2.js → add-DMRGZN3Z.js} +10 -13
- package/dist/chunks/{chunk-LSPZHWWP.js → chunk-22G26AIX.js} +99 -74
- package/dist/chunks/{chunk-HMMPJ3VD.js → chunk-2C2JJTAM.js} +6 -10
- package/dist/chunks/{chunk-YGSTSVXS.js → chunk-2MXGTALG.js} +1076 -3627
- package/dist/chunks/{chunk-5AJNUXWP.js → chunk-3PKFXNJZ.js} +2 -4
- package/dist/chunks/{chunk-5OT26JZN.js → chunk-3VS4DTAU.js} +4 -6
- package/dist/chunks/{chunk-JJWESW5Y.js → chunk-4G6QZSBL.js} +2 -4
- package/dist/chunks/{chunk-HR6VI6UV.js → chunk-4YOCOUDN.js} +5 -6
- package/dist/chunks/{chunk-GXBDQRHJ.js → chunk-4Z5LC2CI.js} +1 -1
- package/dist/chunks/{chunk-2RVK3DDN.js → chunk-52QYYTM5.js} +4 -0
- package/dist/chunks/{chunk-CMJMYVQM.js → chunk-6OMC3HOW.js} +1 -1
- package/dist/chunks/{chunk-SRJTYE5U.js → chunk-A6LE5VAN.js} +1 -1
- package/dist/chunks/{chunk-QY63UKTP.js → chunk-DMSLNAVH.js} +2 -2
- package/dist/chunks/{chunk-PN2GJKM5.js → chunk-DZHRFBKE.js} +2 -2
- package/dist/chunks/{chunk-SHT5IY3Q.js → chunk-ERPZJ4SX.js} +14 -4
- package/dist/chunks/{chunk-K2THP63Z.js → chunk-EYNXG3FO.js} +3 -5
- package/dist/chunks/{chunk-RLJA2KI7.js → chunk-FYQPTH5C.js} +2 -4
- package/dist/chunks/{chunk-RLXBXRU2.js → chunk-G4PG5HVE.js} +6 -10
- package/dist/chunks/{chunk-7PZWVZN6.js → chunk-G75NFPIT.js} +1 -1
- package/dist/chunks/{chunk-7C7MMT4J.js → chunk-GIL3VAUR.js} +2 -4
- package/dist/chunks/{chunk-EKIKD7RS.js → chunk-HUKYQKVQ.js} +9 -7
- package/dist/chunks/{chunk-AVLGVZJ5.js → chunk-I2IICWBW.js} +190 -29
- package/dist/chunks/{chunk-E3Y4SDXF.js → chunk-ICSIFPXG.js} +3 -5
- package/dist/chunks/{chunk-P6AK7SVK.js → chunk-KSSNLCL4.js} +360 -25
- package/dist/chunks/{chunk-WOA4Z45Z.js → chunk-KXKQQIUS.js} +18 -12
- package/dist/chunks/{chunk-HA7C7SDO.js → chunk-LHFNIZ2P.js} +2 -4
- package/dist/chunks/{chunk-B6SCQUDV.js → chunk-NP32PAKT.js} +2 -2
- package/dist/chunks/{chunk-QEEGXNFK.js → chunk-NZRWTCRM.js} +1 -1
- package/dist/chunks/{chunk-IDMKFYEA.js → chunk-OGG6UBXK.js} +2 -4
- package/dist/chunks/{chunk-XFMTSTYT.js → chunk-PRO4S2KV.js} +8 -68
- package/dist/chunks/{chunk-NQEAHRBI.js → chunk-Q5ADSH7D.js} +11 -16
- package/dist/chunks/{chunk-AEENIITE.js → chunk-QP3C5YS5.js} +8 -8
- package/dist/chunks/{chunk-24FCBXI4.js → chunk-R6IGDGX3.js} +1 -1
- package/dist/chunks/{chunk-PQK4YU22.js → chunk-SDK7R4WO.js} +1 -1
- package/dist/chunks/{chunk-22GUZ5KG.js → chunk-STJJ3DFO.js} +2 -4
- package/dist/chunks/{chunk-EHTPDXTS.js → chunk-SZXT3PDQ.js} +3 -294
- package/dist/chunks/{chunk-CB3I3QIT.js → chunk-UDWRZXIT.js} +193 -85
- package/dist/chunks/{chunk-DREO3DFB.js → chunk-VZSZBD4V.js} +16 -6
- package/dist/chunks/{chunk-7S3QUMIG.js → chunk-YS6EDZHB.js} +3 -5
- package/dist/chunks/{chunk-EI555LUJ.js → chunk-ZDCS54ZZ.js} +3 -3
- package/dist/chunks/{chunk-4RGSUV5C.js → chunk-ZVLPUREX.js} +2 -2
- package/dist/chunks/{compile-vercel-config-3AG4VKHZ.js → compile-vercel-config-RPPL7W56.js} +5 -5
- package/dist/chunks/{delete-JLJ753B4.js → delete-QBVZ5X6B.js} +15 -15
- package/dist/chunks/{disable-AXFGDOYN.js → disable-YYGXPXBI.js} +15 -14
- package/dist/chunks/{discard-557SDKVO.js → discard-X2MSUFGI.js} +14 -13
- package/dist/chunks/{edit-ITGNF7S5.js → edit-3ABZQYUU.js} +18 -19
- package/dist/chunks/{enable-6RMJPNW5.js → enable-HUMYCGKA.js} +15 -14
- package/dist/chunks/{exec-G4AUF3KG.js → exec-CNBOV577.js} +3 -3
- package/dist/chunks/{export-3NC3DPRR.js → export-KGHH4WAT.js} +16 -15
- package/dist/chunks/{image-FGP5UVA5.js → image-OO3WWKZV.js} +6 -8
- package/dist/chunks/{inspect-FDF5WZMM.js → inspect-5TNHHD2M.js} +11 -13
- package/dist/chunks/{inspect-N5DHCKLZ.js → inspect-FNUCB7Y3.js} +9 -11
- package/dist/chunks/{inspect-AF5J3QDV.js → inspect-KSSQEAW7.js} +12 -16
- package/dist/chunks/{inspect-56OMR6RC.js → inspect-Z6SSD2SR.js} +9 -11
- package/dist/chunks/{list-PLG2ZHBA.js → list-TXNYRVJG.js} +9 -11
- package/dist/chunks/{list-F2AW7L3D.js → list-X2AD3HCX.js} +11 -14
- package/dist/chunks/{login-LQRR64K7.js → login-SLPCZ2OF.js} +14 -17
- package/dist/chunks/{ls-FWPYY7GH.js → ls-2YSINRJ3.js} +11 -14
- package/dist/chunks/{ls-EKNQN3V4.js → ls-4QMJLQQL.js} +11 -14
- package/dist/chunks/{ls-HZDBJLMG.js → ls-C7MNQ4IK.js} +13 -16
- package/dist/chunks/{ls-E7FYH3DW.js → ls-QLTOY23G.js} +10 -13
- package/dist/chunks/{publish-PDGTM3M7.js → publish-GV4LLLXP.js} +14 -13
- package/dist/chunks/{query-MUQKKYXI.js → query-3AHRMAPA.js} +11 -13
- package/dist/chunks/{reorder-B76HXU6D.js → reorder-VSVOPNM4.js} +18 -17
- package/dist/chunks/{restore-2PYXS4NP.js → restore-FKYCF73P.js} +20 -19
- package/dist/chunks/{rm-GZW2IDWX.js → rm-4QCXZRC2.js} +11 -14
- package/dist/chunks/{rm-SD3EJRXY.js → rm-UTFG42FN.js} +9 -12
- package/dist/chunks/{rm-SFC67P5U.js → rm-YV5WQKQM.js} +10 -13
- package/dist/chunks/{rule-inspect-MSPP3V4O.js → rule-inspect-IONN4MTP.js} +10 -13
- package/dist/chunks/{rules-AN32QRP7.js → rules-S2KPV7HY.js} +9 -11
- package/dist/chunks/{schema-2GYFHMCN.js → schema-3LX3V2HE.js} +12 -13
- package/dist/chunks/{tags-ULDC3YLP.js → tags-CQ4FRIJ4.js} +5 -7
- package/dist/chunks/{types-2TPA6J4G.js → types-QKLIFDDP.js} +5 -5
- package/dist/chunks/{update-NE62WKTZ.js → update-U7OGHCP5.js} +10 -13
- package/dist/commands/build/index.js +43 -38
- package/dist/commands/deploy/index.js +58 -75
- package/dist/commands/dev/index.js +206 -163
- package/dist/commands/env/index.js +77 -44
- package/dist/commands/link/index.js +26 -29
- package/dist/commands/list/index.js +15 -19
- package/dist/commands-bulk.js +3103 -1872
- package/dist/index.js +30 -33
- package/dist/version.mjs +1 -1
- package/package.json +22 -23
- package/dist/chunks/chunk-IC4YEIGW.js +0 -101
- package/dist/chunks/chunk-LXF3AXHM.js +0 -158
- package/dist/chunks/chunk-SGL3NMOP.js +0 -86
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
purchaseDomainIfAvailable,
|
|
14
14
|
require_cjs,
|
|
15
15
|
setupDomain
|
|
16
|
-
} from "../../chunks/chunk-
|
|
16
|
+
} from "../../chunks/chunk-Q5ADSH7D.js";
|
|
17
17
|
import {
|
|
18
18
|
readLocalConfig
|
|
19
|
-
} from "../../chunks/chunk-
|
|
19
|
+
} from "../../chunks/chunk-4YOCOUDN.js";
|
|
20
20
|
import {
|
|
21
21
|
highlight
|
|
22
22
|
} from "../../chunks/chunk-V5P25P7F.js";
|
|
@@ -24,10 +24,6 @@ import "../../chunks/chunk-XBN2O34P.js";
|
|
|
24
24
|
import {
|
|
25
25
|
parseMeta
|
|
26
26
|
} from "../../chunks/chunk-EKPSCRJZ.js";
|
|
27
|
-
import {
|
|
28
|
-
getDeployment,
|
|
29
|
-
mapCertError
|
|
30
|
-
} from "../../chunks/chunk-SGL3NMOP.js";
|
|
31
27
|
import {
|
|
32
28
|
validateJsonOutput
|
|
33
29
|
} from "../../chunks/chunk-XPKWKPWA.js";
|
|
@@ -40,20 +36,20 @@ import {
|
|
|
40
36
|
deprecatedArchiveSplitTgz,
|
|
41
37
|
getCommandAliases,
|
|
42
38
|
initSubcommand
|
|
43
|
-
} from "../../chunks/chunk-
|
|
44
|
-
import "../../chunks/chunk-
|
|
45
|
-
import "../../chunks/chunk-
|
|
46
|
-
import "../../chunks/chunk-
|
|
47
|
-
import "../../chunks/chunk-
|
|
48
|
-
import "../../chunks/chunk-
|
|
49
|
-
import "../../chunks/chunk-
|
|
50
|
-
import "../../chunks/chunk-
|
|
51
|
-
import "../../chunks/chunk-
|
|
52
|
-
import "../../chunks/chunk-
|
|
53
|
-
import "../../chunks/chunk-
|
|
39
|
+
} from "../../chunks/chunk-I2IICWBW.js";
|
|
40
|
+
import "../../chunks/chunk-3VS4DTAU.js";
|
|
41
|
+
import "../../chunks/chunk-GIL3VAUR.js";
|
|
42
|
+
import "../../chunks/chunk-FYQPTH5C.js";
|
|
43
|
+
import "../../chunks/chunk-4G6QZSBL.js";
|
|
44
|
+
import "../../chunks/chunk-VZSZBD4V.js";
|
|
45
|
+
import "../../chunks/chunk-3PKFXNJZ.js";
|
|
46
|
+
import "../../chunks/chunk-YS6EDZHB.js";
|
|
47
|
+
import "../../chunks/chunk-STJJ3DFO.js";
|
|
48
|
+
import "../../chunks/chunk-OGG6UBXK.js";
|
|
49
|
+
import "../../chunks/chunk-LHFNIZ2P.js";
|
|
54
50
|
import {
|
|
55
51
|
pickOverrides
|
|
56
|
-
} from "../../chunks/chunk-
|
|
52
|
+
} from "../../chunks/chunk-A6LE5VAN.js";
|
|
57
53
|
import "../../chunks/chunk-NJUPUGOE.js";
|
|
58
54
|
import {
|
|
59
55
|
stamp_default
|
|
@@ -61,26 +57,24 @@ import {
|
|
|
61
57
|
import "../../chunks/chunk-VXYGCOKL.js";
|
|
62
58
|
import {
|
|
63
59
|
ensureLink
|
|
64
|
-
} from "../../chunks/chunk-
|
|
60
|
+
} from "../../chunks/chunk-KXKQQIUS.js";
|
|
65
61
|
import {
|
|
66
62
|
validatePaths,
|
|
67
63
|
validateRootDirectory
|
|
68
|
-
} from "../../chunks/chunk-
|
|
69
|
-
import
|
|
70
|
-
|
|
71
|
-
} from "../../chunks/chunk-IC4YEIGW.js";
|
|
72
|
-
import "../../chunks/chunk-EI555LUJ.js";
|
|
73
|
-
import "../../chunks/chunk-K2THP63Z.js";
|
|
74
|
-
import "../../chunks/chunk-LXF3AXHM.js";
|
|
64
|
+
} from "../../chunks/chunk-PRO4S2KV.js";
|
|
65
|
+
import "../../chunks/chunk-ZDCS54ZZ.js";
|
|
66
|
+
import "../../chunks/chunk-EYNXG3FO.js";
|
|
75
67
|
import {
|
|
76
68
|
help
|
|
77
|
-
} from "../../chunks/chunk-
|
|
69
|
+
} from "../../chunks/chunk-DMSLNAVH.js";
|
|
78
70
|
import {
|
|
79
71
|
table
|
|
80
|
-
} from "../../chunks/chunk-
|
|
72
|
+
} from "../../chunks/chunk-NZRWTCRM.js";
|
|
81
73
|
import {
|
|
82
74
|
compileVercelConfig,
|
|
83
75
|
createGitMeta,
|
|
76
|
+
getDeployment,
|
|
77
|
+
mapCertError,
|
|
84
78
|
param,
|
|
85
79
|
parseEnv,
|
|
86
80
|
parseTarget,
|
|
@@ -88,19 +82,19 @@ import {
|
|
|
88
82
|
require_dist as require_dist2,
|
|
89
83
|
require_frameworks,
|
|
90
84
|
require_lib
|
|
91
|
-
} from "../../chunks/chunk-
|
|
85
|
+
} from "../../chunks/chunk-2MXGTALG.js";
|
|
92
86
|
import {
|
|
93
|
-
|
|
94
|
-
|
|
87
|
+
AGENT_STATUS,
|
|
88
|
+
outputAgentError,
|
|
89
|
+
withGlobalFlags
|
|
90
|
+
} from "../../chunks/chunk-UDWRZXIT.js";
|
|
95
91
|
import {
|
|
96
92
|
TelemetryClient
|
|
97
93
|
} from "../../chunks/chunk-ECCWJHC6.js";
|
|
98
94
|
import {
|
|
99
|
-
getCommandNameWithGlobalFlags,
|
|
100
|
-
getFlagsSpecification,
|
|
101
95
|
parseArguments,
|
|
102
96
|
printError
|
|
103
|
-
} from "../../chunks/chunk-
|
|
97
|
+
} from "../../chunks/chunk-SZXT3PDQ.js";
|
|
104
98
|
import {
|
|
105
99
|
AliasDomainConfigured,
|
|
106
100
|
BuildError,
|
|
@@ -124,11 +118,12 @@ import {
|
|
|
124
118
|
UserAborted,
|
|
125
119
|
code,
|
|
126
120
|
getCommandName,
|
|
121
|
+
getFlagsSpecification,
|
|
127
122
|
isAPIError,
|
|
128
123
|
require_bytes
|
|
129
|
-
} from "../../chunks/chunk-
|
|
124
|
+
} from "../../chunks/chunk-KSSNLCL4.js";
|
|
130
125
|
import "../../chunks/chunk-P4QNYOFB.js";
|
|
131
|
-
import "../../chunks/chunk-
|
|
126
|
+
import "../../chunks/chunk-52QYYTM5.js";
|
|
132
127
|
import {
|
|
133
128
|
emoji,
|
|
134
129
|
link_default,
|
|
@@ -877,7 +872,7 @@ async function handleInitDeployment(client, telemetryClient) {
|
|
|
877
872
|
message: deployment.message,
|
|
878
873
|
next: [
|
|
879
874
|
{
|
|
880
|
-
command:
|
|
875
|
+
command: withGlobalFlags(client, "deploy"),
|
|
881
876
|
when: "retry deploy"
|
|
882
877
|
}
|
|
883
878
|
]
|
|
@@ -904,7 +899,7 @@ async function handleInitDeployment(client, telemetryClient) {
|
|
|
904
899
|
message: msg,
|
|
905
900
|
next: [
|
|
906
901
|
{
|
|
907
|
-
command:
|
|
902
|
+
command: withGlobalFlags(client, "deploy"),
|
|
908
903
|
when: "retry deploy"
|
|
909
904
|
}
|
|
910
905
|
]
|
|
@@ -943,7 +938,7 @@ async function handleInitDeployment(client, telemetryClient) {
|
|
|
943
938
|
deployment: deploymentJson,
|
|
944
939
|
next: [
|
|
945
940
|
{
|
|
946
|
-
command:
|
|
941
|
+
command: withGlobalFlags(client, "deploy"),
|
|
947
942
|
when: "retry deploy"
|
|
948
943
|
}
|
|
949
944
|
]
|
|
@@ -983,7 +978,7 @@ async function handleInitDeployment(client, telemetryClient) {
|
|
|
983
978
|
deployment: deploymentJson,
|
|
984
979
|
next: [
|
|
985
980
|
{
|
|
986
|
-
command:
|
|
981
|
+
command: withGlobalFlags(client, "deploy"),
|
|
987
982
|
when: "retry deploy"
|
|
988
983
|
}
|
|
989
984
|
]
|
|
@@ -1005,7 +1000,7 @@ async function handleInitDeployment(client, telemetryClient) {
|
|
|
1005
1000
|
message: "Uploading failed. Please try again.",
|
|
1006
1001
|
next: [
|
|
1007
1002
|
{
|
|
1008
|
-
command:
|
|
1003
|
+
command: withGlobalFlags(client, "deploy"),
|
|
1009
1004
|
when: "retry deploy"
|
|
1010
1005
|
}
|
|
1011
1006
|
]
|
|
@@ -1030,17 +1025,11 @@ async function handleInitDeployment(client, telemetryClient) {
|
|
|
1030
1025
|
message: `Deployment ${deployment.url} ready.`,
|
|
1031
1026
|
next: [
|
|
1032
1027
|
{
|
|
1033
|
-
command:
|
|
1034
|
-
`inspect ${deployment.url}`,
|
|
1035
|
-
client.argv
|
|
1036
|
-
),
|
|
1028
|
+
command: withGlobalFlags(client, `inspect ${deployment.url}`),
|
|
1037
1029
|
when: "Inspect deployment"
|
|
1038
1030
|
},
|
|
1039
1031
|
{
|
|
1040
|
-
command:
|
|
1041
|
-
"deploy --prod",
|
|
1042
|
-
client.argv
|
|
1043
|
-
),
|
|
1032
|
+
command: withGlobalFlags(client, "deploy --prod"),
|
|
1044
1033
|
when: "Promote to production"
|
|
1045
1034
|
}
|
|
1046
1035
|
]
|
|
@@ -1119,9 +1108,9 @@ async function handleContinueSubcommand(client, telemetryClient) {
|
|
|
1119
1108
|
message: "Missing required --id flag. Provide the deployment ID to continue.",
|
|
1120
1109
|
next: [
|
|
1121
1110
|
{
|
|
1122
|
-
command:
|
|
1123
|
-
|
|
1124
|
-
|
|
1111
|
+
command: withGlobalFlags(
|
|
1112
|
+
client,
|
|
1113
|
+
"deploy continue --id <deployment-id>"
|
|
1125
1114
|
),
|
|
1126
1115
|
when: "provide deployment ID"
|
|
1127
1116
|
}
|
|
@@ -1190,13 +1179,13 @@ async function handleContinueSubcommand(client, telemetryClient) {
|
|
|
1190
1179
|
message: 'No prebuilt output found in ".vercel/output". Run build first.',
|
|
1191
1180
|
next: [
|
|
1192
1181
|
{
|
|
1193
|
-
command:
|
|
1182
|
+
command: withGlobalFlags(client, "build"),
|
|
1194
1183
|
when: "generate prebuilt output"
|
|
1195
1184
|
},
|
|
1196
1185
|
{
|
|
1197
|
-
command:
|
|
1198
|
-
|
|
1199
|
-
|
|
1186
|
+
command: withGlobalFlags(
|
|
1187
|
+
client,
|
|
1188
|
+
`deploy continue --id ${idFlag}`
|
|
1200
1189
|
),
|
|
1201
1190
|
when: "deploy prebuilt output"
|
|
1202
1191
|
}
|
|
@@ -1651,7 +1640,7 @@ async function handleDefaultDeploy(client, telemetryClient) {
|
|
|
1651
1640
|
message: deployment.message,
|
|
1652
1641
|
next: [
|
|
1653
1642
|
{
|
|
1654
|
-
command:
|
|
1643
|
+
command: withGlobalFlags(client, "deploy"),
|
|
1655
1644
|
when: "retry deploy"
|
|
1656
1645
|
}
|
|
1657
1646
|
]
|
|
@@ -1678,7 +1667,7 @@ async function handleDefaultDeploy(client, telemetryClient) {
|
|
|
1678
1667
|
message: msg,
|
|
1679
1668
|
next: [
|
|
1680
1669
|
{
|
|
1681
|
-
command:
|
|
1670
|
+
command: withGlobalFlags(client, "deploy"),
|
|
1682
1671
|
when: "retry deploy"
|
|
1683
1672
|
}
|
|
1684
1673
|
]
|
|
@@ -1717,7 +1706,7 @@ async function handleDefaultDeploy(client, telemetryClient) {
|
|
|
1717
1706
|
deployment: deploymentJson,
|
|
1718
1707
|
next: [
|
|
1719
1708
|
{
|
|
1720
|
-
command:
|
|
1709
|
+
command: withGlobalFlags(client, "deploy"),
|
|
1721
1710
|
when: "retry deploy"
|
|
1722
1711
|
}
|
|
1723
1712
|
]
|
|
@@ -1757,7 +1746,7 @@ async function handleDefaultDeploy(client, telemetryClient) {
|
|
|
1757
1746
|
deployment: deploymentJson,
|
|
1758
1747
|
next: [
|
|
1759
1748
|
{
|
|
1760
|
-
command:
|
|
1749
|
+
command: withGlobalFlags(client, "deploy"),
|
|
1761
1750
|
when: "retry deploy"
|
|
1762
1751
|
}
|
|
1763
1752
|
]
|
|
@@ -1782,7 +1771,7 @@ async function handleDefaultDeploy(client, telemetryClient) {
|
|
|
1782
1771
|
message: "Uploading failed. Please try again.",
|
|
1783
1772
|
next: [
|
|
1784
1773
|
{
|
|
1785
|
-
command:
|
|
1774
|
+
command: withGlobalFlags(client, "deploy"),
|
|
1786
1775
|
when: "retry deploy"
|
|
1787
1776
|
}
|
|
1788
1777
|
]
|
|
@@ -1813,7 +1802,7 @@ ${err.stack}`);
|
|
|
1813
1802
|
message: err.message,
|
|
1814
1803
|
next: [
|
|
1815
1804
|
{
|
|
1816
|
-
command:
|
|
1805
|
+
command: withGlobalFlags(client, "deploy"),
|
|
1817
1806
|
when: "retry deploy"
|
|
1818
1807
|
}
|
|
1819
1808
|
]
|
|
@@ -1839,7 +1828,7 @@ ${err.stack}`);
|
|
|
1839
1828
|
message: err.message,
|
|
1840
1829
|
next: [
|
|
1841
1830
|
{
|
|
1842
|
-
command:
|
|
1831
|
+
command: withGlobalFlags(client, "deploy"),
|
|
1843
1832
|
when: "retry deploy"
|
|
1844
1833
|
}
|
|
1845
1834
|
]
|
|
@@ -1885,7 +1874,7 @@ ${err.stack}`);
|
|
|
1885
1874
|
message: err instanceof Error ? err.message : String(err),
|
|
1886
1875
|
next: [
|
|
1887
1876
|
{
|
|
1888
|
-
command:
|
|
1877
|
+
command: withGlobalFlags(client, "deploy"),
|
|
1889
1878
|
when: "retry deploy"
|
|
1890
1879
|
}
|
|
1891
1880
|
]
|
|
@@ -1970,7 +1959,7 @@ ${err.stack}`);
|
|
|
1970
1959
|
message,
|
|
1971
1960
|
next: [
|
|
1972
1961
|
{
|
|
1973
|
-
command:
|
|
1962
|
+
command: withGlobalFlags(client, "deploy"),
|
|
1974
1963
|
when: "retry deploy"
|
|
1975
1964
|
}
|
|
1976
1965
|
]
|
|
@@ -1993,7 +1982,7 @@ ${err.stack}`);
|
|
|
1993
1982
|
message: err instanceof Error ? err.message : String(err),
|
|
1994
1983
|
next: [
|
|
1995
1984
|
{
|
|
1996
|
-
command:
|
|
1985
|
+
command: withGlobalFlags(client, "deploy"),
|
|
1997
1986
|
when: "retry deploy"
|
|
1998
1987
|
}
|
|
1999
1988
|
]
|
|
@@ -2016,17 +2005,11 @@ ${err.stack}`);
|
|
|
2016
2005
|
message: `Deployment ${deployment.url} ready.`,
|
|
2017
2006
|
next: [
|
|
2018
2007
|
{
|
|
2019
|
-
command:
|
|
2020
|
-
`inspect ${deployment.url}`,
|
|
2021
|
-
client.argv
|
|
2022
|
-
),
|
|
2008
|
+
command: withGlobalFlags(client, `inspect ${deployment.url}`),
|
|
2023
2009
|
when: "Inspect deployment"
|
|
2024
2010
|
},
|
|
2025
2011
|
{
|
|
2026
|
-
command:
|
|
2027
|
-
"deploy --prod",
|
|
2028
|
-
client.argv
|
|
2029
|
-
),
|
|
2012
|
+
command: withGlobalFlags(client, "deploy --prod"),
|
|
2030
2013
|
when: "Promote to production"
|
|
2031
2014
|
}
|
|
2032
2015
|
]
|
|
@@ -2445,7 +2428,7 @@ async function handleFailedCheckRuns(client, deployment, asJson) {
|
|
|
2445
2428
|
failedCheckRuns: failedCheckRunsWithLogs,
|
|
2446
2429
|
next: [
|
|
2447
2430
|
{
|
|
2448
|
-
command:
|
|
2431
|
+
command: withGlobalFlags(client, "deploy"),
|
|
2449
2432
|
when: "retry deploy after fixing check failures"
|
|
2450
2433
|
}
|
|
2451
2434
|
]
|