vercel 58.10.0 → 59.0.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-5KFK4EFH.js → add-3LO3UMYC.js} +6 -6
- package/dist/chunks/{add-W4XR5GYX.js → add-QZUQNL2C.js} +2 -2
- package/dist/chunks/{add-NMYLVDBN.js → add-SQ6ERCFZ.js} +2 -2
- package/dist/chunks/{build-BCMSG7TU.js → build-WMUKZEFH.js} +2 -2
- package/dist/chunks/{chunk-IBIZT5M4.js → chunk-3R5JGMHV.js} +62 -20
- package/dist/chunks/{chunk-CLUCO4RD.js → chunk-5KI3SUJI.js} +81 -18
- package/dist/chunks/{chunk-MGCBTAA7.js → chunk-BGILSKZ5.js} +1 -1
- package/dist/chunks/{chunk-BZGIBXY6.js → chunk-CMR5KQVR.js} +1 -1
- package/dist/chunks/{chunk-AZCZV4XI.js → chunk-DMLU5KQE.js} +1 -1
- package/dist/chunks/chunk-DQDJVHA5.js +559 -0
- package/dist/chunks/{chunk-UDHYVIJL.js → chunk-L6NIIAB7.js} +4 -4
- package/dist/chunks/{chunk-2J7BL7IF.js → chunk-LT5UQNTC.js} +2 -2
- package/dist/chunks/{chunk-MAZ2BUBX.js → chunk-MZ3L3SGZ.js} +2 -2
- package/dist/chunks/{chunk-5MERQE7H.js → chunk-N5DK7EMY.js} +1 -1
- package/dist/chunks/{chunk-KUZCVMVA.js → chunk-PBECT5BN.js} +4 -3
- package/dist/chunks/{chunk-N5YCPDWG.js → chunk-PSZQNYEV.js} +1 -1
- package/dist/chunks/{chunk-6SXIT6Q3.js → chunk-PVCJIMVY.js} +2 -2
- package/dist/chunks/{chunk-H25BISPQ.js → chunk-QGQX7BYN.js} +10 -518
- package/dist/chunks/{chunk-PTZ6X4P4.js → chunk-RWRSUGXY.js} +1 -1
- package/dist/chunks/{chunk-TNKTZDOL.js → chunk-S3H7ITUR.js} +1 -1
- package/dist/chunks/{chunk-U4LWFSR4.js → chunk-SD2QZHZA.js} +1 -1
- package/dist/chunks/{chunk-2SEBBSKD.js → chunk-SHR6DYA5.js} +1 -1
- package/dist/chunks/{chunk-DQDAQYQI.js → chunk-SQAQED4U.js} +1 -1
- package/dist/chunks/{chunk-NDOZRKTB.js → chunk-UQVOFOP2.js} +1 -1
- package/dist/chunks/{chunk-L6BFCLXF.js → chunk-V42UVZDX.js} +80 -38
- package/dist/chunks/chunk-W34XLJ44.js +61 -0
- package/dist/chunks/{chunk-6WWATEWK.js → chunk-WE3TFESA.js} +1 -1
- package/dist/chunks/{chunk-ELJ56NBY.js → chunk-ZFTRB6AB.js} +173 -173
- package/dist/chunks/{chunk-7RUZPHW7.js → chunk-ZRWSSPW5.js} +1 -1
- package/dist/chunks/{clear-54WX3NA2.js → clear-W2B4CHTP.js} +2 -2
- package/dist/chunks/{compile-vercel-config-LSW4TWGX.js → compile-vercel-config-HTWOS7DZ.js} +1 -1
- package/dist/chunks/{config-WXQTPQW7.js → config-EGJY4UUE.js} +2 -2
- package/dist/chunks/{delete-OGP3RVWM.js → delete-6I7V5AGV.js} +2 -2
- package/dist/chunks/{delete-HQMI44SG.js → delete-BVMID4W2.js} +2 -2
- package/dist/chunks/{disable-HC266OB7.js → disable-I54JNXJE.js} +2 -2
- package/dist/chunks/{discard-3RFIPLXY.js → discard-6TSJJCUQ.js} +2 -2
- package/dist/chunks/{edit-TZOCRGG6.js → edit-KCWYQ2YT.js} +2 -2
- package/dist/chunks/{edit-NXPQFWM6.js → edit-YS2SWHFJ.js} +3 -3
- package/dist/chunks/{enable-OGFRN4CG.js → enable-RYXRIGQN.js} +2 -2
- package/dist/chunks/{export-AEESZFZX.js → export-G3NYOADE.js} +2 -2
- package/dist/chunks/{image-EIAO7LVN.js → image-RJBLSUES.js} +3 -3
- package/dist/chunks/{import-builders-KCQLA2YR.js → import-builders-M6F3F4DH.js} +2 -2
- package/dist/chunks/{inspect-RUGPLO7A.js → inspect-7XUEVBDM.js} +2 -2
- package/dist/chunks/{inspect-MGIECVLH.js → inspect-AE4YIJYS.js} +2 -2
- package/dist/chunks/{inspect-TTHC6L7Q.js → inspect-E7TBGK7D.js} +2 -2
- package/dist/chunks/{inspect-HHSDXTII.js → inspect-YTCVTZHY.js} +2 -2
- package/dist/chunks/{inspect-EM34BOTE.js → inspect-Z74NZZ2A.js} +3 -3
- package/dist/chunks/{list-A74MGEOB.js → list-KJNC3NOE.js} +2 -2
- package/dist/chunks/{list-GQDUIRBU.js → list-SGPLL4KJ.js} +3 -3
- package/dist/chunks/{list-EOG3TYBE.js → list-WXS2AFQD.js} +1 -1
- package/dist/chunks/{login-L4EWZOGH.js → login-XD3CFPBF.js} +2 -2
- package/dist/chunks/{ls-F6WCPVB7.js → ls-5A4327XJ.js} +2 -2
- package/dist/chunks/{ls-OWHNAGNT.js → ls-5DSOTTYX.js} +2 -2
- package/dist/chunks/{ls-OJGSWVWO.js → ls-KE5I7BZO.js} +2 -2
- package/dist/chunks/{ls-D5ESYWG5.js → ls-NBKSDTWX.js} +2 -2
- package/dist/chunks/{ls-VBFBWSWD.js → ls-SVSO3677.js} +3 -3
- package/dist/chunks/{open-FHER5QV2.js → open-M2MOAE2K.js} +2 -2
- package/dist/chunks/{permissions-JSXC7BRD.js → permissions-ADPY554K.js} +4 -4
- package/dist/chunks/{publish-CM6ZGWIE.js → publish-OBIOOL7T.js} +2 -2
- package/dist/chunks/{push-5NYG7HIR.js → push-5237XBTO.js} +2 -2
- package/dist/chunks/{query-5GQLF2BR.js → query-ILL74HIA.js} +1 -1
- package/dist/chunks/{reorder-5GCNY75W.js → reorder-GAUAO4LW.js} +2 -2
- package/dist/chunks/{reply-B2XCK5XR.js → reply-IZJHEULD.js} +2 -2
- package/dist/chunks/{resolve-YQP5C2QY.js → resolve-HTIT7CGL.js} +2 -2
- package/dist/chunks/{restore-VHX4JV5J.js → restore-IKL74HSE.js} +2 -2
- package/dist/chunks/{rm-VDFSX3LH.js → rm-5Y6BL47T.js} +2 -2
- package/dist/chunks/{rm-AUUT2YIT.js → rm-C37ZORQV.js} +2 -2
- package/dist/chunks/{rm-QVVQDCDX.js → rm-QAVNP5KX.js} +3 -3
- package/dist/chunks/{rm-OILUGCTW.js → rm-XJU5SBGH.js} +2 -2
- package/dist/chunks/{rule-inspect-LKTUPW4B.js → rule-inspect-DYHWWROS.js} +3 -3
- package/dist/chunks/{rules-J5JM5VFQ.js → rules-M6EJ2Y6S.js} +6 -6
- package/dist/chunks/{schema-OIKSCLDU.js → schema-LLBDZNIC.js} +1 -1
- package/dist/chunks/{tags-AMTMNRLQ.js → tags-HR5RVQFA.js} +2 -2
- package/dist/chunks/{update-AFL3GHKB.js → update-6A5V6HBH.js} +6 -6
- package/dist/commands/build/index.js +15 -11
- package/dist/commands/deploy/index.js +347 -49
- package/dist/commands/dev/index.js +8 -8
- package/dist/commands/env/index.js +4 -4
- package/dist/commands/link/index.js +6 -6
- package/dist/commands/list/index.js +2 -2
- package/dist/commands-bulk.js +2111 -1619
- package/dist/index.js +32 -42
- package/dist/version.mjs +1 -1
- package/package.json +35 -35
- package/dist/chunks/chunk-I2XE3GMB.js +0 -21
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
handleRulesApiError,
|
|
10
10
|
parseRulesFlagsAndScope,
|
|
11
11
|
rulesItemPath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZRWSSPW5.js";
|
|
13
13
|
import {
|
|
14
14
|
formatCustomAlertMetric,
|
|
15
15
|
formatCustomAlertTrigger,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
parseCustomAlertQuery,
|
|
20
20
|
renderAlertTable
|
|
21
21
|
} from "./chunk-TEQKKTJQ.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-SQAQED4U.js";
|
|
23
23
|
import {
|
|
24
24
|
formatDate
|
|
25
25
|
} from "./chunk-GZLPFESR.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
rulesInspectSubcommand
|
|
41
41
|
} from "./chunk-UMA66MKW.js";
|
|
42
42
|
import "./chunk-KT4XXKJK.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-3R5JGMHV.js";
|
|
44
44
|
import "./chunk-ECCWJHC6.js";
|
|
45
45
|
import {
|
|
46
46
|
AGENT_REASON,
|
|
@@ -31,7 +31,7 @@ var RULES_CONFIG = {
|
|
|
31
31
|
};
|
|
32
32
|
async function rules(client, argv) {
|
|
33
33
|
if (argv.length === 0 || argv[0]?.startsWith("-")) {
|
|
34
|
-
const lsFn = (await import("./ls-
|
|
34
|
+
const lsFn = (await import("./ls-SVSO3677.js")).default;
|
|
35
35
|
return lsFn(client, argv);
|
|
36
36
|
}
|
|
37
37
|
const { subcommand, args, subcommandOriginal } = getSubcommand(
|
|
@@ -64,17 +64,17 @@ async function rules(client, argv) {
|
|
|
64
64
|
}
|
|
65
65
|
switch (subcommand) {
|
|
66
66
|
case "ls":
|
|
67
|
-
return (await import("./ls-
|
|
67
|
+
return (await import("./ls-SVSO3677.js")).default(client, args);
|
|
68
68
|
case "schema":
|
|
69
69
|
return (await import("./schema-ZNPIMQL5.js")).default(client, args);
|
|
70
70
|
case "add":
|
|
71
|
-
return (await import("./add-
|
|
71
|
+
return (await import("./add-3LO3UMYC.js")).default(client, args);
|
|
72
72
|
case "inspect":
|
|
73
|
-
return (await import("./rule-inspect-
|
|
73
|
+
return (await import("./rule-inspect-DYHWWROS.js")).default(client, args);
|
|
74
74
|
case "rm":
|
|
75
|
-
return (await import("./rm-
|
|
75
|
+
return (await import("./rm-QAVNP5KX.js")).default(client, args);
|
|
76
76
|
case "update":
|
|
77
|
-
return (await import("./update-
|
|
77
|
+
return (await import("./update-6A5V6HBH.js")).default(client, args);
|
|
78
78
|
default:
|
|
79
79
|
output_manager_default.error(`Unhandled rules subcommand: ${String(subcommandOriginal)}`);
|
|
80
80
|
return 1;
|
|
@@ -52,9 +52,9 @@ async function tags(client, argv, telemetry) {
|
|
|
52
52
|
}
|
|
53
53
|
switch (subcommand) {
|
|
54
54
|
case "ls":
|
|
55
|
-
return (await import("./ls-
|
|
55
|
+
return (await import("./ls-5A4327XJ.js")).default(client, args, telemetry);
|
|
56
56
|
case "inspect":
|
|
57
|
-
return (await import("./inspect-
|
|
57
|
+
return (await import("./inspect-7XUEVBDM.js")).default(client, args, telemetry);
|
|
58
58
|
default:
|
|
59
59
|
output_manager_default.error(`Unhandled tags subcommand: ${subcommand}`);
|
|
60
60
|
return 1;
|
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
parseCustomAlertQueryBody,
|
|
9
9
|
resolveCustomAlertProjectName,
|
|
10
10
|
setMissingCustomAlertProjectScope
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LT5UQNTC.js";
|
|
12
12
|
import {
|
|
13
13
|
emitRulesArgParseError,
|
|
14
14
|
handleRulesApiError,
|
|
15
15
|
parseRulesFlagsAndScope,
|
|
16
16
|
rulesItemPath
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-ZRWSSPW5.js";
|
|
18
|
+
import "./chunk-SQAQED4U.js";
|
|
19
19
|
import "./chunk-P65EEFTR.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-MZ3L3SGZ.js";
|
|
21
21
|
import "./chunk-JKQWQA2T.js";
|
|
22
22
|
import {
|
|
23
23
|
validateJsonOutput
|
|
@@ -25,8 +25,8 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
rulesUpdateSubcommand
|
|
27
27
|
} from "./chunk-UMA66MKW.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-BGILSKZ5.js";
|
|
29
|
+
import "./chunk-3R5JGMHV.js";
|
|
30
30
|
import "./chunk-ECCWJHC6.js";
|
|
31
31
|
import {
|
|
32
32
|
AGENT_REASON,
|
|
@@ -10,22 +10,22 @@ import {
|
|
|
10
10
|
isLambda,
|
|
11
11
|
staticFiles,
|
|
12
12
|
writeBuildResult
|
|
13
|
-
} from "../../chunks/chunk-
|
|
13
|
+
} from "../../chunks/chunk-ZFTRB6AB.js";
|
|
14
14
|
import {
|
|
15
15
|
formatResolvedBuilders,
|
|
16
16
|
importBuilders
|
|
17
|
-
} from "../../chunks/chunk-
|
|
17
|
+
} from "../../chunks/chunk-PSZQNYEV.js";
|
|
18
18
|
import {
|
|
19
19
|
js_yaml_default,
|
|
20
20
|
pullCommandLogic
|
|
21
|
-
} from "../../chunks/chunk-
|
|
21
|
+
} from "../../chunks/chunk-L6NIIAB7.js";
|
|
22
22
|
import {
|
|
23
23
|
require_semver
|
|
24
24
|
} from "../../chunks/chunk-IB5L4LKZ.js";
|
|
25
25
|
import {
|
|
26
26
|
pickOverrides,
|
|
27
27
|
readProjectSettings
|
|
28
|
-
} from "../../chunks/chunk-
|
|
28
|
+
} from "../../chunks/chunk-N5DK7EMY.js";
|
|
29
29
|
import "../../chunks/chunk-R6IGDGX3.js";
|
|
30
30
|
import "../../chunks/chunk-HT2XWSAJ.js";
|
|
31
31
|
import {
|
|
@@ -34,12 +34,12 @@ import {
|
|
|
34
34
|
import "../../chunks/chunk-VXYGCOKL.js";
|
|
35
35
|
import {
|
|
36
36
|
ensureLink
|
|
37
|
-
} from "../../chunks/chunk-
|
|
38
|
-
import "../../chunks/chunk-
|
|
39
|
-
import "../../chunks/chunk-
|
|
37
|
+
} from "../../chunks/chunk-PBECT5BN.js";
|
|
38
|
+
import "../../chunks/chunk-PVCJIMVY.js";
|
|
39
|
+
import "../../chunks/chunk-BGILSKZ5.js";
|
|
40
40
|
import {
|
|
41
41
|
buildCommand
|
|
42
|
-
} from "../../chunks/chunk-
|
|
42
|
+
} from "../../chunks/chunk-SHR6DYA5.js";
|
|
43
43
|
import {
|
|
44
44
|
help
|
|
45
45
|
} from "../../chunks/chunk-ZX2FSPWV.js";
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
resolveProjectCwd,
|
|
68
68
|
ua_default,
|
|
69
69
|
validateConfig
|
|
70
|
-
} from "../../chunks/chunk-
|
|
70
|
+
} from "../../chunks/chunk-3R5JGMHV.js";
|
|
71
71
|
import {
|
|
72
72
|
TelemetryClient
|
|
73
73
|
} from "../../chunks/chunk-ECCWJHC6.js";
|
|
@@ -2789,6 +2789,10 @@ async function writeServiceConfigs(outputDir, buildResults, serviceByBuilder, se
|
|
|
2789
2789
|
const routes = results.flatMap(
|
|
2790
2790
|
(result) => "routes" in result && Array.isArray(result.routes) ? result.routes : []
|
|
2791
2791
|
);
|
|
2792
|
+
const existingRoutes = routes.length > 0 ? void 0 : existingConfig?.routes;
|
|
2793
|
+
const existingCrons = results.some(
|
|
2794
|
+
(result) => "crons" in result && result.crons?.length
|
|
2795
|
+
) ? void 0 : existingConfig?.crons;
|
|
2792
2796
|
const configuredRoutes = experimentalServicesV2?.[serviceName] ? getExperimentalServicesV2Routes(experimentalServicesV2[serviceName]) : [];
|
|
2793
2797
|
const overrides = [
|
|
2794
2798
|
...results.map((result) => "overrides" in result ? result.overrides : void 0).filter(
|
|
@@ -2802,7 +2806,7 @@ async function writeServiceConfigs(outputDir, buildResults, serviceByBuilder, se
|
|
|
2802
2806
|
const mergedRoutes = appendBuildOutputRouteTables(
|
|
2803
2807
|
configuredRoutes,
|
|
2804
2808
|
routes,
|
|
2805
|
-
|
|
2809
|
+
existingRoutes
|
|
2806
2810
|
);
|
|
2807
2811
|
const config = {
|
|
2808
2812
|
...existingConfig,
|
|
@@ -2812,7 +2816,7 @@ async function writeServiceConfigs(outputDir, buildResults, serviceByBuilder, se
|
|
|
2812
2816
|
wildcard: mergeWildcard(results) || existingConfig?.wildcard,
|
|
2813
2817
|
overrides: overrides.length > 0 ? Object.assign({}, existingConfig?.overrides, ...overrides) : existingConfig?.overrides,
|
|
2814
2818
|
framework: framework || existingConfig?.framework,
|
|
2815
|
-
crons: mergeCrons(
|
|
2819
|
+
crons: mergeCrons(existingCrons, results),
|
|
2816
2820
|
services: void 0,
|
|
2817
2821
|
experimentalServices: void 0,
|
|
2818
2822
|
experimentalServicesV2: void 0
|