vercel 58.7.0 → 58.8.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-USFLACJX.js → add-GEI53S56.js} +3 -3
- package/dist/chunks/{add-KMRFKOPJ.js → add-OJLNBYCB.js} +7 -7
- package/dist/chunks/{add-I7X6NXYD.js → add-RVZD257F.js} +5 -5
- package/dist/chunks/{build-GNX3QE6Q.js → build-KAOW7IJ6.js} +5 -5
- package/dist/chunks/{chunk-D6SC2UJH.js → chunk-4BQZVTJ2.js} +1 -1
- package/dist/chunks/{chunk-TNTJXJSE.js → chunk-4IVGF3OR.js} +1 -1
- package/dist/chunks/{chunk-7KUQ7BHI.js → chunk-53LZ5BMD.js} +4 -3
- package/dist/chunks/{chunk-BIGFTNW6.js → chunk-55JM5YCD.js} +1 -1
- package/dist/chunks/{chunk-TE5MIANG.js → chunk-7ZEPVL6J.js} +2 -2
- package/dist/chunks/{chunk-CDYBV7YA.js → chunk-AF7S35K3.js} +1 -1
- package/dist/chunks/{chunk-74XVGG52.js → chunk-ASSWFLX7.js} +2 -2
- package/dist/chunks/{chunk-YR6M7ZIU.js → chunk-AX2PTUXP.js} +1 -1
- package/dist/chunks/{chunk-AW5YINX6.js → chunk-ELA5VN3A.js} +36 -3
- package/dist/chunks/{chunk-H3KETQAA.js → chunk-EMD7HCIW.js} +1 -1
- package/dist/chunks/{chunk-NOMQUVGM.js → chunk-FWZGQKRP.js} +1 -1
- package/dist/chunks/{chunk-MNZUPMZZ.js → chunk-HJEZQCMB.js} +2 -2
- package/dist/chunks/{chunk-ZZZEJXHD.js → chunk-IFNTK75I.js} +47 -3
- package/dist/chunks/{chunk-NZ6GDMPB.js → chunk-IOBULT7M.js} +42 -9
- package/dist/chunks/{chunk-LC5BYUUP.js → chunk-JFJGWMAL.js} +1 -1
- package/dist/chunks/{chunk-UAVZOOOL.js → chunk-KPDA6YEP.js} +32 -9
- package/dist/chunks/{chunk-XPKWKPWA.js → chunk-KXDWXXJH.js} +27 -1
- package/dist/chunks/{chunk-NI4DNP3D.js → chunk-LCZDGAXC.js} +1 -1
- package/dist/chunks/{chunk-UME4MVFU.js → chunk-N2A6HWBD.js} +1 -1
- package/dist/chunks/{chunk-5SZ6VX2H.js → chunk-N7C5X53Q.js} +1 -1
- package/dist/chunks/{chunk-7SXWLTXT.js → chunk-SPQSJERL.js} +1 -1
- package/dist/chunks/{chunk-DHTB5D3E.js → chunk-V3FYICX7.js} +2 -2
- package/dist/chunks/{chunk-4XKF7JOF.js → chunk-XTIQ7DV7.js} +1 -1
- package/dist/chunks/{chunk-NYKWLQQM.js → chunk-YRYC7WDR.js} +5 -5
- package/dist/chunks/{chunk-62SBYAED.js → chunk-ZGXTMIJX.js} +4 -4
- package/dist/chunks/{clear-ERVHWAHX.js → clear-DWPIGPO2.js} +3 -3
- package/dist/chunks/{compile-vercel-config-PM5ID4CV.js → compile-vercel-config-FSU42P2X.js} +1 -1
- package/dist/chunks/config-V42N5SNP.js +159 -0
- package/dist/chunks/{delete-XB24AZGV.js → delete-5KRNKCYI.js} +3 -3
- package/dist/chunks/{delete-GMVIUCQV.js → delete-EQ5NJWPR.js} +2 -2
- package/dist/chunks/{disable-JJZZQ4IZ.js → disable-KO6WDHRC.js} +2 -2
- package/dist/chunks/{discard-CGAS2MSK.js → discard-E7PLPNUL.js} +2 -2
- package/dist/chunks/{edit-RKUUUBQF.js → edit-55TQT6RK.js} +3 -3
- package/dist/chunks/{edit-TFZDCJTL.js → edit-OIXKTSXJ.js} +3 -3
- package/dist/chunks/{enable-UXRVQO6C.js → enable-UOEAVAUU.js} +2 -2
- package/dist/chunks/{export-WQE3UU4V.js → export-X2XFUNPV.js} +2 -2
- package/dist/chunks/{image-HV7N6RTK.js → image-JAAMXTIA.js} +3 -3
- package/dist/chunks/{import-builders-IEVZ7KYP.js → import-builders-YDOLGBXS.js} +2 -2
- package/dist/chunks/{inspect-VDQEM3E6.js → inspect-EYUJ32YM.js} +4 -4
- package/dist/chunks/{inspect-NADJYMSZ.js → inspect-IP6EMMGZ.js} +3 -3
- package/dist/chunks/{inspect-E3YSH5BV.js → inspect-S52AEYAQ.js} +3 -3
- package/dist/chunks/{inspect-4BXZOMC2.js → inspect-SQXG4BFZ.js} +3 -3
- package/dist/chunks/{inspect-DT2PX6LB.js → inspect-W4AH3EKN.js} +5 -5
- package/dist/chunks/{list-5PLKF2GL.js → list-KODWTHC2.js} +2 -2
- package/dist/chunks/{list-RVE2NAC5.js → list-W2HMCZT7.js} +4 -4
- package/dist/chunks/{list-ARM4RM22.js → list-ZFHW4YYW.js} +3 -3
- package/dist/chunks/{login-VHGNOKBB.js → login-QA4765QP.js} +5 -5
- package/dist/chunks/{ls-QBKFZC52.js → ls-A3RJWHNR.js} +3 -3
- package/dist/chunks/{ls-YME2AL47.js → ls-ESCK2JMH.js} +5 -5
- package/dist/chunks/{ls-OTCUUI4L.js → ls-GHFI6RDD.js} +3 -3
- package/dist/chunks/{ls-IVVP4H24.js → ls-GLFSM2NL.js} +3 -3
- package/dist/chunks/{ls-4QRIPSBC.js → ls-GZ5K57Y6.js} +4 -4
- package/dist/chunks/{open-KYVW2GTM.js → open-EE7WS2UB.js} +2 -2
- package/dist/chunks/{permissions-BLHKOJDO.js → permissions-L7NPGX2M.js} +4 -4
- package/dist/chunks/{publish-4BKTL25X.js → publish-7BIMCBQ6.js} +2 -2
- package/dist/chunks/{push-IJFWOWD7.js → push-IKPIV52M.js} +5 -5
- package/dist/chunks/{query-VIV66DLZ.js → query-DFRPIOZM.js} +2 -2
- package/dist/chunks/{reorder-C44IJZNE.js → reorder-GA5FVDKD.js} +2 -2
- package/dist/chunks/{reply-M6WBMKBN.js → reply-C3375THE.js} +3 -3
- package/dist/chunks/{resolve-44ICWDRT.js → resolve-MBWHKHSW.js} +3 -3
- package/dist/chunks/{restore-ACDVNSTC.js → restore-WGSD5LXC.js} +2 -2
- package/dist/chunks/{rm-Q7VXI345.js → rm-KOUNSG5Y.js} +3 -3
- package/dist/chunks/{rm-RO3R3MZT.js → rm-PXBJERO4.js} +5 -5
- package/dist/chunks/{rm-P2ILGP4I.js → rm-UEFME3MH.js} +3 -3
- package/dist/chunks/{rm-K2FDC5CL.js → rm-XITL2VK4.js} +4 -4
- package/dist/chunks/{rule-inspect-JGKJXOUD.js → rule-inspect-7MJ6F3H6.js} +4 -4
- package/dist/chunks/{rules-BRTF5HJP.js → rules-YBSW4TND.js} +7 -7
- package/dist/chunks/{schema-Z3L5ZOEE.js → schema-JP4Z36AT.js} +2 -2
- package/dist/chunks/{schema-T7RNRNKT.js → schema-ZNPIMQL5.js} +1 -1
- package/dist/chunks/{tags-BPHVFK53.js → tags-XEZOWSS3.js} +2 -2
- package/dist/chunks/{types-QTOA2BTQ.js → types-UWI4HETD.js} +1 -1
- package/dist/chunks/{update-5KQU4HCK.js → update-236TLBCO.js} +7 -7
- package/dist/commands/build/index.js +21 -12
- package/dist/commands/deploy/index.js +20 -15
- package/dist/commands/dev/index.js +8 -8
- package/dist/commands/env/index.js +7 -7
- package/dist/commands/link/index.js +8 -8
- package/dist/commands/list/index.js +3 -3
- package/dist/commands-bulk.js +196 -57
- package/dist/index.js +17 -12
- package/dist/version.mjs +1 -1
- package/package.json +31 -31
|
@@ -17,17 +17,17 @@ import {
|
|
|
17
17
|
emitVcrArgParseError,
|
|
18
18
|
resolveVcrScope,
|
|
19
19
|
validateVcrJsonOutput
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-V3FYICX7.js";
|
|
21
21
|
import "./chunk-G75NFPIT.js";
|
|
22
22
|
import {
|
|
23
23
|
outputError
|
|
24
24
|
} from "./chunk-P65EEFTR.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-KXDWXXJH.js";
|
|
26
26
|
import {
|
|
27
27
|
permissionsAddSubcommand
|
|
28
28
|
} from "./chunk-J6LK45HT.js";
|
|
29
29
|
import "./chunk-R6IGDGX3.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-IOBULT7M.js";
|
|
31
31
|
import "./chunk-ECCWJHC6.js";
|
|
32
32
|
import {
|
|
33
33
|
AGENT_REASON,
|
|
@@ -8,32 +8,32 @@ import {
|
|
|
8
8
|
parseCustomAlertQueryBody,
|
|
9
9
|
resolveCustomAlertProjectName,
|
|
10
10
|
setMissingCustomAlertProjectScope
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7ZEPVL6J.js";
|
|
12
12
|
import {
|
|
13
13
|
emitRulesArgParseError,
|
|
14
14
|
handleRulesApiError,
|
|
15
15
|
parseRulesFlagsAndScope,
|
|
16
16
|
rulesCollectionPath
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FWZGQKRP.js";
|
|
18
18
|
import {
|
|
19
19
|
isCustomAlertRule
|
|
20
20
|
} from "./chunk-TEQKKTJQ.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-SPQSJERL.js";
|
|
22
22
|
import "./chunk-A3NYPUKZ.js";
|
|
23
23
|
import "./chunk-P65EEFTR.js";
|
|
24
24
|
import "./chunk-FGDKMNEN.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-HJEZQCMB.js";
|
|
26
26
|
import "./chunk-V5P25P7F.js";
|
|
27
27
|
import "./chunk-RQ7H43CJ.js";
|
|
28
28
|
import {
|
|
29
29
|
validateJsonOutput
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KXDWXXJH.js";
|
|
31
31
|
import {
|
|
32
32
|
rulesAddSubcommand
|
|
33
33
|
} from "./chunk-UMA66MKW.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-N2A6HWBD.js";
|
|
35
35
|
import "./chunk-KT4XXKJK.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-IOBULT7M.js";
|
|
37
37
|
import "./chunk-ECCWJHC6.js";
|
|
38
38
|
import {
|
|
39
39
|
AGENT_REASON,
|
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
handleVcrApiError,
|
|
10
10
|
resolveVcrScope,
|
|
11
11
|
validateVcrJsonOutput
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-V3FYICX7.js";
|
|
13
13
|
import "./chunk-G75NFPIT.js";
|
|
14
14
|
import {
|
|
15
15
|
outputError
|
|
16
16
|
} from "./chunk-P65EEFTR.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-KXDWXXJH.js";
|
|
18
18
|
import {
|
|
19
19
|
addSubcommand
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ELA5VN3A.js";
|
|
21
|
+
import "./chunk-B3JTF4CF.js";
|
|
21
22
|
import "./chunk-A5KP5HAI.js";
|
|
22
23
|
import "./chunk-J6LK45HT.js";
|
|
23
|
-
import "./chunk-B3JTF4CF.js";
|
|
24
24
|
import "./chunk-R6IGDGX3.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-IOBULT7M.js";
|
|
26
26
|
import "./chunk-ECCWJHC6.js";
|
|
27
27
|
import {
|
|
28
28
|
AGENT_REASON,
|
|
@@ -23,20 +23,20 @@ import {
|
|
|
23
23
|
runEngine,
|
|
24
24
|
splitPassthrough,
|
|
25
25
|
validateVcrChoice
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-V3FYICX7.js";
|
|
27
27
|
import "./chunk-G75NFPIT.js";
|
|
28
28
|
import {
|
|
29
29
|
outputError
|
|
30
30
|
} from "./chunk-P65EEFTR.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-KXDWXXJH.js";
|
|
32
32
|
import {
|
|
33
33
|
buildSubcommand
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ELA5VN3A.js";
|
|
35
|
+
import "./chunk-B3JTF4CF.js";
|
|
35
36
|
import "./chunk-A5KP5HAI.js";
|
|
36
37
|
import "./chunk-J6LK45HT.js";
|
|
37
|
-
import "./chunk-B3JTF4CF.js";
|
|
38
38
|
import "./chunk-R6IGDGX3.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-IOBULT7M.js";
|
|
40
40
|
import "./chunk-ECCWJHC6.js";
|
|
41
41
|
import {
|
|
42
42
|
AGENT_REASON,
|
|
@@ -6,14 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
setupAndLink
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ASSWFLX7.js";
|
|
10
10
|
import {
|
|
11
11
|
detectExplicitScope,
|
|
12
12
|
getLinkedProject,
|
|
13
13
|
param,
|
|
14
14
|
printProjectNotFoundError,
|
|
15
15
|
resolveProjectCwd
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IOBULT7M.js";
|
|
17
17
|
import {
|
|
18
18
|
buildCommandWithYes,
|
|
19
19
|
outputActionRequired
|
|
@@ -41,7 +41,8 @@ async function ensureLink(commandName, client, cwd, opts = {}) {
|
|
|
41
41
|
projectName: opts.projectName,
|
|
42
42
|
projectNameIsExplicit: Boolean(opts.projectName && opts.failIfNotFound),
|
|
43
43
|
scopeIsExplicit: detectExplicitScope(client),
|
|
44
|
-
allowOwnerLookupFallback: opts.allowOwnerLookupFallback
|
|
44
|
+
allowOwnerLookupFallback: opts.allowOwnerLookupFallback,
|
|
45
|
+
skipRemoteLookup: opts.skipRemoteLookup
|
|
45
46
|
});
|
|
46
47
|
}
|
|
47
48
|
opts.link = link;
|
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
isJSONObject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HJEZQCMB.js";
|
|
10
10
|
import {
|
|
11
11
|
getProjectByNameOrId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IOBULT7M.js";
|
|
13
13
|
import {
|
|
14
14
|
AGENT_REASON,
|
|
15
15
|
outputAgentError
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getLocalPathConfig,
|
|
9
9
|
isPromptBackError,
|
|
10
10
|
isPromptCanceledError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-N2A6HWBD.js";
|
|
12
12
|
import {
|
|
13
13
|
table
|
|
14
14
|
} from "./chunk-KT4XXKJK.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
selectAndParseRemoteUrl,
|
|
47
47
|
selectOrg,
|
|
48
48
|
writeServicesConfig
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-IOBULT7M.js";
|
|
50
50
|
import {
|
|
51
51
|
printError
|
|
52
52
|
} from "./chunk-KBEX5MYS.js";
|
|
@@ -4,15 +4,15 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
+
import {
|
|
8
|
+
tagsAggregateCommand
|
|
9
|
+
} from "./chunk-B3JTF4CF.js";
|
|
7
10
|
import {
|
|
8
11
|
imageAggregateCommand
|
|
9
12
|
} from "./chunk-A5KP5HAI.js";
|
|
10
13
|
import {
|
|
11
14
|
permissionsAggregateCommand
|
|
12
15
|
} from "./chunk-J6LK45HT.js";
|
|
13
|
-
import {
|
|
14
|
-
tagsAggregateCommand
|
|
15
|
-
} from "./chunk-B3JTF4CF.js";
|
|
16
16
|
import {
|
|
17
17
|
formatOption,
|
|
18
18
|
jsonOption,
|
|
@@ -51,6 +51,15 @@ var pushOption = {
|
|
|
51
51
|
deprecated: false,
|
|
52
52
|
description: "Push the image after building. With Docker this builds and pushes in one step (Buildx enables zstd compression); Podman and Buildah build, then push with zstd compression."
|
|
53
53
|
};
|
|
54
|
+
var publicOption = {
|
|
55
|
+
name: "public",
|
|
56
|
+
shorthand: null,
|
|
57
|
+
type: String,
|
|
58
|
+
deprecated: false,
|
|
59
|
+
description: "Set the repository visibility: `true` for public, `false` for private.",
|
|
60
|
+
argument: "BOOLEAN",
|
|
61
|
+
choices: ["true", "false"]
|
|
62
|
+
};
|
|
54
63
|
var listSubcommand = {
|
|
55
64
|
name: "ls",
|
|
56
65
|
aliases: ["list"],
|
|
@@ -110,6 +119,28 @@ var addSubcommand = {
|
|
|
110
119
|
}
|
|
111
120
|
]
|
|
112
121
|
};
|
|
122
|
+
var configSubcommand = {
|
|
123
|
+
name: "config",
|
|
124
|
+
aliases: [],
|
|
125
|
+
description: "Configure a container registry repository, such as the repository's visibility",
|
|
126
|
+
arguments: [
|
|
127
|
+
{
|
|
128
|
+
name: "repository",
|
|
129
|
+
required: true
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
options: [publicOption, projectScopeOption, formatOption, jsonOption],
|
|
133
|
+
examples: [
|
|
134
|
+
{
|
|
135
|
+
name: "Make a repository public",
|
|
136
|
+
value: `${packageName} vcr config my-repository --public true`
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
name: "Make a repository private",
|
|
140
|
+
value: `${packageName} vcr config my-repository --public false`
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
};
|
|
113
144
|
var removeSubcommand = {
|
|
114
145
|
name: "rm",
|
|
115
146
|
aliases: ["remove", "delete"],
|
|
@@ -235,6 +266,7 @@ var vcrCommand = {
|
|
|
235
266
|
listSubcommand,
|
|
236
267
|
inspectSubcommand,
|
|
237
268
|
addSubcommand,
|
|
269
|
+
configSubcommand,
|
|
238
270
|
removeSubcommand,
|
|
239
271
|
loginSubcommand,
|
|
240
272
|
buildSubcommand,
|
|
@@ -264,6 +296,7 @@ export {
|
|
|
264
296
|
listSubcommand,
|
|
265
297
|
inspectSubcommand,
|
|
266
298
|
addSubcommand,
|
|
299
|
+
configSubcommand,
|
|
267
300
|
removeSubcommand,
|
|
268
301
|
loginSubcommand,
|
|
269
302
|
buildSubcommand,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
PromptBackError,
|
|
12
12
|
PromptCanceledError,
|
|
13
13
|
getLocalPathConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-N2A6HWBD.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-IOBULT7M.js";
|
|
42
42
|
import {
|
|
43
43
|
require_load_json_file
|
|
44
44
|
} from "./chunk-ECCWJHC6.js";
|
|
@@ -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-ELA5VN3A.js";
|
|
10
10
|
import {
|
|
11
11
|
metricsCommand
|
|
12
12
|
} from "./chunk-CSJBZKC5.js";
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
import {
|
|
32
32
|
buildCommand,
|
|
33
33
|
pullCommand
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-AF7S35K3.js";
|
|
35
35
|
import {
|
|
36
36
|
envCommand
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-IOBULT7M.js";
|
|
38
38
|
import {
|
|
39
39
|
confirmOption,
|
|
40
40
|
deploymentOption,
|
|
@@ -2319,6 +2319,38 @@ var createSubcommand2 = {
|
|
|
2319
2319
|
deprecated: false,
|
|
2320
2320
|
description: "Webhook event to receive. Repeatable. Requires --triggers and replaces the provider's default events."
|
|
2321
2321
|
},
|
|
2322
|
+
{
|
|
2323
|
+
name: "trigger-project",
|
|
2324
|
+
shorthand: null,
|
|
2325
|
+
type: String,
|
|
2326
|
+
argument: "PROJECT",
|
|
2327
|
+
deprecated: false,
|
|
2328
|
+
description: "Target a project by name or ID instead of the linked project. Requires --triggers."
|
|
2329
|
+
},
|
|
2330
|
+
{
|
|
2331
|
+
name: "trigger-path",
|
|
2332
|
+
shorthand: null,
|
|
2333
|
+
type: String,
|
|
2334
|
+
argument: "PATH",
|
|
2335
|
+
deprecated: false,
|
|
2336
|
+
description: "Set the path on the destination project that receives forwarded webhooks. Requires --triggers."
|
|
2337
|
+
},
|
|
2338
|
+
{
|
|
2339
|
+
name: "trigger-branch",
|
|
2340
|
+
shorthand: null,
|
|
2341
|
+
type: String,
|
|
2342
|
+
argument: "BRANCH",
|
|
2343
|
+
deprecated: false,
|
|
2344
|
+
description: "Target a specific git branch for the trigger destination. Requires --triggers."
|
|
2345
|
+
},
|
|
2346
|
+
{
|
|
2347
|
+
name: "trigger-environment",
|
|
2348
|
+
shorthand: null,
|
|
2349
|
+
type: String,
|
|
2350
|
+
argument: "ENV",
|
|
2351
|
+
deprecated: false,
|
|
2352
|
+
description: "Target a custom environment by slug or stable ID. Mutually exclusive with --trigger-branch and requires --triggers."
|
|
2353
|
+
},
|
|
2322
2354
|
{
|
|
2323
2355
|
name: "connection-method",
|
|
2324
2356
|
shorthand: null,
|
|
@@ -2407,6 +2439,18 @@ var createSubcommand2 = {
|
|
|
2407
2439
|
name: "Create with selected webhook events",
|
|
2408
2440
|
value: `${packageName} connect create linear --name linear --triggers --trigger-event Issue --trigger-event Comment --trigger-event Project`
|
|
2409
2441
|
},
|
|
2442
|
+
{
|
|
2443
|
+
name: "Create with a custom trigger path",
|
|
2444
|
+
value: `${packageName} connect create github --name github --triggers --trigger-path /eve/v1/github`
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
name: "Create with branch-specific trigger routing",
|
|
2448
|
+
value: `${packageName} connect create github --name github --triggers --trigger-path /api/webhooks --trigger-branch main`
|
|
2449
|
+
},
|
|
2450
|
+
{
|
|
2451
|
+
name: "Create with trigger routing on another project",
|
|
2452
|
+
value: `${packageName} connect create github --name github --triggers --trigger-project my-api --trigger-path /api/webhooks`
|
|
2453
|
+
},
|
|
2410
2454
|
{
|
|
2411
2455
|
name: "Create with branding (icon and colors)",
|
|
2412
2456
|
value: `${packageName} connect create slack --name my-bot --icon ./logo.png --background-color '#1A2B3C' --accent-color '#FF0066'`
|
|
@@ -14510,7 +14510,7 @@ var require_frameworks = __commonJS({
|
|
|
14510
14510
|
name: "Dojo",
|
|
14511
14511
|
slug: "dojo",
|
|
14512
14512
|
demo: "https://dojo-template.vercel.app",
|
|
14513
|
-
logo: "https://api-frameworks.vercel.sh/framework-logos/dojo.
|
|
14513
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/dojo.svg",
|
|
14514
14514
|
tagline: "Dojo is a modern progressive, TypeScript first framework.",
|
|
14515
14515
|
description: "A Dojo app, created with the Dojo CLI's cli-create-app command.",
|
|
14516
14516
|
website: "https://dojo.io",
|
|
@@ -14669,7 +14669,7 @@ var require_frameworks = __commonJS({
|
|
|
14669
14669
|
name: "Scully",
|
|
14670
14670
|
slug: "scully",
|
|
14671
14671
|
demo: "https://scully-template.vercel.app",
|
|
14672
|
-
logo: "https://api-frameworks.vercel.sh/framework-logos/scullyio-logo.
|
|
14672
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/scullyio-logo.svg",
|
|
14673
14673
|
tagline: "Scully is a static site generator for Angular.",
|
|
14674
14674
|
description: "The Static Site Generator for Angular apps.",
|
|
14675
14675
|
website: "https://github.com/scullyio/scully",
|
|
@@ -15575,7 +15575,7 @@ var require_frameworks = __commonJS({
|
|
|
15575
15575
|
name: "Zola",
|
|
15576
15576
|
slug: "zola",
|
|
15577
15577
|
demo: "https://zola-template.vercel.app",
|
|
15578
|
-
logo: "https://api-frameworks.vercel.sh/framework-logos/zola.
|
|
15578
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/zola.svg",
|
|
15579
15579
|
tagline: "Everything you need to make a static site engine in one binary.",
|
|
15580
15580
|
description: 'A Zola app, created with the "Getting Started" tutorial.',
|
|
15581
15581
|
website: "https://www.getzola.org",
|
|
@@ -15801,7 +15801,7 @@ var require_frameworks = __commonJS({
|
|
|
15801
15801
|
name: "VuePress",
|
|
15802
15802
|
slug: "vuepress",
|
|
15803
15803
|
demo: "https://vuepress-starter-template.vercel.app",
|
|
15804
|
-
logo: "https://api-frameworks.vercel.sh/framework-logos/vuepress.
|
|
15804
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/vuepress.svg",
|
|
15805
15805
|
tagline: "Vue-powered Static Site Generator",
|
|
15806
15806
|
description: "Vue-powered Static Site Generator",
|
|
15807
15807
|
website: "https://vuepress.vuejs.org/",
|
|
@@ -15833,7 +15833,7 @@ var require_frameworks = __commonJS({
|
|
|
15833
15833
|
name: "Parcel",
|
|
15834
15834
|
slug: "parcel",
|
|
15835
15835
|
demo: "https://parcel-template.vercel.app",
|
|
15836
|
-
logo: "https://api-frameworks.vercel.sh/framework-logos/parcel.
|
|
15836
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/parcel.svg",
|
|
15837
15837
|
tagline: "Parcel is a zero configuration build tool for the web that scales to projects of any size and complexity.",
|
|
15838
15838
|
description: "A vanilla web app built with Parcel.",
|
|
15839
15839
|
website: "https://parceljs.org",
|
|
@@ -15985,8 +15985,8 @@ var require_frameworks = __commonJS({
|
|
|
15985
15985
|
name: "FastHTML",
|
|
15986
15986
|
slug: "fasthtml",
|
|
15987
15987
|
demo: "https://fasthtml-template.vercel.app",
|
|
15988
|
-
logo: "https://api-frameworks.vercel.sh/framework-logos/fasthtml.
|
|
15989
|
-
darkModeLogo: "https://api-frameworks.vercel.sh/framework-logos/fasthtml-dark.
|
|
15988
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/fasthtml.svg",
|
|
15989
|
+
darkModeLogo: "https://api-frameworks.vercel.sh/framework-logos/fasthtml-dark.svg",
|
|
15990
15990
|
tagline: "The fastest way to create an HTML app",
|
|
15991
15991
|
description: "A library for writing fast and scalable Starlette-powered web applications",
|
|
15992
15992
|
website: "https://fastht.ml",
|
|
@@ -38164,7 +38164,7 @@ var require_package = __commonJS({
|
|
|
38164
38164
|
"../client/package.json"(exports, module) {
|
|
38165
38165
|
module.exports = {
|
|
38166
38166
|
name: "@vercel/client",
|
|
38167
|
-
version: "18.2.
|
|
38167
|
+
version: "18.2.6",
|
|
38168
38168
|
main: "dist/index.js",
|
|
38169
38169
|
typings: "dist/index.d.ts",
|
|
38170
38170
|
homepage: "https://vercel.com",
|
|
@@ -58838,7 +58838,7 @@ function createDetectEntrypoint(projectRoot) {
|
|
|
58838
58838
|
};
|
|
58839
58839
|
}
|
|
58840
58840
|
async function loadBuilderDetectEntrypoint(name, projectRoot) {
|
|
58841
|
-
const { importBuilders } = await import("./import-builders-
|
|
58841
|
+
const { importBuilders } = await import("./import-builders-YDOLGBXS.js");
|
|
58842
58842
|
const builders = await importBuilders(/* @__PURE__ */ new Set([name]), projectRoot);
|
|
58843
58843
|
const loaded = builders.get(name);
|
|
58844
58844
|
if (!loaded) {
|
|
@@ -59062,6 +59062,9 @@ var VERCEL_DIR_REPO = "repo.json";
|
|
|
59062
59062
|
function isOwnerLookupUnavailableLink(link) {
|
|
59063
59063
|
return "ownerLookupUnavailable" in link && link.ownerLookupUnavailable === true;
|
|
59064
59064
|
}
|
|
59065
|
+
function isOrgSlugUnavailableLink(link) {
|
|
59066
|
+
return "orgSlugUnavailable" in link && link.orgSlugUnavailable === true;
|
|
59067
|
+
}
|
|
59065
59068
|
function isOwnerLookupUnavailableError(error) {
|
|
59066
59069
|
return isAPIError(error) && error.status === 403 && error.code === "team_unauthorized";
|
|
59067
59070
|
}
|
|
@@ -59169,6 +59172,7 @@ async function getProjectLinkFromRepoLink(client, path, projectName, projectName
|
|
|
59169
59172
|
repoRoot: repoLink.rootPath,
|
|
59170
59173
|
orgId,
|
|
59171
59174
|
projectId: project.id,
|
|
59175
|
+
projectName: project.name,
|
|
59172
59176
|
projectRootDirectory: project.directory
|
|
59173
59177
|
};
|
|
59174
59178
|
}
|
|
@@ -59300,6 +59304,34 @@ async function getLinkedProject(client, options = {}) {
|
|
|
59300
59304
|
if (!link) {
|
|
59301
59305
|
return { status: "not_linked", org: null, project: null, orgId };
|
|
59302
59306
|
}
|
|
59307
|
+
if (options.skipRemoteLookup && link.projectName) {
|
|
59308
|
+
const settings = link.settings;
|
|
59309
|
+
const project2 = {
|
|
59310
|
+
...settings,
|
|
59311
|
+
id: link.projectId,
|
|
59312
|
+
accountId: link.orgId,
|
|
59313
|
+
name: link.projectName,
|
|
59314
|
+
createdAt: settings?.createdAt ?? 0,
|
|
59315
|
+
updatedAt: settings?.createdAt ?? 0,
|
|
59316
|
+
rootDirectory: link.projectRootDirectory ?? settings?.rootDirectory ?? null
|
|
59317
|
+
};
|
|
59318
|
+
const localProjectLink = {
|
|
59319
|
+
status: "linked",
|
|
59320
|
+
org: {
|
|
59321
|
+
type: link.orgId.startsWith("team_") ? "team" : "user",
|
|
59322
|
+
id: link.orgId,
|
|
59323
|
+
slug: ""
|
|
59324
|
+
},
|
|
59325
|
+
project: project2,
|
|
59326
|
+
repoRoot: link.repoRoot,
|
|
59327
|
+
orgSlugUnavailable: true
|
|
59328
|
+
};
|
|
59329
|
+
return {
|
|
59330
|
+
...localProjectLink,
|
|
59331
|
+
projectRootDirectory: link.projectRootDirectory,
|
|
59332
|
+
orgId: link.orgId
|
|
59333
|
+
};
|
|
59334
|
+
}
|
|
59303
59335
|
output_manager_default.spinner("Retrieving project\u2026", 1e3);
|
|
59304
59336
|
let org = null;
|
|
59305
59337
|
let project = null;
|
|
@@ -59920,6 +59952,7 @@ export {
|
|
|
59920
59952
|
VERCEL_DIR_README,
|
|
59921
59953
|
VERCEL_DIR_PROJECT,
|
|
59922
59954
|
isOwnerLookupUnavailableLink,
|
|
59955
|
+
isOrgSlugUnavailableLink,
|
|
59923
59956
|
getVercelDirectory,
|
|
59924
59957
|
getProjectLink,
|
|
59925
59958
|
getLinkFromDir,
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
printIndications,
|
|
16
16
|
require_dist as require_dist2,
|
|
17
17
|
sleep
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HJEZQCMB.js";
|
|
19
19
|
import {
|
|
20
20
|
suggestNextCommands
|
|
21
21
|
} from "./chunk-XBN2O34P.js";
|
|
22
22
|
import {
|
|
23
23
|
CommandTimeout
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IFNTK75I.js";
|
|
25
25
|
import {
|
|
26
26
|
showPluginTipIfNeeded
|
|
27
27
|
} from "./chunk-HT2XWSAJ.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
require_dist as require_dist3,
|
|
39
39
|
require_pluralize,
|
|
40
40
|
ua_default
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-IOBULT7M.js";
|
|
42
42
|
import {
|
|
43
43
|
require_ms
|
|
44
44
|
} from "./chunk-GGP5R3FU.js";
|
|
@@ -1171,6 +1171,7 @@ async function processDeployment({
|
|
|
1171
1171
|
manual,
|
|
1172
1172
|
jsonOutput,
|
|
1173
1173
|
linkedProject,
|
|
1174
|
+
linkedProjectIsPartial,
|
|
1174
1175
|
...args
|
|
1175
1176
|
}) {
|
|
1176
1177
|
const {
|
|
@@ -1216,7 +1217,9 @@ async function processDeployment({
|
|
|
1216
1217
|
manual,
|
|
1217
1218
|
aliasAssignedSignal: aliasAssignedController.signal
|
|
1218
1219
|
};
|
|
1219
|
-
const deployingSpinnerVal = isSettingUpProject ? "Setting up project" : `Deploying ${import_chalk2.default.bold(
|
|
1220
|
+
const deployingSpinnerVal = isSettingUpProject ? "Setting up project" : `Deploying ${import_chalk2.default.bold(
|
|
1221
|
+
org.slug ? `${org.slug}/${projectName}` : projectName
|
|
1222
|
+
)}`;
|
|
1220
1223
|
output_manager_default.spinner(deployingSpinnerVal, 0);
|
|
1221
1224
|
const indications = [];
|
|
1222
1225
|
let abortController;
|
|
@@ -1224,9 +1227,27 @@ async function processDeployment({
|
|
|
1224
1227
|
abortController?.abort();
|
|
1225
1228
|
output_manager_default.stopSpinner();
|
|
1226
1229
|
}
|
|
1230
|
+
const linkedProjectLookup = linkedProjectIsPartial && linkedProject && !noWait ? getProjectByNameOrId(
|
|
1231
|
+
client,
|
|
1232
|
+
linkedProject.id,
|
|
1233
|
+
linkedProject.accountId
|
|
1234
|
+
).then(
|
|
1235
|
+
(project2) => ({ project: project2 }),
|
|
1236
|
+
(error) => ({ error })
|
|
1237
|
+
) : void 0;
|
|
1227
1238
|
let rollingRelease = linkedProject?.rollingRelease;
|
|
1228
|
-
let project = linkedProject;
|
|
1239
|
+
let project = linkedProjectLookup ? void 0 : linkedProject;
|
|
1229
1240
|
let latestLogMessage = "";
|
|
1241
|
+
async function resolveProject() {
|
|
1242
|
+
if (!linkedProjectLookup) {
|
|
1243
|
+
return getProjectByNameOrId(client, projectName);
|
|
1244
|
+
}
|
|
1245
|
+
const result = await linkedProjectLookup;
|
|
1246
|
+
if ("error" in result) {
|
|
1247
|
+
throw result.error;
|
|
1248
|
+
}
|
|
1249
|
+
return result.project;
|
|
1250
|
+
}
|
|
1230
1251
|
try {
|
|
1231
1252
|
for await (const event of (0, import_client.createDeployment)(clientOptions, requestBody)) {
|
|
1232
1253
|
if (["tip", "notice", "warning"].includes(event.type)) {
|
|
@@ -1351,8 +1372,8 @@ async function processDeployment({
|
|
|
1351
1372
|
stopSpinner();
|
|
1352
1373
|
return event.payload;
|
|
1353
1374
|
}
|
|
1354
|
-
if (project === void 0) {
|
|
1355
|
-
project = await
|
|
1375
|
+
if (project === void 0 && (!linkedProjectLookup || event.type === "ready")) {
|
|
1376
|
+
project = await resolveProject();
|
|
1356
1377
|
rollingRelease = project?.rollingRelease;
|
|
1357
1378
|
}
|
|
1358
1379
|
if (event.type === "ready" && rollingRelease) {
|
|
@@ -1502,7 +1523,8 @@ var Now = class {
|
|
|
1502
1523
|
agentName,
|
|
1503
1524
|
manual,
|
|
1504
1525
|
jsonOutput = false,
|
|
1505
|
-
linkedProject
|
|
1526
|
+
linkedProject,
|
|
1527
|
+
linkedProjectIsPartial
|
|
1506
1528
|
}, org, isSettingUpProject, archive) {
|
|
1507
1529
|
const requestBody = {
|
|
1508
1530
|
...nowConfig,
|
|
@@ -1542,7 +1564,8 @@ var Now = class {
|
|
|
1542
1564
|
bulkRedirectsPath: nowConfig.bulkRedirectsPath,
|
|
1543
1565
|
manual,
|
|
1544
1566
|
jsonOutput,
|
|
1545
|
-
linkedProject
|
|
1567
|
+
linkedProject,
|
|
1568
|
+
linkedProjectIsPartial
|
|
1546
1569
|
});
|
|
1547
1570
|
if (deployment && deployment.warnings) {
|
|
1548
1571
|
let sizeExceeded = 0;
|