vercel 54.15.1 → 54.16.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-BHCMFK52.js → add-ODBKI7EV.js} +5 -5
- package/dist/chunks/{chunk-AWD3IGXU.js → chunk-3NR6OYDV.js} +1 -1
- package/dist/chunks/{chunk-5X6ILMYI.js → chunk-76QQSALN.js} +3 -3
- package/dist/chunks/{chunk-CQ24PL4F.js → chunk-7CTLNKAS.js} +48 -9
- package/dist/chunks/{chunk-B5DP7FOH.js → chunk-BGQPLZFA.js} +6 -6
- package/dist/chunks/{chunk-4GQBO7KU.js → chunk-BIHRICRM.js} +2 -2
- package/dist/chunks/{chunk-4TL5EF3A.js → chunk-FBYYZKN3.js} +4 -1
- package/dist/chunks/{chunk-OOGTHUXU.js → chunk-HL5ZRVF2.js} +6 -6
- package/dist/chunks/{chunk-OEFNWW5M.js → chunk-HXAMK45D.js} +2 -2
- package/dist/chunks/{chunk-MABHXDYV.js → chunk-INFYZRHS.js} +286 -76
- package/dist/chunks/{chunk-PMUUPCDL.js → chunk-JFA4NUXP.js} +1 -1
- package/dist/chunks/{chunk-UEPXHHDN.js → chunk-KJMSI2CT.js} +1 -1
- package/dist/chunks/{chunk-CBMMVXLH.js → chunk-LJXYGWOY.js} +11 -3
- package/dist/chunks/{chunk-4OEXX4CB.js → chunk-MSWXRAHA.js} +1 -1
- package/dist/chunks/{chunk-D7U6YBVT.js → chunk-NVITPK2U.js} +1 -1
- package/dist/chunks/{chunk-RWRYDAUG.js → chunk-O6YJBWWC.js} +1 -1
- package/dist/chunks/{chunk-JNVCGTF2.js → chunk-Q4ZRBN2A.js} +1 -1
- package/dist/chunks/{chunk-HIYWSGI7.js → chunk-Q77ALSXR.js} +3 -0
- package/dist/chunks/{chunk-TDFUNPL7.js → chunk-RCUMYP4L.js} +4 -4
- package/dist/chunks/{chunk-UYC2Q5YZ.js → chunk-U2NYO6GP.js} +1 -1
- package/dist/chunks/{chunk-TAUAS27Y.js → chunk-UI2T3GI4.js} +2 -2
- package/dist/chunks/{chunk-UJZ4RUU6.js → chunk-ULNWA6GY.js} +1 -1
- package/dist/chunks/{chunk-AQWK7XXE.js → chunk-VLQBXXOQ.js} +2 -2
- package/dist/chunks/{compile-vercel-config-LUMMHFTD.js → compile-vercel-config-7THB6MTJ.js} +2 -2
- package/dist/chunks/{delete-X6VOLLCP.js → delete-USWDARFF.js} +3 -3
- package/dist/chunks/{disable-LFH5IOCZ.js → disable-K6B26MC2.js} +3 -3
- package/dist/chunks/{discard-EVD33PAE.js → discard-2T7HZCGR.js} +3 -3
- package/dist/chunks/{edit-FL3SRS2I.js → edit-2CC2WAO4.js} +5 -5
- package/dist/chunks/{enable-HTU7LQK5.js → enable-KEZA6F4T.js} +3 -3
- package/dist/chunks/{export-R222C6IH.js → export-PE2T4HYP.js} +3 -3
- package/dist/chunks/{inspect-YYTAQP3A.js → inspect-TQSHD4MH.js} +4 -4
- package/dist/chunks/{list-AOJMWKA7.js → list-AU6URG3E.js} +4 -4
- package/dist/chunks/{list-SWJFJSEE.js → list-IDTF5TWY.js} +3 -3
- package/dist/chunks/{ls-H7KDHFK6.js → ls-XOAWRTNQ.js} +5 -5
- package/dist/chunks/{publish-O5VKBFJ6.js → publish-G42C77TP.js} +3 -3
- package/dist/chunks/{query-7UDJEOOR.js → query-YTBD7YLX.js} +3 -3
- package/dist/chunks/{reorder-ZPI6Q7DQ.js → reorder-BDOOUURL.js} +3 -3
- package/dist/chunks/{restore-7FNMEG4A.js → restore-ENUHC25O.js} +3 -3
- package/dist/chunks/{rm-U37YHRNF.js → rm-ALWF3NBL.js} +5 -5
- package/dist/chunks/{routes-YEU33SON.js → routes-KUTLDFIF.js} +2 -2
- package/dist/chunks/{rule-inspect-CVI3TQHN.js → rule-inspect-BV6MC7PG.js} +5 -5
- package/dist/chunks/{rules-ZTL4JCZO.js → rules-IGG7M2AC.js} +6 -6
- package/dist/chunks/{schema-LZ6VDRGM.js → schema-ZYJOJIGL.js} +3 -3
- package/dist/chunks/{update-O6FSP627.js → update-I3WE3IQJ.js} +5 -5
- package/dist/commands/build/index.js +18 -18
- package/dist/commands/deploy/index.js +12 -12
- package/dist/commands/dev/index.js +623 -95
- package/dist/commands/env/index.js +6 -6
- package/dist/commands/link/index.js +47 -13
- package/dist/commands/list/index.js +5 -5
- package/dist/commands-bulk.js +44 -40
- package/dist/index.js +46 -42
- package/dist/version.mjs +1 -1
- package/package.json +20 -19
|
@@ -11,39 +11,39 @@ import {
|
|
|
11
11
|
isLambda,
|
|
12
12
|
staticFiles,
|
|
13
13
|
writeBuildResult
|
|
14
|
-
} from "../../chunks/chunk-
|
|
14
|
+
} from "../../chunks/chunk-7CTLNKAS.js";
|
|
15
15
|
import {
|
|
16
16
|
pullCommandLogic
|
|
17
|
-
} from "../../chunks/chunk-
|
|
17
|
+
} from "../../chunks/chunk-BGQPLZFA.js";
|
|
18
18
|
import {
|
|
19
19
|
require_semver
|
|
20
20
|
} from "../../chunks/chunk-IB5L4LKZ.js";
|
|
21
21
|
import {
|
|
22
22
|
pickOverrides,
|
|
23
23
|
readProjectSettings
|
|
24
|
-
} from "../../chunks/chunk-
|
|
24
|
+
} from "../../chunks/chunk-MSWXRAHA.js";
|
|
25
25
|
import "../../chunks/chunk-YI3JV6GM.js";
|
|
26
26
|
import "../../chunks/chunk-BRQ6PX3U.js";
|
|
27
27
|
import {
|
|
28
28
|
stamp_default
|
|
29
29
|
} from "../../chunks/chunk-64IF634X.js";
|
|
30
30
|
import "../../chunks/chunk-VXYGCOKL.js";
|
|
31
|
-
import "../../chunks/chunk-
|
|
31
|
+
import "../../chunks/chunk-BIHRICRM.js";
|
|
32
32
|
import {
|
|
33
33
|
printProjectNotFoundError
|
|
34
|
-
} from "../../chunks/chunk-
|
|
34
|
+
} from "../../chunks/chunk-76QQSALN.js";
|
|
35
35
|
import {
|
|
36
36
|
AGENT_REASON,
|
|
37
37
|
AGENT_STATUS
|
|
38
38
|
} from "../../chunks/chunk-QH7WYDEP.js";
|
|
39
|
-
import "../../chunks/chunk-
|
|
39
|
+
import "../../chunks/chunk-ULNWA6GY.js";
|
|
40
40
|
import {
|
|
41
41
|
buildCommand
|
|
42
|
-
} from "../../chunks/chunk-
|
|
43
|
-
import "../../chunks/chunk-
|
|
42
|
+
} from "../../chunks/chunk-KJMSI2CT.js";
|
|
43
|
+
import "../../chunks/chunk-FBYYZKN3.js";
|
|
44
44
|
import {
|
|
45
45
|
help
|
|
46
|
-
} from "../../chunks/chunk-
|
|
46
|
+
} from "../../chunks/chunk-3NR6OYDV.js";
|
|
47
47
|
import {
|
|
48
48
|
DEFAULT_VERCEL_CONFIG_FILENAME,
|
|
49
49
|
VERCEL_DIR,
|
|
@@ -65,10 +65,10 @@ import {
|
|
|
65
65
|
resolveProjectCwd,
|
|
66
66
|
ua_default,
|
|
67
67
|
validateConfig
|
|
68
|
-
} from "../../chunks/chunk-
|
|
68
|
+
} from "../../chunks/chunk-INFYZRHS.js";
|
|
69
69
|
import {
|
|
70
70
|
TelemetryClient
|
|
71
|
-
} from "../../chunks/chunk-
|
|
71
|
+
} from "../../chunks/chunk-Q77ALSXR.js";
|
|
72
72
|
import {
|
|
73
73
|
outputAgentError
|
|
74
74
|
} from "../../chunks/chunk-NHGCQRK5.js";
|
|
@@ -548,7 +548,7 @@ function unsetServiceBuildImmutableEnvVars(restoreEnv) {
|
|
|
548
548
|
function getGeneratedServiceAlreadyBuiltWarning(service) {
|
|
549
549
|
const framework = service.framework ?? "unknown";
|
|
550
550
|
const entrypoint = service.entrypoint ?? service.builder.src ?? "unknown";
|
|
551
|
-
return `Detected already-built service "${service.name}" from lazily generated \`.vercel/output/config.json\` (framework: ${framework}, entrypoint: ${entrypoint}). It will not be treated as a service because its build output already exists at the top level. Configure it in \`vercel.json\` as
|
|
551
|
+
return `Detected already-built service "${service.name}" from lazily generated \`.vercel/output/config.json\` (framework: ${framework}, entrypoint: ${entrypoint}). It will not be treated as a service because its build output already exists at the top level. Configure it in \`vercel.json\` as a \`services\` entry to remove this warning.`;
|
|
552
552
|
}
|
|
553
553
|
async function main(client) {
|
|
554
554
|
const telemetryClient = new BuildTelemetryClient({
|
|
@@ -975,14 +975,13 @@ async function doBuild(client, project, buildsJson, cwd, outputDir, span, standa
|
|
|
975
975
|
let zeroConfigFallbackRoutes = [];
|
|
976
976
|
let detectedServices;
|
|
977
977
|
let detectedResolvedServices;
|
|
978
|
-
const localConfigWithServicesV2 = localConfig;
|
|
979
978
|
const hasExperimentalServicesV1ConfiguredInVercelConfig = hasNonEmptyObject(
|
|
980
979
|
localConfig.experimentalServices
|
|
981
980
|
);
|
|
982
981
|
const hasExperimentalServicesV2ConfiguredInVercelConfig = hasNonEmptyObject(
|
|
983
|
-
|
|
982
|
+
localConfig.services ?? localConfig.experimentalServicesV2
|
|
984
983
|
);
|
|
985
|
-
const configuredExperimentalServicesV2 = hasExperimentalServicesV2ConfiguredInVercelConfig &&
|
|
984
|
+
const configuredExperimentalServicesV2 = hasExperimentalServicesV2ConfiguredInVercelConfig && (localConfig.services ?? localConfig.experimentalServicesV2) ? localConfig.services ?? localConfig.experimentalServicesV2 : void 0;
|
|
986
985
|
let nestExperimentalServicesV2Output = hasExperimentalServicesV2ConfiguredInVercelConfig;
|
|
987
986
|
let detectedExperimentalServicesV1Config;
|
|
988
987
|
let detectedExperimentalServicesV2Config = configuredExperimentalServicesV2;
|
|
@@ -998,9 +997,8 @@ async function doBuild(client, project, buildsJson, cwd, outputDir, span, standa
|
|
|
998
997
|
const detectedBuilders = await span.child("vc.detectBuilders").trace(
|
|
999
998
|
() => (0, import_fs_detectors2.detectBuilders)(files, pkg, {
|
|
1000
999
|
...localConfig,
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
},
|
|
1000
|
+
services: void 0,
|
|
1001
|
+
experimentalServicesV2: configuredExperimentalServicesV2,
|
|
1004
1002
|
projectSettings,
|
|
1005
1003
|
ignoreBuildScript: true,
|
|
1006
1004
|
featHandleMiss: true,
|
|
@@ -1632,9 +1630,11 @@ async function doBuild(client, project, buildsJson, cwd, outputDir, span, standa
|
|
|
1632
1630
|
const generatedBuilders = await span.child("vc.detectGeneratedServices").trace(
|
|
1633
1631
|
() => (0, import_fs_detectors2.detectBuilders)(files, pkg, {
|
|
1634
1632
|
...localConfig,
|
|
1633
|
+
services: void 0,
|
|
1635
1634
|
...generatedExperimentalServicesV2Config ? {
|
|
1636
1635
|
experimentalServicesV2: generatedExperimentalServicesV2Config
|
|
1637
1636
|
} : {
|
|
1637
|
+
experimentalServicesV2: void 0,
|
|
1638
1638
|
experimentalServices: generatedExperimentalServicesV1Config
|
|
1639
1639
|
},
|
|
1640
1640
|
projectSettings,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
purchaseDomainIfAvailable,
|
|
14
14
|
require_cjs,
|
|
15
15
|
setupDomain
|
|
16
|
-
} from "../../chunks/chunk-
|
|
16
|
+
} from "../../chunks/chunk-RCUMYP4L.js";
|
|
17
17
|
import {
|
|
18
18
|
readLocalConfig
|
|
19
|
-
} from "../../chunks/chunk-
|
|
19
|
+
} from "../../chunks/chunk-LJXYGWOY.js";
|
|
20
20
|
import {
|
|
21
21
|
highlight
|
|
22
22
|
} from "../../chunks/chunk-V5P25P7F.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
deprecatedArchiveSplitTgz,
|
|
41
41
|
getCommandAliases,
|
|
42
42
|
initSubcommand
|
|
43
|
-
} from "../../chunks/chunk-
|
|
43
|
+
} from "../../chunks/chunk-VLQBXXOQ.js";
|
|
44
44
|
import "../../chunks/chunk-YE3C5CUX.js";
|
|
45
45
|
import "../../chunks/chunk-IB56QKCM.js";
|
|
46
46
|
import "../../chunks/chunk-DPS62LHL.js";
|
|
@@ -50,7 +50,7 @@ import "../../chunks/chunk-56AJHIQC.js";
|
|
|
50
50
|
import "../../chunks/chunk-IJJOI63T.js";
|
|
51
51
|
import {
|
|
52
52
|
pickOverrides
|
|
53
|
-
} from "../../chunks/chunk-
|
|
53
|
+
} from "../../chunks/chunk-MSWXRAHA.js";
|
|
54
54
|
import "../../chunks/chunk-BRQ6PX3U.js";
|
|
55
55
|
import {
|
|
56
56
|
stamp_default
|
|
@@ -58,20 +58,20 @@ import {
|
|
|
58
58
|
import "../../chunks/chunk-VXYGCOKL.js";
|
|
59
59
|
import {
|
|
60
60
|
ensureLink
|
|
61
|
-
} from "../../chunks/chunk-
|
|
61
|
+
} from "../../chunks/chunk-BIHRICRM.js";
|
|
62
62
|
import {
|
|
63
63
|
validatePaths,
|
|
64
64
|
validateRootDirectory
|
|
65
|
-
} from "../../chunks/chunk-
|
|
65
|
+
} from "../../chunks/chunk-76QQSALN.js";
|
|
66
66
|
import {
|
|
67
67
|
AGENT_STATUS
|
|
68
68
|
} from "../../chunks/chunk-QH7WYDEP.js";
|
|
69
|
-
import "../../chunks/chunk-
|
|
70
|
-
import "../../chunks/chunk-
|
|
71
|
-
import "../../chunks/chunk-
|
|
69
|
+
import "../../chunks/chunk-ULNWA6GY.js";
|
|
70
|
+
import "../../chunks/chunk-KJMSI2CT.js";
|
|
71
|
+
import "../../chunks/chunk-FBYYZKN3.js";
|
|
72
72
|
import {
|
|
73
73
|
help
|
|
74
|
-
} from "../../chunks/chunk-
|
|
74
|
+
} from "../../chunks/chunk-3NR6OYDV.js";
|
|
75
75
|
import {
|
|
76
76
|
compileVercelConfig,
|
|
77
77
|
createGitMeta,
|
|
@@ -81,10 +81,10 @@ import {
|
|
|
81
81
|
printAlignedLabel,
|
|
82
82
|
require_dist as require_dist2,
|
|
83
83
|
require_lib
|
|
84
|
-
} from "../../chunks/chunk-
|
|
84
|
+
} from "../../chunks/chunk-INFYZRHS.js";
|
|
85
85
|
import {
|
|
86
86
|
TelemetryClient
|
|
87
|
-
} from "../../chunks/chunk-
|
|
87
|
+
} from "../../chunks/chunk-Q77ALSXR.js";
|
|
88
88
|
import {
|
|
89
89
|
outputAgentError
|
|
90
90
|
} from "../../chunks/chunk-NHGCQRK5.js";
|