vercel 50.1.4 → 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 +15 -2
- package/package.json +6 -6
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);
|
|
@@ -191235,7 +191247,8 @@ var GLOBAL_COMMANDS = /* @__PURE__ */ new Set(["help"]);
|
|
|
191235
191247
|
Sentry.init({
|
|
191236
191248
|
dsn: SENTRY_DSN,
|
|
191237
191249
|
release: `vercel-cli@${pkg_default.version}`,
|
|
191238
|
-
environment: "stable"
|
|
191250
|
+
environment: "stable",
|
|
191251
|
+
autoSessionTracking: false
|
|
191239
191252
|
});
|
|
191240
191253
|
var client;
|
|
191241
191254
|
var { isTTY: isTTY2 } = process.stdout;
|
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,17 +27,17 @@
|
|
|
27
27
|
"esbuild": "0.27.0",
|
|
28
28
|
"form-data": "^4.0.0",
|
|
29
29
|
"jose": "5.9.6",
|
|
30
|
+
"@vercel/backends": "0.0.18",
|
|
30
31
|
"@vercel/build-utils": "13.2.4",
|
|
31
32
|
"@vercel/detect-agent": "1.0.0",
|
|
32
33
|
"@vercel/elysia": "0.1.15",
|
|
33
|
-
"@vercel/
|
|
34
|
-
"@vercel/express": "0.1.21",
|
|
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",
|
|
@@ -171,11 +171,11 @@
|
|
|
171
171
|
"yauzl-promise": "2.1.3",
|
|
172
172
|
"@vercel-internals/constants": "1.0.4",
|
|
173
173
|
"@vercel-internals/get-package-json": "1.0.0",
|
|
174
|
+
"@vercel-internals/types": "3.0.6",
|
|
174
175
|
"@vercel/client": "17.2.18",
|
|
175
176
|
"@vercel/error-utils": "2.0.3",
|
|
176
|
-
"@vercel/frameworks": "3.15.4",
|
|
177
|
-
"@vercel-internals/types": "3.0.6",
|
|
178
177
|
"@vercel/fs-detectors": "5.7.11",
|
|
178
|
+
"@vercel/frameworks": "3.15.4",
|
|
179
179
|
"@vercel/routing-utils": "5.3.1"
|
|
180
180
|
},
|
|
181
181
|
"scripts": {
|