vercel 50.1.5 → 50.1.6
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/index.js +13 -1
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -149963,7 +149963,18 @@ async function doBuild(client2, project, buildsJson, cwd, outputDir, span, stand
|
|
|
149963
149963
|
if (existingConfig instanceof CantParseJSONFile) {
|
|
149964
149964
|
throw existingConfig;
|
|
149965
149965
|
}
|
|
149966
|
+
let deploymentId;
|
|
149966
149967
|
if (existingConfig) {
|
|
149968
|
+
if ("deploymentId" in existingConfig && typeof existingConfig.deploymentId === "string" && existingConfig.deploymentId.startsWith("dpl_")) {
|
|
149969
|
+
throw new import_build_utils14.NowBuildError({
|
|
149970
|
+
code: "INVALID_DEPLOYMENT_ID",
|
|
149971
|
+
message: `The deploymentId cannot start with the "dpl_" prefix. Please choose a different deploymentId in your config.`,
|
|
149972
|
+
link: "https://vercel.com/docs/skew-protection#custom-skew-protection-deployment-id"
|
|
149973
|
+
});
|
|
149974
|
+
}
|
|
149975
|
+
if (existingConfig.deploymentId) {
|
|
149976
|
+
deploymentId = existingConfig.deploymentId;
|
|
149977
|
+
}
|
|
149967
149978
|
if (existingConfig.overrides) {
|
|
149968
149979
|
overrides.push(existingConfig.overrides);
|
|
149969
149980
|
}
|
|
@@ -150007,7 +150018,8 @@ async function doBuild(client2, project, buildsJson, cwd, outputDir, span, stand
|
|
|
150007
150018
|
wildcard: mergedWildcard,
|
|
150008
150019
|
overrides: mergedOverrides,
|
|
150009
150020
|
framework,
|
|
150010
|
-
crons: mergedCrons
|
|
150021
|
+
crons: mergedCrons,
|
|
150022
|
+
...deploymentId && { deploymentId }
|
|
150011
150023
|
};
|
|
150012
150024
|
await import_fs_extra18.default.writeJSON((0, import_path28.join)(outputDir, "config.json"), config2, { spaces: 2 });
|
|
150013
150025
|
await writeFlagsJSON(buildResults.values(), outputDir);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vercel",
|
|
3
|
-
"version": "50.1.
|
|
3
|
+
"version": "50.1.6",
|
|
4
4
|
"preferGlobal": true,
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "The command-line interface for Vercel",
|
|
@@ -27,25 +27,25 @@
|
|
|
27
27
|
"esbuild": "0.27.0",
|
|
28
28
|
"form-data": "^4.0.0",
|
|
29
29
|
"jose": "5.9.6",
|
|
30
|
-
"@vercel/backends": "0.0.
|
|
31
|
-
"@vercel/detect-agent": "1.0.0",
|
|
30
|
+
"@vercel/backends": "0.0.18",
|
|
32
31
|
"@vercel/build-utils": "13.2.4",
|
|
32
|
+
"@vercel/detect-agent": "1.0.0",
|
|
33
33
|
"@vercel/elysia": "0.1.15",
|
|
34
|
-
"@vercel/express": "0.1.
|
|
34
|
+
"@vercel/express": "0.1.22",
|
|
35
35
|
"@vercel/fastify": "0.1.18",
|
|
36
36
|
"@vercel/go": "3.3.0",
|
|
37
37
|
"@vercel/h3": "0.1.24",
|
|
38
38
|
"@vercel/hono": "0.2.18",
|
|
39
|
-
"@vercel/hydrogen": "1.3.3",
|
|
40
39
|
"@vercel/nestjs": "0.2.19",
|
|
40
|
+
"@vercel/hydrogen": "1.3.3",
|
|
41
41
|
"@vercel/next": "4.15.10",
|
|
42
42
|
"@vercel/node": "5.5.16",
|
|
43
43
|
"@vercel/python": "6.1.6",
|
|
44
|
+
"@vercel/redwood": "2.4.6",
|
|
45
|
+
"@vercel/remix-builder": "5.5.6",
|
|
44
46
|
"@vercel/ruby": "2.2.4",
|
|
45
47
|
"@vercel/rust": "1.0.4",
|
|
46
|
-
"@vercel/
|
|
47
|
-
"@vercel/static-build": "2.8.15",
|
|
48
|
-
"@vercel/redwood": "2.4.6"
|
|
48
|
+
"@vercel/static-build": "2.8.15"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@alex_neo/jest-expect-message": "1.0.5",
|
|
@@ -169,13 +169,13 @@
|
|
|
169
169
|
"write-json-file": "2.2.0",
|
|
170
170
|
"xdg-app-paths": "5.1.0",
|
|
171
171
|
"yauzl-promise": "2.1.3",
|
|
172
|
-
"@vercel/
|
|
172
|
+
"@vercel-internals/constants": "1.0.4",
|
|
173
173
|
"@vercel-internals/get-package-json": "1.0.0",
|
|
174
|
-
"@vercel/
|
|
174
|
+
"@vercel-internals/types": "3.0.6",
|
|
175
|
+
"@vercel/client": "17.2.18",
|
|
175
176
|
"@vercel/error-utils": "2.0.3",
|
|
176
177
|
"@vercel/fs-detectors": "5.7.11",
|
|
177
|
-
"@vercel
|
|
178
|
-
"@vercel-internals/types": "3.0.6",
|
|
178
|
+
"@vercel/frameworks": "3.15.4",
|
|
179
179
|
"@vercel/routing-utils": "5.3.1"
|
|
180
180
|
},
|
|
181
181
|
"scripts": {
|