vercel 53.4.0 → 54.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-FYITUY65.js → add-FEHGU5ZE.js} +8 -8
- package/dist/chunks/{chunk-X7KU44KR.js → chunk-23SNIB7J.js} +1 -1
- package/dist/chunks/{chunk-NIOGCTVR.js → chunk-2GC2GW2H.js} +2 -2
- package/dist/chunks/{chunk-WOWCXMTU.js → chunk-3CBPQ6CA.js} +1 -1
- package/dist/chunks/{chunk-KM7WTYJ4.js → chunk-4243WWHE.js} +4 -4
- package/dist/chunks/{chunk-SLWOG5CX.js → chunk-4I5SPKXV.js} +44 -44
- package/dist/chunks/{chunk-MW7BI4C2.js → chunk-4UJDQ2WM.js} +2 -2
- package/dist/chunks/{chunk-IVC36JQ5.js → chunk-4WPY4WO3.js} +6 -6
- package/dist/chunks/{chunk-EBEBY45K.js → chunk-4XB5UFP4.js} +2 -2
- package/dist/chunks/{chunk-KSIISCB2.js → chunk-5GZAC4CI.js} +1 -1
- package/dist/chunks/{chunk-KHDOCVQF.js → chunk-AH6RCY4L.js} +1 -1
- package/dist/chunks/{chunk-6EI6XOUG.js → chunk-DIOSHJ4H.js} +5 -5
- package/dist/chunks/{chunk-NF7HK5MP.js → chunk-DVV42VA6.js} +2 -2
- package/dist/chunks/{chunk-PU7YKGJI.js → chunk-DXZ5RVOC.js} +6 -6
- package/dist/chunks/{chunk-ZY4YCCXG.js → chunk-F6MUOB5B.js} +1 -1
- package/dist/chunks/{chunk-QGLS47RE.js → chunk-GRPLZLEB.js} +1 -1
- package/dist/chunks/{chunk-CMAHZSFA.js → chunk-GWM32SE3.js} +6 -3
- package/dist/chunks/{chunk-WZO6BNJ7.js → chunk-JWN6JMVY.js} +2 -2
- package/dist/chunks/{chunk-LBP7YFBV.js → chunk-KAC4IO5S.js} +150 -14
- package/dist/chunks/{chunk-44EL4BJL.js → chunk-LANWQ2NA.js} +9 -9
- package/dist/chunks/{chunk-KTULXE6M.js → chunk-MEAUBEGT.js} +3 -3
- package/dist/chunks/{chunk-3NSIZGHP.js → chunk-MWQHQ7FW.js} +3 -3
- package/dist/chunks/{chunk-YWCYZANP.js → chunk-MXSNLYVL.js} +6 -6
- package/dist/chunks/{chunk-HAJ2XRTQ.js → chunk-NQQWZYTY.js} +2 -2
- package/dist/chunks/{chunk-JZLADLMF.js → chunk-NVV6BWQP.js} +2 -2
- package/dist/chunks/{chunk-Z2ES2XHU.js → chunk-OGWD7VBC.js} +2 -2
- package/dist/chunks/{chunk-6447C5WV.js → chunk-OLJ6HISC.js} +3 -3
- package/dist/chunks/{chunk-GQLARSTH.js → chunk-P5NASM3L.js} +1 -1
- package/dist/chunks/{chunk-GCKUEAUE.js → chunk-Q5MHVELE.js} +2 -2
- package/dist/chunks/{chunk-IS56OO2J.js → chunk-S62XC5XL.js} +2 -2
- package/dist/chunks/{chunk-ONYQGA2O.js → chunk-S6EMI466.js} +2 -2
- package/dist/chunks/{chunk-73EVSBLA.js → chunk-TEDMSWBX.js} +2 -2
- package/dist/chunks/{chunk-5HTDIHTQ.js → chunk-TTEDSKHO.js} +4 -4
- package/dist/chunks/{chunk-4LDQIDKG.js → chunk-U5GMPX5T.js} +2 -2
- package/dist/chunks/{chunk-AXQNAI65.js → chunk-V6BFG564.js} +1 -1
- package/dist/chunks/{chunk-7TCOOSFP.js → chunk-VOXVKDJQ.js} +4 -4
- package/dist/chunks/{chunk-54T7XV3H.js → chunk-Y6X3VMO3.js} +1 -1
- package/dist/chunks/{compile-vercel-config-ED6WXKEL.js → compile-vercel-config-SGZPQDRN.js} +4 -4
- package/dist/chunks/{delete-FYRG67YL.js → delete-WMHTTHG3.js} +6 -6
- package/dist/chunks/{disable-T6JFY4LL.js → disable-QBDO6UIV.js} +6 -6
- package/dist/chunks/{discard-OLVACEPN.js → discard-GZZ553AR.js} +6 -6
- package/dist/chunks/{edit-JI2VCMGG.js → edit-H2BF2MZY.js} +7 -7
- package/dist/chunks/{enable-2W35HGRM.js → enable-YYWIMKHP.js} +6 -6
- package/dist/chunks/{export-FFMFMPGE.js → export-D3XBBQZD.js} +6 -6
- package/dist/chunks/{inspect-RDRV6BUD.js → inspect-LUCGK7HU.js} +8 -8
- package/dist/chunks/{list-5WGQ7F6P.js → list-EGJ7X43H.js} +6 -6
- package/dist/chunks/{list-F2GP6UZ7.js → list-WV3JSWCB.js} +9 -9
- package/dist/chunks/{ls-ZLHJPSZZ.js → ls-DXRXKG6Q.js} +8 -8
- package/dist/chunks/{publish-S2PGRBDP.js → publish-LW57QZ56.js} +6 -6
- package/dist/chunks/{query-G5K7DLLJ.js → query-AQSXA32P.js} +8 -8
- package/dist/chunks/{reorder-K5VXZ7F5.js → reorder-YJGPY7SA.js} +6 -6
- package/dist/chunks/{restore-QJYBYUIZ.js → restore-VANQDIFO.js} +6 -6
- package/dist/chunks/{rm-WCHM3XXB.js → rm-GNY6PA2Z.js} +8 -8
- package/dist/chunks/{rule-inspect-VMWUI4WH.js → rule-inspect-EECXOMPN.js} +8 -8
- package/dist/chunks/{rules-SOQXK4AE.js → rules-G2VMMW7U.js} +8 -8
- package/dist/chunks/{schema-2H2WLFJN.js → schema-4TUQAXX6.js} +9 -9
- package/dist/chunks/{types-7VDI75PV.js → types-54VLSVRV.js} +4 -4
- package/dist/chunks/{update-W6DZOFHV.js → update-GSE7WNBV.js} +8 -8
- package/dist/commands/build/index.js +43 -17
- package/dist/commands/deploy/index.js +24 -24
- package/dist/commands/dev/index.js +53 -28
- package/dist/commands/env/index.js +18 -18
- package/dist/commands/link/index.js +19 -19
- package/dist/commands/list/index.js +10 -10
- package/dist/commands-bulk.js +135 -145
- package/dist/index.js +22 -22
- package/dist/version.mjs +1 -1
- package/package.json +21 -21
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
getPreservedArgsForEnvPull,
|
|
15
15
|
outputActionRequired,
|
|
16
16
|
outputAgentError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-V6BFG564.js";
|
|
18
18
|
import {
|
|
19
19
|
require_ms,
|
|
20
20
|
stamp_default
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
require_string_width,
|
|
29
29
|
require_strip_ansi,
|
|
30
30
|
yesOption
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-P5NASM3L.js";
|
|
32
32
|
import {
|
|
33
33
|
APIError,
|
|
34
34
|
CantParseJSONFile,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
isAPIError,
|
|
44
44
|
packageName,
|
|
45
45
|
require_lib
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-4XB5UFP4.js";
|
|
47
47
|
import {
|
|
48
48
|
emoji,
|
|
49
49
|
eraseLines,
|
|
@@ -23130,7 +23130,7 @@ var require_resolve2 = __commonJS({
|
|
|
23130
23130
|
}
|
|
23131
23131
|
var SERVICE_NAME_REGEX = /^[a-zA-Z]([a-zA-Z0-9_-]*[a-zA-Z0-9])?$/;
|
|
23132
23132
|
var DNS_LABEL_RE = /^(?!-)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$/i;
|
|
23133
|
-
var
|
|
23133
|
+
var ENV_VAR_NAME_RE = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
|
23134
23134
|
var ENTRYPOINT_REQUIRED_RUNTIMES = /* @__PURE__ */ new Set([
|
|
23135
23135
|
"node",
|
|
23136
23136
|
"python",
|
|
@@ -23509,14 +23509,46 @@ var require_resolve2 = __commonJS({
|
|
|
23509
23509
|
};
|
|
23510
23510
|
}
|
|
23511
23511
|
}
|
|
23512
|
-
if (config.
|
|
23513
|
-
if (
|
|
23512
|
+
if (config.env !== void 0) {
|
|
23513
|
+
if (typeof config.env !== "object" || Array.isArray(config.env)) {
|
|
23514
23514
|
return {
|
|
23515
|
-
code: "
|
|
23516
|
-
message: `Service "${name}" has invalid
|
|
23515
|
+
code: "INVALID_ENV_VARS",
|
|
23516
|
+
message: `Service "${name}" has invalid "env". Must be an object keyed by environment variable name.`,
|
|
23517
23517
|
serviceName: name
|
|
23518
23518
|
};
|
|
23519
23519
|
}
|
|
23520
|
+
for (const [envVarName, envVar] of Object.entries(config.env)) {
|
|
23521
|
+
if (!ENV_VAR_NAME_RE.test(envVarName)) {
|
|
23522
|
+
return {
|
|
23523
|
+
code: "INVALID_ENV_VAR_NAME",
|
|
23524
|
+
message: `Service "${name}" has invalid env key "${envVarName}". Must match /^[A-Za-z_][A-Za-z0-9_]*$/.`,
|
|
23525
|
+
serviceName: name
|
|
23526
|
+
};
|
|
23527
|
+
}
|
|
23528
|
+
if (!envVar || typeof envVar !== "object" || Array.isArray(envVar)) {
|
|
23529
|
+
return {
|
|
23530
|
+
code: "INVALID_ENV_VAR",
|
|
23531
|
+
message: `Service "${name}" has invalid env["${envVarName}"]. Must be an object with a "type" discriminator.`,
|
|
23532
|
+
serviceName: name
|
|
23533
|
+
};
|
|
23534
|
+
}
|
|
23535
|
+
const envVarType = envVar.type;
|
|
23536
|
+
if (envVarType !== "service-ref") {
|
|
23537
|
+
return {
|
|
23538
|
+
code: "INVALID_ENV_VAR_TYPE",
|
|
23539
|
+
message: `Service "${name}" env["${envVarName}"] has unknown type "${envVarType}".`,
|
|
23540
|
+
serviceName: name
|
|
23541
|
+
};
|
|
23542
|
+
}
|
|
23543
|
+
const refService = envVar.service;
|
|
23544
|
+
if (typeof refService !== "string" || refService.length === 0) {
|
|
23545
|
+
return {
|
|
23546
|
+
code: "INVALID_ENV_VAR_REF",
|
|
23547
|
+
message: `Service "${name}" env["${envVarName}"] must specify "service" as a non-empty string.`,
|
|
23548
|
+
serviceName: name
|
|
23549
|
+
};
|
|
23550
|
+
}
|
|
23551
|
+
}
|
|
23520
23552
|
}
|
|
23521
23553
|
if (config.runtime && !(config.runtime in import_types.RUNTIME_BUILDERS)) {
|
|
23522
23554
|
return {
|
|
@@ -23740,7 +23772,7 @@ var require_resolve2 = __commonJS({
|
|
|
23740
23772
|
schedule: config.schedule,
|
|
23741
23773
|
handlerFunction: moduleAttrParsed?.attrName,
|
|
23742
23774
|
topics,
|
|
23743
|
-
|
|
23775
|
+
env: config.env
|
|
23744
23776
|
};
|
|
23745
23777
|
}
|
|
23746
23778
|
async function resolveAllConfiguredServices(services, fs5, routePrefixSource = "configured", options = {}) {
|
|
@@ -23888,8 +23920,49 @@ var require_resolve2 = __commonJS({
|
|
|
23888
23920
|
}
|
|
23889
23921
|
resolved.push(service);
|
|
23890
23922
|
}
|
|
23923
|
+
const servicesByName = new Map(resolved.map((s) => [s.name, s]));
|
|
23924
|
+
for (const service of resolved) {
|
|
23925
|
+
if (!service.env)
|
|
23926
|
+
continue;
|
|
23927
|
+
validateEnvRefs(
|
|
23928
|
+
service.env,
|
|
23929
|
+
`Service "${service.name}" env`,
|
|
23930
|
+
servicesByName,
|
|
23931
|
+
errors,
|
|
23932
|
+
service.name
|
|
23933
|
+
);
|
|
23934
|
+
}
|
|
23935
|
+
if (options.rootEnv) {
|
|
23936
|
+
validateEnvRefs(options.rootEnv, "env", servicesByName, errors);
|
|
23937
|
+
for (const service of resolved) {
|
|
23938
|
+
service.env = { ...options.rootEnv, ...service.env ?? {} };
|
|
23939
|
+
}
|
|
23940
|
+
}
|
|
23891
23941
|
return { services: resolved, errors };
|
|
23892
23942
|
}
|
|
23943
|
+
function validateEnvRefs(env, pathPrefix, servicesByName, errors, serviceName) {
|
|
23944
|
+
for (const [envVarName, envVar] of Object.entries(env)) {
|
|
23945
|
+
if (envVar.type !== "service-ref")
|
|
23946
|
+
continue;
|
|
23947
|
+
const refName = envVar.service;
|
|
23948
|
+
const target = servicesByName.get(refName);
|
|
23949
|
+
if (!target) {
|
|
23950
|
+
errors.push({
|
|
23951
|
+
code: "UNKNOWN_SERVICE_REF",
|
|
23952
|
+
message: `${pathPrefix}["${envVarName}"] references unknown service "${refName}".`,
|
|
23953
|
+
...serviceName ? { serviceName } : {}
|
|
23954
|
+
});
|
|
23955
|
+
continue;
|
|
23956
|
+
}
|
|
23957
|
+
if (target.type !== "web") {
|
|
23958
|
+
errors.push({
|
|
23959
|
+
code: "INVALID_SERVICE_REF_TYPE",
|
|
23960
|
+
message: `${pathPrefix}["${envVarName}"] references service "${refName}" which is a ${target.type} service and has no URL. Only web services can be referenced.`,
|
|
23961
|
+
...serviceName ? { serviceName } : {}
|
|
23962
|
+
});
|
|
23963
|
+
}
|
|
23964
|
+
}
|
|
23965
|
+
}
|
|
23893
23966
|
}
|
|
23894
23967
|
});
|
|
23895
23968
|
|
|
@@ -24455,10 +24528,17 @@ var require_detect_services = __commonJS({
|
|
|
24455
24528
|
workers: []
|
|
24456
24529
|
};
|
|
24457
24530
|
}
|
|
24531
|
+
function isEnvVars(env) {
|
|
24532
|
+
if (!env)
|
|
24533
|
+
return false;
|
|
24534
|
+
const first = Object.values(env)[0];
|
|
24535
|
+
return typeof first === "object" && first !== null;
|
|
24536
|
+
}
|
|
24458
24537
|
function withResolvedResult(resolved, inferred = null) {
|
|
24459
24538
|
return {
|
|
24460
24539
|
services: resolved.services,
|
|
24461
24540
|
source: resolved.source,
|
|
24541
|
+
useImplicitEnvInjection: resolved.useImplicitEnvInjection,
|
|
24462
24542
|
routes: resolved.routes,
|
|
24463
24543
|
errors: resolved.errors,
|
|
24464
24544
|
warnings: resolved.warnings,
|
|
@@ -24494,6 +24574,7 @@ var require_detect_services = __commonJS({
|
|
|
24494
24574
|
return withResolvedResult({
|
|
24495
24575
|
services: [],
|
|
24496
24576
|
source: "configured",
|
|
24577
|
+
useImplicitEnvInjection: true,
|
|
24497
24578
|
routes: emptyRoutes(),
|
|
24498
24579
|
errors: [configError],
|
|
24499
24580
|
warnings: []
|
|
@@ -24508,6 +24589,7 @@ var require_detect_services = __commonJS({
|
|
|
24508
24589
|
return withResolvedResult({
|
|
24509
24590
|
services: [],
|
|
24510
24591
|
source: "auto-detected",
|
|
24592
|
+
useImplicitEnvInjection: true,
|
|
24511
24593
|
routes: emptyRoutes(),
|
|
24512
24594
|
errors: railwayResult.errors,
|
|
24513
24595
|
warnings: railwayResult.warnings
|
|
@@ -24529,6 +24611,7 @@ var require_detect_services = __commonJS({
|
|
|
24529
24611
|
{
|
|
24530
24612
|
services: [],
|
|
24531
24613
|
source: "auto-detected",
|
|
24614
|
+
useImplicitEnvInjection: true,
|
|
24532
24615
|
routes: emptyRoutes(),
|
|
24533
24616
|
errors: result2.errors,
|
|
24534
24617
|
warnings: railwayResult.warnings
|
|
@@ -24547,6 +24630,7 @@ var require_detect_services = __commonJS({
|
|
|
24547
24630
|
const resolved = {
|
|
24548
24631
|
services: result2.services,
|
|
24549
24632
|
source: "auto-detected",
|
|
24633
|
+
useImplicitEnvInjection: true,
|
|
24550
24634
|
routes: routes2,
|
|
24551
24635
|
errors: result2.errors,
|
|
24552
24636
|
warnings: []
|
|
@@ -24565,6 +24649,7 @@ var require_detect_services = __commonJS({
|
|
|
24565
24649
|
return withResolvedResult({
|
|
24566
24650
|
services: [],
|
|
24567
24651
|
source: "auto-detected",
|
|
24652
|
+
useImplicitEnvInjection: true,
|
|
24568
24653
|
routes: emptyRoutes(),
|
|
24569
24654
|
errors: autoResult.errors,
|
|
24570
24655
|
warnings: []
|
|
@@ -24573,6 +24658,7 @@ var require_detect_services = __commonJS({
|
|
|
24573
24658
|
return withResolvedResult({
|
|
24574
24659
|
services: [],
|
|
24575
24660
|
source: "auto-detected",
|
|
24661
|
+
useImplicitEnvInjection: true,
|
|
24576
24662
|
routes: emptyRoutes(),
|
|
24577
24663
|
errors: [
|
|
24578
24664
|
{
|
|
@@ -24590,13 +24676,17 @@ var require_detect_services = __commonJS({
|
|
|
24590
24676
|
{
|
|
24591
24677
|
requireFileEntrypointForBackendRuntimes: Boolean(
|
|
24592
24678
|
hasNonEmptyPublicServicesConfig
|
|
24593
|
-
)
|
|
24679
|
+
),
|
|
24680
|
+
rootEnv: isEnvVars(vercelConfig?.env) ? vercelConfig?.env : void 0
|
|
24594
24681
|
}
|
|
24595
24682
|
);
|
|
24596
24683
|
const routes = generateServicesRoutes2(result.services);
|
|
24597
24684
|
return withResolvedResult({
|
|
24598
24685
|
services: result.services,
|
|
24599
24686
|
source: "configured",
|
|
24687
|
+
// GA `services` opts into explicit `env`; experimentalServices keeps
|
|
24688
|
+
// the legacy `{NAME}_URL` injection.
|
|
24689
|
+
useImplicitEnvInjection: !hasNonEmptyPublicServicesConfig,
|
|
24600
24690
|
routes,
|
|
24601
24691
|
errors: result.errors,
|
|
24602
24692
|
warnings: []
|
|
@@ -25046,7 +25136,8 @@ var require_get_services_builders = __commonJS({
|
|
|
25046
25136
|
...result.routes.crons
|
|
25047
25137
|
] : null,
|
|
25048
25138
|
errorRoutes: [],
|
|
25049
|
-
services: result.services
|
|
25139
|
+
services: result.services,
|
|
25140
|
+
useImplicitEnvInjection: result.useImplicitEnvInjection
|
|
25050
25141
|
};
|
|
25051
25142
|
}
|
|
25052
25143
|
}
|
|
@@ -39038,7 +39129,7 @@ var require_package = __commonJS({
|
|
|
39038
39129
|
"../client/package.json"(exports, module) {
|
|
39039
39130
|
module.exports = {
|
|
39040
39131
|
name: "@vercel/client",
|
|
39041
|
-
version: "17.
|
|
39132
|
+
version: "17.5.0",
|
|
39042
39133
|
main: "dist/index.js",
|
|
39043
39134
|
typings: "dist/index.d.ts",
|
|
39044
39135
|
homepage: "https://vercel.com",
|
|
@@ -55203,7 +55294,13 @@ var parseEnv = (env) => {
|
|
|
55203
55294
|
return o;
|
|
55204
55295
|
}, startingDict);
|
|
55205
55296
|
}
|
|
55206
|
-
|
|
55297
|
+
const result = {};
|
|
55298
|
+
for (const [key, value] of Object.entries(env)) {
|
|
55299
|
+
if (typeof value === "string") {
|
|
55300
|
+
result[key] = value;
|
|
55301
|
+
}
|
|
55302
|
+
}
|
|
55303
|
+
return result;
|
|
55207
55304
|
};
|
|
55208
55305
|
|
|
55209
55306
|
// src/util/env/diff-env-files.ts
|
|
@@ -56205,6 +56302,43 @@ var serviceTopicsSchema = {
|
|
|
56205
56302
|
}
|
|
56206
56303
|
]
|
|
56207
56304
|
};
|
|
56305
|
+
var envVarNamesSchema = {
|
|
56306
|
+
pattern: "^[A-Za-z_][A-Za-z0-9_]*$",
|
|
56307
|
+
maxLength: 256
|
|
56308
|
+
};
|
|
56309
|
+
var envVarSchema = {
|
|
56310
|
+
oneOf: [
|
|
56311
|
+
{
|
|
56312
|
+
type: "object",
|
|
56313
|
+
additionalProperties: false,
|
|
56314
|
+
required: ["type", "service"],
|
|
56315
|
+
properties: {
|
|
56316
|
+
type: { const: "service-ref" },
|
|
56317
|
+
service: {
|
|
56318
|
+
type: "string",
|
|
56319
|
+
minLength: 1,
|
|
56320
|
+
maxLength: 64,
|
|
56321
|
+
pattern: "^[a-zA-Z]([a-zA-Z0-9_-]*[a-zA-Z0-9])?$"
|
|
56322
|
+
}
|
|
56323
|
+
}
|
|
56324
|
+
}
|
|
56325
|
+
]
|
|
56326
|
+
};
|
|
56327
|
+
var envVarRecordSchema = {
|
|
56328
|
+
type: "object",
|
|
56329
|
+
additionalProperties: envVarSchema,
|
|
56330
|
+
propertyNames: envVarNamesSchema
|
|
56331
|
+
};
|
|
56332
|
+
var topLevelEnvSchema = {
|
|
56333
|
+
oneOf: [
|
|
56334
|
+
{
|
|
56335
|
+
type: "object",
|
|
56336
|
+
additionalProperties: { type: "string" },
|
|
56337
|
+
propertyNames: envVarNamesSchema
|
|
56338
|
+
},
|
|
56339
|
+
envVarRecordSchema
|
|
56340
|
+
]
|
|
56341
|
+
};
|
|
56208
56342
|
var experimentalServicesCommonProperties = {
|
|
56209
56343
|
entrypoint: {
|
|
56210
56344
|
type: "string",
|
|
@@ -56304,7 +56438,8 @@ var servicesCommonProperties = {
|
|
|
56304
56438
|
memory: experimentalServicesCommonProperties.memory,
|
|
56305
56439
|
maxDuration: experimentalServicesCommonProperties.maxDuration,
|
|
56306
56440
|
includeFiles: experimentalServicesCommonProperties.includeFiles,
|
|
56307
|
-
excludeFiles: experimentalServicesCommonProperties.excludeFiles
|
|
56441
|
+
excludeFiles: experimentalServicesCommonProperties.excludeFiles,
|
|
56442
|
+
env: envVarRecordSchema
|
|
56308
56443
|
};
|
|
56309
56444
|
var servicesRoutableProperties = {
|
|
56310
56445
|
mount: servicesMountSchema
|
|
@@ -56519,6 +56654,7 @@ var vercelConfigSchema = {
|
|
|
56519
56654
|
images: imagesSchema,
|
|
56520
56655
|
crons: cronsSchema,
|
|
56521
56656
|
bunVersion: { type: "string" },
|
|
56657
|
+
env: topLevelEnvSchema,
|
|
56522
56658
|
services: servicesSchema,
|
|
56523
56659
|
experimentalServices: experimentalServicesSchema,
|
|
56524
56660
|
experimentalServiceGroups: experimentalServiceGroupsSchema
|
|
@@ -9,33 +9,33 @@ import {
|
|
|
9
9
|
printIndications,
|
|
10
10
|
require_dist as require_dist2,
|
|
11
11
|
sleep
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4WPY4WO3.js";
|
|
13
13
|
import {
|
|
14
14
|
suggestNextCommands
|
|
15
15
|
} from "./chunk-LOS7HHU3.js";
|
|
16
16
|
import {
|
|
17
17
|
getDeployment,
|
|
18
18
|
mapCertError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-23SNIB7J.js";
|
|
20
20
|
import {
|
|
21
21
|
CommandTimeout
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4I5SPKXV.js";
|
|
23
23
|
import {
|
|
24
24
|
getScope
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TEDMSWBX.js";
|
|
26
26
|
import {
|
|
27
27
|
ua_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3CBPQ6CA.js";
|
|
29
29
|
import {
|
|
30
30
|
showPluginTipIfNeeded
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-OLJ6HISC.js";
|
|
32
32
|
import {
|
|
33
33
|
getProjectByNameOrId,
|
|
34
34
|
param,
|
|
35
35
|
require_dist as require_dist3,
|
|
36
36
|
require_lib3 as require_lib,
|
|
37
37
|
require_pluralize
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-KAC4IO5S.js";
|
|
39
39
|
import {
|
|
40
40
|
require_ms,
|
|
41
41
|
stamp_default
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
import {
|
|
44
44
|
require_strip_ansi,
|
|
45
45
|
responseError
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-P5NASM3L.js";
|
|
47
47
|
import {
|
|
48
48
|
APIError,
|
|
49
49
|
BuildError,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
getCommandName,
|
|
62
62
|
isAPIError,
|
|
63
63
|
require_bytes
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-4XB5UFP4.js";
|
|
65
65
|
import {
|
|
66
66
|
emoji,
|
|
67
67
|
eraseLines,
|
|
@@ -7,15 +7,15 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
VERCEL_DIR,
|
|
9
9
|
isVercelTomlEnabled
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KAC4IO5S.js";
|
|
11
11
|
import {
|
|
12
12
|
parseArguments
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-P5NASM3L.js";
|
|
14
14
|
import {
|
|
15
15
|
ConflictingConfigFiles,
|
|
16
16
|
DeprecatedNowJson,
|
|
17
17
|
InvalidLocalConfig
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4XB5UFP4.js";
|
|
19
19
|
|
|
20
20
|
// src/util/config/local-path.ts
|
|
21
21
|
import path from "path";
|
|
@@ -6,14 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
rulesAggregateCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NVV6BWQP.js";
|
|
10
10
|
import {
|
|
11
11
|
formatOption,
|
|
12
12
|
limitOption
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-P5NASM3L.js";
|
|
14
14
|
import {
|
|
15
15
|
packageName
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4XB5UFP4.js";
|
|
17
17
|
|
|
18
18
|
// src/commands/alerts/command.ts
|
|
19
19
|
var listSubcommand = {
|
|
@@ -6,19 +6,19 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getUpdateCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OGWD7VBC.js";
|
|
10
10
|
import {
|
|
11
11
|
getGlobalPathConfig,
|
|
12
12
|
login
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4WPY4WO3.js";
|
|
14
14
|
import {
|
|
15
15
|
apiCommand,
|
|
16
16
|
listSubcommand2 as listSubcommand,
|
|
17
17
|
loginCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4I5SPKXV.js";
|
|
19
19
|
import {
|
|
20
20
|
help
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-S62XC5XL.js";
|
|
22
22
|
import {
|
|
23
23
|
TelemetryClient
|
|
24
24
|
} from "./chunk-4OEA5ILS.js";
|
|
@@ -30,10 +30,10 @@ import {
|
|
|
30
30
|
parseArguments,
|
|
31
31
|
printError,
|
|
32
32
|
require_strip_ansi
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-P5NASM3L.js";
|
|
34
34
|
import {
|
|
35
35
|
packageName
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-4XB5UFP4.js";
|
|
37
37
|
import {
|
|
38
38
|
output_manager_default
|
|
39
39
|
} from "./chunk-ZQKJVHXY.js";
|
|
@@ -7,10 +7,10 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
confirmOption,
|
|
9
9
|
yesOption
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-P5NASM3L.js";
|
|
11
11
|
import {
|
|
12
12
|
packageName
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4XB5UFP4.js";
|
|
14
14
|
|
|
15
15
|
// src/commands/dev/command.ts
|
|
16
16
|
var devCommand = {
|
|
@@ -7,10 +7,10 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
formatOption,
|
|
9
9
|
yesOption
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-P5NASM3L.js";
|
|
11
11
|
import {
|
|
12
12
|
packageName
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4XB5UFP4.js";
|
|
14
14
|
|
|
15
15
|
// src/commands/alerts/rules/command.ts
|
|
16
16
|
var scopeOptions = [
|
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
require_lib
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KAC4IO5S.js";
|
|
10
10
|
import {
|
|
11
11
|
packageName
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4XB5UFP4.js";
|
|
13
13
|
import {
|
|
14
14
|
__toESM
|
|
15
15
|
} from "./chunk-TZ2YI2VH.js";
|
|
@@ -6,13 +6,13 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getEnvTargetPlaceholder
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KAC4IO5S.js";
|
|
10
10
|
import {
|
|
11
11
|
yesOption
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-P5NASM3L.js";
|
|
13
13
|
import {
|
|
14
14
|
packageName
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4XB5UFP4.js";
|
|
16
16
|
import {
|
|
17
17
|
output_manager_default
|
|
18
18
|
} from "./chunk-ZQKJVHXY.js";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
formatOption,
|
|
9
9
|
limitOption,
|
|
10
10
|
nextOption
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-P5NASM3L.js";
|
|
12
12
|
import {
|
|
13
13
|
packageName
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4XB5UFP4.js";
|
|
15
15
|
|
|
16
16
|
// src/commands/activity/command.ts
|
|
17
17
|
var typesSubcommand = {
|
|
@@ -7,13 +7,13 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
noBorderChars,
|
|
9
9
|
require_cli_table3
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5GZAC4CI.js";
|
|
11
11
|
import {
|
|
12
12
|
require_dist
|
|
13
13
|
} from "./chunk-4OEA5ILS.js";
|
|
14
14
|
import {
|
|
15
15
|
globalCommandOptions
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-P5NASM3L.js";
|
|
17
17
|
import {
|
|
18
18
|
require_source
|
|
19
19
|
} from "./chunk-S7KYDPEM.js";
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
formatOption,
|
|
11
11
|
nextOption,
|
|
12
12
|
yesOption
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-P5NASM3L.js";
|
|
14
14
|
import {
|
|
15
15
|
packageName
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4XB5UFP4.js";
|
|
17
17
|
|
|
18
18
|
// src/commands/list/command.ts
|
|
19
19
|
var listCommand = {
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
getTeamById,
|
|
12
12
|
getUser,
|
|
13
13
|
getVercelDirectory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KAC4IO5S.js";
|
|
15
15
|
import {
|
|
16
16
|
TeamDeleted
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4XB5UFP4.js";
|
|
18
18
|
import {
|
|
19
19
|
output_manager_default
|
|
20
20
|
} from "./chunk-ZQKJVHXY.js";
|
|
@@ -6,20 +6,20 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
setupAndLink
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DIOSHJ4H.js";
|
|
10
10
|
import {
|
|
11
11
|
getLinkedProject,
|
|
12
12
|
param,
|
|
13
13
|
resolveProjectCwd
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KAC4IO5S.js";
|
|
15
15
|
import {
|
|
16
16
|
buildCommandWithYes,
|
|
17
17
|
outputActionRequired
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-V6BFG564.js";
|
|
19
19
|
import {
|
|
20
20
|
getCommandName,
|
|
21
21
|
getCommandNamePlain
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4XB5UFP4.js";
|
|
23
23
|
import {
|
|
24
24
|
output_manager_default
|
|
25
25
|
} from "./chunk-ZQKJVHXY.js";
|
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
yesOption
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-P5NASM3L.js";
|
|
10
10
|
import {
|
|
11
11
|
packageName
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4XB5UFP4.js";
|
|
13
13
|
|
|
14
14
|
// src/commands/routes/command.ts
|
|
15
15
|
var listSubcommand = {
|
|
@@ -10,21 +10,21 @@ import {
|
|
|
10
10
|
} from "./chunk-E3NE4SKN.js";
|
|
11
11
|
import {
|
|
12
12
|
getLinkedProject
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KAC4IO5S.js";
|
|
14
14
|
import {
|
|
15
15
|
buildCommandWithYes,
|
|
16
16
|
outputAgentError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-V6BFG564.js";
|
|
18
18
|
import {
|
|
19
19
|
getFlagsSpecification,
|
|
20
20
|
getGlobalFlagsOnlyFromArgs,
|
|
21
21
|
parseArguments,
|
|
22
22
|
printError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-P5NASM3L.js";
|
|
24
24
|
import {
|
|
25
25
|
getCommandName,
|
|
26
26
|
getCommandNamePlain
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4XB5UFP4.js";
|
|
28
28
|
import {
|
|
29
29
|
output_manager_default
|
|
30
30
|
} from "./chunk-ZQKJVHXY.js";
|