vercel 34.2.4 → 34.2.5

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -6
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -131076,10 +131076,9 @@ var require_get_monorepo_default_settings = __commonJS2({
131076
131076
  var import_json5 = __toESM4(require_lib21());
131077
131077
  var import_semver4 = __toESM4(require_semver2());
131078
131078
  var MissingBuildPipeline2 = class extends Error {
131079
- constructor() {
131080
- super(
131081
- "Missing required `build` pipeline in turbo.json or package.json Turbo configuration."
131082
- );
131079
+ constructor(usesTasks) {
131080
+ const message2 = usesTasks ? "Missing required `build` task in turbo.json." : "Missing required `build` pipeline in turbo.json or package.json Turbo configuration.";
131081
+ super(message2);
131083
131082
  }
131084
131083
  };
131085
131084
  var MissingBuildTarget2 = class extends Error {
@@ -131115,10 +131114,12 @@ var require_get_monorepo_default_settings = __commonJS2({
131115
131114
  detectorFilesystem.readFile("package.json").catch(() => null)
131116
131115
  ]);
131117
131116
  let hasBuildPipeline = false;
131117
+ let hasTurboTasks = false;
131118
131118
  let turboSemVer = null;
131119
131119
  if (turboJSONBuf !== null) {
131120
131120
  const turboJSON = import_json5.default.parse(turboJSONBuf.toString("utf-8"));
131121
- if (turboJSON?.pipeline?.build) {
131121
+ hasTurboTasks = "tasks" in (turboJSON || {});
131122
+ if (turboJSON?.pipeline?.build || turboJSON?.tasks?.build) {
131122
131123
  hasBuildPipeline = true;
131123
131124
  }
131124
131125
  }
@@ -131130,7 +131131,7 @@ var require_get_monorepo_default_settings = __commonJS2({
131130
131131
  turboSemVer = packageJSON?.dependencies?.turbo || packageJSON?.devDependencies?.turbo || null;
131131
131132
  }
131132
131133
  if (!hasBuildPipeline) {
131133
- throw new MissingBuildPipeline2();
131134
+ throw new MissingBuildPipeline2(hasTurboTasks);
131134
131135
  }
131135
131136
  if (projectPath === "/") {
131136
131137
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "34.2.4",
3
+ "version": "34.2.5",
4
4
  "preferGlobal": true,
5
5
  "license": "Apache-2.0",
6
6
  "description": "The command-line interface for Vercel",
@@ -25,7 +25,7 @@
25
25
  "@vercel/fun": "1.1.0",
26
26
  "@vercel/go": "3.1.1",
27
27
  "@vercel/hydrogen": "1.0.2",
28
- "@vercel/next": "4.2.14",
28
+ "@vercel/next": "4.2.15",
29
29
  "@vercel/node": "3.1.6",
30
30
  "@vercel/python": "4.3.0",
31
31
  "@vercel/redwood": "2.0.9",
@@ -85,7 +85,7 @@
85
85
  "@vercel/client": "13.2.8",
86
86
  "@vercel/error-utils": "2.0.2",
87
87
  "@vercel/frameworks": "3.0.2",
88
- "@vercel/fs-detectors": "5.2.3",
88
+ "@vercel/fs-detectors": "5.2.4",
89
89
  "@vercel/routing-utils": "3.1.0",
90
90
  "@vitest/expect": "1.4.0",
91
91
  "ajv": "6.12.2",