vercel 58.7.1 → 58.9.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-7RQIEXDK.js → add-EN4KBTT6.js} +4 -4
- package/dist/chunks/{add-CJZGLI73.js → add-HFK7NUGY.js} +2 -2
- package/dist/chunks/{add-JLCJCRV6.js → add-ZVQJE6BF.js} +6 -6
- package/dist/chunks/{build-BF4HIMTK.js → build-IDCBAC3R.js} +4 -4
- package/dist/chunks/{chunk-TNTJXJSE.js → chunk-2PPATWD6.js} +1 -1
- package/dist/chunks/{chunk-BIGFTNW6.js → chunk-766B6IIX.js} +1 -1
- package/dist/chunks/{chunk-UME4MVFU.js → chunk-7AB6QOKM.js} +1 -1
- package/dist/chunks/{chunk-LC5BYUUP.js → chunk-7N26744Z.js} +1 -1
- package/dist/chunks/{chunk-NZ6GDMPB.js → chunk-BX4IGDGM.js} +46 -14
- package/dist/chunks/{chunk-NI4DNP3D.js → chunk-CKIZU3CI.js} +1 -1
- package/dist/chunks/{chunk-UAVZOOOL.js → chunk-DDUZ2VME.js} +32 -9
- package/dist/chunks/{chunk-7SXWLTXT.js → chunk-DQXBNALU.js} +1 -1
- package/dist/chunks/{chunk-4XKF7JOF.js → chunk-E3DRV4WI.js} +1 -1
- package/dist/chunks/{chunk-AW5YINX6.js → chunk-ELA5VN3A.js} +36 -3
- package/dist/chunks/{chunk-YR6M7ZIU.js → chunk-F45WFNLZ.js} +1 -1
- package/dist/chunks/{chunk-CDYBV7YA.js → chunk-FBG4AMAX.js} +1 -1
- package/dist/chunks/{chunk-TE5MIANG.js → chunk-G2S2QKKF.js} +2 -2
- package/dist/chunks/{chunk-F2TNAAGW.js → chunk-KES53W3V.js} +4 -4
- package/dist/chunks/{chunk-7KUQ7BHI.js → chunk-N22RS64U.js} +4 -3
- package/dist/chunks/{chunk-ZZZEJXHD.js → chunk-NFZHW6HH.js} +54 -3
- package/dist/chunks/{chunk-74XVGG52.js → chunk-PNSWZSLC.js} +2 -2
- package/dist/chunks/{chunk-5SZ6VX2H.js → chunk-Q6OJHDZK.js} +1 -1
- package/dist/chunks/{chunk-NOMQUVGM.js → chunk-QRRCK6VX.js} +1 -1
- package/dist/chunks/{chunk-7KVYKSR2.js → chunk-TIBP3CPZ.js} +1 -1
- package/dist/chunks/{chunk-H3KETQAA.js → chunk-U6CTW37A.js} +1 -1
- package/dist/chunks/chunk-WWPV6Z24.js +2910 -0
- package/dist/chunks/{chunk-D6SC2UJH.js → chunk-YTIUSEWE.js} +1 -1
- package/dist/chunks/{chunk-MNZUPMZZ.js → chunk-YUISINFV.js} +2 -2
- package/dist/chunks/{clear-C2MXHYPE.js → clear-W4AEVUND.js} +2 -2
- package/dist/chunks/{compile-vercel-config-PM5ID4CV.js → compile-vercel-config-Q45PSZDQ.js} +1 -1
- package/dist/chunks/config-MZ3KLGOK.js +159 -0
- package/dist/chunks/{delete-GMVIUCQV.js → delete-7NADCRED.js} +2 -2
- package/dist/chunks/{delete-ZXMLT7EJ.js → delete-NAZTL2IK.js} +2 -2
- package/dist/chunks/{disable-JJZZQ4IZ.js → disable-SB224IIS.js} +2 -2
- package/dist/chunks/{discard-CGAS2MSK.js → discard-MME6PI7B.js} +2 -2
- package/dist/chunks/{edit-ALN5UQHF.js → edit-HKQEFIOY.js} +2 -2
- package/dist/chunks/{edit-RKUUUBQF.js → edit-NW4YBUR6.js} +3 -3
- package/dist/chunks/{enable-UXRVQO6C.js → enable-QEL5CXVD.js} +2 -2
- package/dist/chunks/{export-WQE3UU4V.js → export-XDOZTLG3.js} +2 -2
- package/dist/chunks/{image-CRMOA4YF.js → image-AJMRAAOW.js} +3 -3
- package/dist/chunks/{import-builders-IEVZ7KYP.js → import-builders-7UG32FQA.js} +2 -2
- package/dist/chunks/{inspect-TYSLBSPQ.js → inspect-4YTOMOOP.js} +3 -3
- package/dist/chunks/{inspect-OINSXSCL.js → inspect-DGBKWCS4.js} +2 -2
- package/dist/chunks/{inspect-6PCM4O6L.js → inspect-JPZFHGAF.js} +2 -2
- package/dist/chunks/{inspect-YRRS3ZXR.js → inspect-T6HYEMLA.js} +2 -2
- package/dist/chunks/{inspect-ML2INEZG.js → inspect-TW5DENBM.js} +4 -4
- package/dist/chunks/{list-Q2VZLAFY.js → list-ESW6P765.js} +2 -2
- package/dist/chunks/{list-PA2JTS75.js → list-T7LXP6VX.js} +3 -3
- package/dist/chunks/{list-JWZTSHHP.js → list-YQ4LADLW.js} +1 -1
- package/dist/chunks/{login-6R3KIPSN.js → login-VJESL6WK.js} +4 -4
- package/dist/chunks/{ls-MS3FACFC.js → ls-2DYO6E4E.js} +3 -3
- package/dist/chunks/{ls-FKFZKWHH.js → ls-4A6CGBPD.js} +2 -2
- package/dist/chunks/{ls-G5UH4KGX.js → ls-5AQBMBOG.js} +2 -2
- package/dist/chunks/{ls-WAI5XAUS.js → ls-5I2W7LZQ.js} +4 -4
- package/dist/chunks/{ls-642SJJPI.js → ls-Y46O3BCS.js} +2 -2
- package/dist/chunks/{open-KYVW2GTM.js → open-SZDSII6L.js} +2 -2
- package/dist/chunks/{permissions-YIOBV4Q7.js → permissions-HRR47E2L.js} +4 -4
- package/dist/chunks/{publish-4BKTL25X.js → publish-D2QWFUP4.js} +2 -2
- package/dist/chunks/{push-6DJOEYYK.js → push-75R5ZZIW.js} +4 -4
- package/dist/chunks/{query-EJTENIFF.js → query-LL2GMJWQ.js} +1 -1
- package/dist/chunks/{reorder-C44IJZNE.js → reorder-GNCRV6CV.js} +2 -2
- package/dist/chunks/{reply-LPVL3IAU.js → reply-S3UUI6C6.js} +2 -2
- package/dist/chunks/{resolve-ZKNB3CT5.js → resolve-PCBDK47N.js} +2 -2
- package/dist/chunks/{restore-ACDVNSTC.js → restore-SXI5SHGJ.js} +2 -2
- package/dist/chunks/{rm-W7LO4WXB.js → rm-574XTDSM.js} +2 -2
- package/dist/chunks/{rm-GO2WVRJQ.js → rm-BEIAUTSF.js} +4 -4
- package/dist/chunks/{rm-HSUWESWO.js → rm-YK2EGEPB.js} +2 -2
- package/dist/chunks/{rm-ZAXW6GEF.js → rm-ZFWVI6JE.js} +3 -3
- package/dist/chunks/{rule-inspect-HPZSCLO4.js → rule-inspect-QDQUU3EO.js} +3 -3
- package/dist/chunks/{rules-BKI7PJNK.js → rules-FNA3NXZZ.js} +6 -6
- package/dist/chunks/{schema-DF7XBQSH.js → schema-5CASPRP6.js} +1 -1
- package/dist/chunks/{tags-N7ZPPMWE.js → tags-SRHDQUF6.js} +2 -2
- package/dist/chunks/{update-4SJXDMTG.js → update-FSTNM3OX.js} +6 -6
- package/dist/commands/build/index.js +28 -2721
- package/dist/commands/deploy/index.js +19 -14
- package/dist/commands/dev/index.js +8 -8
- package/dist/commands/env/index.js +6 -6
- package/dist/commands/link/index.js +8 -8
- package/dist/commands/list/index.js +2 -2
- package/dist/commands-bulk.js +1825 -737
- package/dist/index.js +9 -9
- package/dist/version.mjs +1 -1
- package/package.json +44 -44
- package/dist/chunks/chunk-62SBYAED.js +0 -206
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
handleVcrApiError,
|
|
10
10
|
resolveVcrScope,
|
|
11
11
|
validateVcrJsonOutput
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TIBP3CPZ.js";
|
|
13
13
|
import "./chunk-G75NFPIT.js";
|
|
14
14
|
import {
|
|
15
15
|
outputError
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
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-BX4IGDGM.js";
|
|
26
26
|
import "./chunk-ECCWJHC6.js";
|
|
27
27
|
import {
|
|
28
28
|
AGENT_REASON,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
emitVcrArgParseError,
|
|
18
18
|
resolveVcrScope,
|
|
19
19
|
validateVcrJsonOutput
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TIBP3CPZ.js";
|
|
21
21
|
import "./chunk-G75NFPIT.js";
|
|
22
22
|
import {
|
|
23
23
|
outputError
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
permissionsAddSubcommand
|
|
28
28
|
} from "./chunk-J6LK45HT.js";
|
|
29
29
|
import "./chunk-R6IGDGX3.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-BX4IGDGM.js";
|
|
31
31
|
import "./chunk-ECCWJHC6.js";
|
|
32
32
|
import {
|
|
33
33
|
AGENT_REASON,
|
|
@@ -8,21 +8,21 @@ import {
|
|
|
8
8
|
parseCustomAlertQueryBody,
|
|
9
9
|
resolveCustomAlertProjectName,
|
|
10
10
|
setMissingCustomAlertProjectScope
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-G2S2QKKF.js";
|
|
12
12
|
import {
|
|
13
13
|
emitRulesArgParseError,
|
|
14
14
|
handleRulesApiError,
|
|
15
15
|
parseRulesFlagsAndScope,
|
|
16
16
|
rulesCollectionPath
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QRRCK6VX.js";
|
|
18
18
|
import {
|
|
19
19
|
isCustomAlertRule
|
|
20
20
|
} from "./chunk-TEQKKTJQ.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-DQXBNALU.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-YUISINFV.js";
|
|
26
26
|
import "./chunk-V5P25P7F.js";
|
|
27
27
|
import "./chunk-RQ7H43CJ.js";
|
|
28
28
|
import {
|
|
@@ -31,9 +31,9 @@ import {
|
|
|
31
31
|
import {
|
|
32
32
|
rulesAddSubcommand
|
|
33
33
|
} from "./chunk-UMA66MKW.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-7AB6QOKM.js";
|
|
35
35
|
import "./chunk-KT4XXKJK.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-BX4IGDGM.js";
|
|
37
37
|
import "./chunk-ECCWJHC6.js";
|
|
38
38
|
import {
|
|
39
39
|
AGENT_REASON,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
runEngine,
|
|
24
24
|
splitPassthrough,
|
|
25
25
|
validateVcrChoice
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-TIBP3CPZ.js";
|
|
27
27
|
import "./chunk-G75NFPIT.js";
|
|
28
28
|
import {
|
|
29
29
|
outputError
|
|
@@ -31,12 +31,12 @@ import {
|
|
|
31
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-BX4IGDGM.js";
|
|
40
40
|
import "./chunk-ECCWJHC6.js";
|
|
41
41
|
import {
|
|
42
42
|
AGENT_REASON,
|
|
@@ -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.7",
|
|
38168
38168
|
main: "dist/index.js",
|
|
38169
38169
|
typings: "dist/index.d.ts",
|
|
38170
38170
|
homepage: "https://vercel.com",
|
|
@@ -38179,11 +38179,10 @@ var require_package = __commonJS({
|
|
|
38179
38179
|
},
|
|
38180
38180
|
scripts: {
|
|
38181
38181
|
build: "node ../../utils/build.mjs",
|
|
38182
|
-
test: "vitest run --config
|
|
38183
|
-
"
|
|
38184
|
-
"
|
|
38185
|
-
"
|
|
38186
|
-
"type-check": "tsc --noEmit"
|
|
38182
|
+
test: "vitest run --config ./vitest.config.mts",
|
|
38183
|
+
"test-e2e": "vitest run --config ./vitest.config.mts tests/integration-",
|
|
38184
|
+
"type-check": "tsc --noEmit",
|
|
38185
|
+
"test-unit": "vitest run --config ./vitest.config.mts tests/unit."
|
|
38187
38186
|
},
|
|
38188
38187
|
engines: {
|
|
38189
38188
|
node: ">= 20"
|
|
@@ -58838,7 +58837,7 @@ function createDetectEntrypoint(projectRoot) {
|
|
|
58838
58837
|
};
|
|
58839
58838
|
}
|
|
58840
58839
|
async function loadBuilderDetectEntrypoint(name, projectRoot) {
|
|
58841
|
-
const { importBuilders } = await import("./import-builders-
|
|
58840
|
+
const { importBuilders } = await import("./import-builders-7UG32FQA.js");
|
|
58842
58841
|
const builders = await importBuilders(/* @__PURE__ */ new Set([name]), projectRoot);
|
|
58843
58842
|
const loaded = builders.get(name);
|
|
58844
58843
|
if (!loaded) {
|
|
@@ -59062,6 +59061,9 @@ var VERCEL_DIR_REPO = "repo.json";
|
|
|
59062
59061
|
function isOwnerLookupUnavailableLink(link) {
|
|
59063
59062
|
return "ownerLookupUnavailable" in link && link.ownerLookupUnavailable === true;
|
|
59064
59063
|
}
|
|
59064
|
+
function isOrgSlugUnavailableLink(link) {
|
|
59065
|
+
return "orgSlugUnavailable" in link && link.orgSlugUnavailable === true;
|
|
59066
|
+
}
|
|
59065
59067
|
function isOwnerLookupUnavailableError(error) {
|
|
59066
59068
|
return isAPIError(error) && error.status === 403 && error.code === "team_unauthorized";
|
|
59067
59069
|
}
|
|
@@ -59169,6 +59171,7 @@ async function getProjectLinkFromRepoLink(client, path, projectName, projectName
|
|
|
59169
59171
|
repoRoot: repoLink.rootPath,
|
|
59170
59172
|
orgId,
|
|
59171
59173
|
projectId: project.id,
|
|
59174
|
+
projectName: project.name,
|
|
59172
59175
|
projectRootDirectory: project.directory
|
|
59173
59176
|
};
|
|
59174
59177
|
}
|
|
@@ -59300,6 +59303,34 @@ async function getLinkedProject(client, options = {}) {
|
|
|
59300
59303
|
if (!link) {
|
|
59301
59304
|
return { status: "not_linked", org: null, project: null, orgId };
|
|
59302
59305
|
}
|
|
59306
|
+
if (options.skipRemoteLookup && link.projectName) {
|
|
59307
|
+
const settings = link.settings;
|
|
59308
|
+
const project2 = {
|
|
59309
|
+
...settings,
|
|
59310
|
+
id: link.projectId,
|
|
59311
|
+
accountId: link.orgId,
|
|
59312
|
+
name: link.projectName,
|
|
59313
|
+
createdAt: settings?.createdAt ?? 0,
|
|
59314
|
+
updatedAt: settings?.createdAt ?? 0,
|
|
59315
|
+
rootDirectory: link.projectRootDirectory ?? settings?.rootDirectory ?? null
|
|
59316
|
+
};
|
|
59317
|
+
const localProjectLink = {
|
|
59318
|
+
status: "linked",
|
|
59319
|
+
org: {
|
|
59320
|
+
type: link.orgId.startsWith("team_") ? "team" : "user",
|
|
59321
|
+
id: link.orgId,
|
|
59322
|
+
slug: ""
|
|
59323
|
+
},
|
|
59324
|
+
project: project2,
|
|
59325
|
+
repoRoot: link.repoRoot,
|
|
59326
|
+
orgSlugUnavailable: true
|
|
59327
|
+
};
|
|
59328
|
+
return {
|
|
59329
|
+
...localProjectLink,
|
|
59330
|
+
projectRootDirectory: link.projectRootDirectory,
|
|
59331
|
+
orgId: link.orgId
|
|
59332
|
+
};
|
|
59333
|
+
}
|
|
59303
59334
|
output_manager_default.spinner("Retrieving project\u2026", 1e3);
|
|
59304
59335
|
let org = null;
|
|
59305
59336
|
let project = null;
|
|
@@ -59920,6 +59951,7 @@ export {
|
|
|
59920
59951
|
VERCEL_DIR_README,
|
|
59921
59952
|
VERCEL_DIR_PROJECT,
|
|
59922
59953
|
isOwnerLookupUnavailableLink,
|
|
59954
|
+
isOrgSlugUnavailableLink,
|
|
59923
59955
|
getVercelDirectory,
|
|
59924
59956
|
getProjectLink,
|
|
59925
59957
|
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-YUISINFV.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-NFZHW6HH.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-BX4IGDGM.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;
|
|
@@ -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,
|
|
@@ -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-YUISINFV.js";
|
|
10
10
|
import {
|
|
11
11
|
getProjectByNameOrId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BX4IGDGM.js";
|
|
13
13
|
import {
|
|
14
14
|
AGENT_REASON,
|
|
15
15
|
outputAgentError
|
|
@@ -7,14 +7,14 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getUpdateCommandInfo,
|
|
9
9
|
isGlobal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-U6CTW37A.js";
|
|
11
11
|
import {
|
|
12
12
|
progress
|
|
13
13
|
} from "./chunk-I2XE3GMB.js";
|
|
14
14
|
import {
|
|
15
15
|
getGlobalPathConfig,
|
|
16
16
|
writeToConfigFile
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YUISINFV.js";
|
|
18
18
|
import {
|
|
19
19
|
validateJsonOutput
|
|
20
20
|
} from "./chunk-KXDWXXJH.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
apiCommand,
|
|
23
23
|
listSubcommand4 as listSubcommand,
|
|
24
24
|
loginCommand
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NFZHW6HH.js";
|
|
26
26
|
import {
|
|
27
27
|
require_semver
|
|
28
28
|
} from "./chunk-IB5L4LKZ.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
} from "./chunk-ZX2FSPWV.js";
|
|
32
32
|
import {
|
|
33
33
|
login
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-BX4IGDGM.js";
|
|
35
35
|
import {
|
|
36
36
|
TelemetryClient,
|
|
37
37
|
isNativeBinaryInstall
|
|
@@ -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-PNSWZSLC.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-BX4IGDGM.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;
|