vercel 54.3.0 → 54.4.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-6BI52GC7.js → add-6XIRI7GJ.js} +4 -4
- package/dist/chunks/{chunk-AKWLMA5B.js → chunk-4VFNBXZ2.js} +1 -1
- package/dist/chunks/{chunk-63MSANDD.js → chunk-4W26QRXA.js} +4 -4
- package/dist/chunks/{chunk-4KGRBMBC.js → chunk-ASARRYQ2.js} +5 -5
- package/dist/chunks/{chunk-3NTROBCB.js → chunk-BTQ6HRS4.js} +1 -1
- package/dist/chunks/{chunk-R6QYB2GK.js → chunk-CPI4NTRV.js} +2 -2
- package/dist/chunks/{chunk-SRLTKHXQ.js → chunk-F23AADZM.js} +3 -3
- package/dist/chunks/{chunk-HFVP2JUO.js → chunk-FVMTH5YE.js} +2 -2
- package/dist/chunks/{chunk-PU4PEBGY.js → chunk-HE7FK57F.js} +1 -1
- package/dist/chunks/{chunk-SJAFZ3UZ.js → chunk-KW4SFTHO.js} +9 -6
- package/dist/chunks/{chunk-RNIZUKES.js → chunk-L3JT6XDK.js} +185 -139
- package/dist/chunks/{chunk-W64ECC2K.js → chunk-LHB57VQA.js} +1 -1
- package/dist/chunks/{chunk-SXYVZF6H.js → chunk-MZM2IMEM.js} +1 -1
- package/dist/chunks/{chunk-B3RJGSB2.js → chunk-PHZ7DOO3.js} +1 -1
- package/dist/chunks/{chunk-5TTQBT67.js → chunk-QYUIKYIF.js} +1 -1
- package/dist/chunks/{chunk-GJI2IQHA.js → chunk-RIRQQSUQ.js} +1 -1
- package/dist/chunks/{chunk-7UDM3VHD.js → chunk-SFCULGGZ.js} +1 -1
- package/dist/chunks/{chunk-EU5K7JFJ.js → chunk-UDG7NUUQ.js} +2 -2
- package/dist/chunks/{chunk-PXR6WCEU.js → chunk-XPQUP4VC.js} +3 -3
- package/dist/chunks/{chunk-ZUK6C2UA.js → chunk-YQS3X3N5.js} +1 -1
- package/dist/chunks/{compile-vercel-config-UTUECEB5.js → compile-vercel-config-5WZ2LFBA.js} +1 -1
- package/dist/chunks/{delete-FML7PGMQ.js → delete-JB4S3TTR.js} +2 -2
- package/dist/chunks/{disable-LJFGBJQD.js → disable-Y5MQYBZT.js} +2 -2
- package/dist/chunks/{discard-JKLUB56V.js → discard-DNGSXOP5.js} +2 -2
- package/dist/chunks/{edit-24LNAGLI.js → edit-FHYSRIAM.js} +3 -3
- package/dist/chunks/{enable-XV6WCSRR.js → enable-TI7IDW4D.js} +2 -2
- package/dist/chunks/{export-IZAJQNHO.js → export-DGCLBJXG.js} +2 -2
- package/dist/chunks/{inspect-4OYBTMEZ.js → inspect-YSEEB6K3.js} +3 -3
- package/dist/chunks/{list-PEXOOVJA.js → list-2IC4JQ7V.js} +2 -2
- package/dist/chunks/{list-FOLL3X7L.js → list-K2E7LRUZ.js} +3 -3
- package/dist/chunks/{ls-3D5FA5CD.js → ls-LV3EOIGK.js} +4 -4
- package/dist/chunks/{publish-FV5R2JPI.js → publish-UCZDXEVP.js} +2 -2
- package/dist/chunks/{query-JM422UQL.js → query-YS24VBYT.js} +2 -2
- package/dist/chunks/{reorder-H5VPRRYP.js → reorder-5PEIRI7B.js} +2 -2
- package/dist/chunks/{restore-JPFHV2E2.js → restore-BNKCGWUN.js} +2 -2
- package/dist/chunks/{rm-AQFIGZB7.js → rm-MMZJTUSV.js} +4 -4
- package/dist/chunks/{rule-inspect-XV56NBAE.js → rule-inspect-45WAIMAY.js} +4 -4
- package/dist/chunks/{rules-SUXFDKPS.js → rules-F7NTLPKL.js} +6 -6
- package/dist/chunks/{schema-3I4KYWU3.js → schema-V33O6TZC.js} +2 -2
- package/dist/chunks/{update-3W7ETGXO.js → update-LSMYRPF7.js} +4 -4
- package/dist/commands/build/index.js +12 -12
- package/dist/commands/deploy/index.js +10 -10
- package/dist/commands/dev/index.js +16 -16
- package/dist/commands/env/index.js +4 -4
- package/dist/commands/link/index.js +7 -7
- package/dist/commands/list/index.js +3 -3
- package/dist/commands-bulk.js +31 -31
- package/dist/index.js +8 -8
- package/dist/version.mjs +1 -1
- package/package.json +20 -20
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
handleRulesApiError,
|
|
10
10
|
parseRulesFlagsAndScope,
|
|
11
11
|
rulesCollectionPath
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-RIRQQSUQ.js";
|
|
13
|
+
import "./chunk-UDG7NUUQ.js";
|
|
14
14
|
import "./chunk-HTOH3MSD.js";
|
|
15
15
|
import {
|
|
16
16
|
validateJsonOutput
|
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
AGENT_REASON
|
|
23
23
|
} from "./chunk-L6Q2EQPI.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-LHB57VQA.js";
|
|
25
|
+
import "./chunk-L3JT6XDK.js";
|
|
26
26
|
import "./chunk-4CIXZOP4.js";
|
|
27
27
|
import {
|
|
28
28
|
buildCommandWithGlobalFlags,
|
|
@@ -6,14 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeProjectSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4VFNBXZ2.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureLink
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CPI4NTRV.js";
|
|
13
13
|
import {
|
|
14
14
|
autoInstallVercelPlugin,
|
|
15
15
|
pullCommand
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BTQ6HRS4.js";
|
|
17
17
|
import {
|
|
18
18
|
help
|
|
19
19
|
} from "./chunk-TTOZFGDX.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
envPullCommandLogic,
|
|
24
24
|
humanizePath,
|
|
25
25
|
parseTarget
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-L3JT6XDK.js";
|
|
27
27
|
import {
|
|
28
28
|
TelemetryClient
|
|
29
29
|
} from "./chunk-4CIXZOP4.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
printIndications,
|
|
10
10
|
require_dist as require_dist2,
|
|
11
11
|
sleep
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XPQUP4VC.js";
|
|
13
13
|
import {
|
|
14
14
|
suggestNextCommands
|
|
15
15
|
} from "./chunk-LOS7HHU3.js";
|
|
@@ -19,23 +19,23 @@ import {
|
|
|
19
19
|
} from "./chunk-NYJXGEIR.js";
|
|
20
20
|
import {
|
|
21
21
|
CommandTimeout
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FVMTH5YE.js";
|
|
23
23
|
import {
|
|
24
24
|
ua_default
|
|
25
25
|
} from "./chunk-76ZNZKIN.js";
|
|
26
26
|
import {
|
|
27
27
|
showPluginTipIfNeeded
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BTQ6HRS4.js";
|
|
29
29
|
import {
|
|
30
30
|
getScope
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-LHB57VQA.js";
|
|
32
32
|
import {
|
|
33
33
|
getProjectByNameOrId,
|
|
34
34
|
param,
|
|
35
35
|
printAlignedLabel,
|
|
36
36
|
require_dist as require_dist3,
|
|
37
37
|
require_pluralize
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-L3JT6XDK.js";
|
|
39
39
|
import {
|
|
40
40
|
require_ms,
|
|
41
41
|
stamp_default
|
|
@@ -7,12 +7,12 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
printProjectNotFoundError,
|
|
9
9
|
setupAndLink
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KW4SFTHO.js";
|
|
11
11
|
import {
|
|
12
12
|
getLinkedProject,
|
|
13
13
|
param,
|
|
14
14
|
resolveProjectCwd
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-L3JT6XDK.js";
|
|
16
16
|
import {
|
|
17
17
|
buildCommandWithYes,
|
|
18
18
|
outputActionRequired
|
|
@@ -7,17 +7,17 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getUpdateCommand,
|
|
9
9
|
isGlobal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QYUIKYIF.js";
|
|
11
11
|
import {
|
|
12
12
|
getGlobalPathConfig,
|
|
13
13
|
login,
|
|
14
14
|
writeToConfigFile
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XPQUP4VC.js";
|
|
16
16
|
import {
|
|
17
17
|
apiCommand,
|
|
18
18
|
listSubcommand2 as listSubcommand,
|
|
19
19
|
loginCommand
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FVMTH5YE.js";
|
|
21
21
|
import {
|
|
22
22
|
help
|
|
23
23
|
} from "./chunk-TTOZFGDX.js";
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
buildCommand,
|
|
27
27
|
pullCommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BTQ6HRS4.js";
|
|
29
29
|
import {
|
|
30
30
|
envCommand
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-L3JT6XDK.js";
|
|
32
32
|
import {
|
|
33
33
|
confirmOption,
|
|
34
34
|
forceOption,
|
|
@@ -10,15 +10,16 @@ import {
|
|
|
10
10
|
} from "./chunk-L6Q2EQPI.js";
|
|
11
11
|
import {
|
|
12
12
|
getLocalPathConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PHZ7DOO3.js";
|
|
14
14
|
import {
|
|
15
15
|
getScope
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LHB57VQA.js";
|
|
17
17
|
import {
|
|
18
18
|
VERCEL_DIR_PROJECT,
|
|
19
19
|
VERCEL_DIR_README,
|
|
20
20
|
checkExistsAndConnect,
|
|
21
21
|
compileVercelConfig,
|
|
22
|
+
createDetectEntrypoint,
|
|
22
23
|
createProject,
|
|
23
24
|
detectProjects,
|
|
24
25
|
fetchProjectsForRepoUrl,
|
|
@@ -46,7 +47,7 @@ import {
|
|
|
46
47
|
selectAndParseRemoteUrl,
|
|
47
48
|
selectOrg,
|
|
48
49
|
writeServicesConfig
|
|
49
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-L3JT6XDK.js";
|
|
50
51
|
import {
|
|
51
52
|
buildCommandWithGlobalFlags,
|
|
52
53
|
outputAgentError,
|
|
@@ -212,7 +213,8 @@ var import_frameworks = __toESM(require_frameworks(), 1);
|
|
|
212
213
|
import {
|
|
213
214
|
getServiceQueueTopics,
|
|
214
215
|
isQueueTriggeredService,
|
|
215
|
-
isScheduleTriggeredService
|
|
216
|
+
isScheduleTriggeredService,
|
|
217
|
+
isWorkflowTriggeredService
|
|
216
218
|
} from "@vercel/build-utils";
|
|
217
219
|
var chalk2 = require_source();
|
|
218
220
|
var frameworksBySlug = new Map(import_frameworks.frameworkList.map((f) => [f.slug, f]));
|
|
@@ -296,7 +298,7 @@ function getServiceTarget(service) {
|
|
|
296
298
|
const topics = getServiceQueueTopics(service);
|
|
297
299
|
return `topics: ${topics.join(", ")}`;
|
|
298
300
|
}
|
|
299
|
-
if (service
|
|
301
|
+
if (isWorkflowTriggeredService(service)) {
|
|
300
302
|
return "workflow";
|
|
301
303
|
}
|
|
302
304
|
return service.routePrefix ? formatRoutePrefix(service.routePrefix) : "no route";
|
|
@@ -651,7 +653,8 @@ var SERVICES_DOCS_URL = "https://vercel.com/docs/services";
|
|
|
651
653
|
var INFERRED_SERVICES_PROMPT = "Multiple services were detected. How would you like to set up this project?";
|
|
652
654
|
async function getServicesSetupState(workPath) {
|
|
653
655
|
const detectServicesResult = await (0, import_fs_detectors.detectServices)({
|
|
654
|
-
fs: new import_fs_detectors.LocalFileSystemDetector(workPath)
|
|
656
|
+
fs: new import_fs_detectors.LocalFileSystemDetector(workPath),
|
|
657
|
+
detectEntrypoint: createDetectEntrypoint(workPath)
|
|
655
658
|
});
|
|
656
659
|
const hasConfiguredServices = detectServicesResult.resolved?.source === "configured";
|
|
657
660
|
const inferredServices = hasConfiguredServices ? null : detectServicesResult.inferred;
|