Skip to content

Commit c2cf38c

Browse files
deps(cli): composer 0.6.0-dev.16, and the node floor follows it down
composer 0.6.0-dev.16 pins @prisma/cli-engine 0.0.9, the first published engine carrying `installsPackages` on CommandDefinition. That is what the mount in packages/cli/src/v8/cli.ts needs, so `pnpm typecheck` goes from failing to clean with no change to the mount itself. dev.16 also drops composer's own Node requirement from >=24 to >=22.18.0. This branch had raised @prisma/cli to >=24 only because composer demanded it, so that raise and everything it dragged along come back down: - packages/cli/package.json engines: >=24 -> >=22.18.0, matching composer exactly. - root package.json engines: >=24 -> >=22.18.0. Not the >=22.13.0 it was before, because the workspace has to be developable against its highest package floor, and that is now @prisma/cli at 22.18.0. - .node-version: back to 22.22.3, the version main still uses, which satisfies every floor in the repo. - CONTRIBUTING.md, README.md, docs/onboarding/getting-started.md and packages/cli/README.md: "Node.js 24 or newer" -> "Node.js 22.18 or newer". @prisma/cli-engine keeps its own >=22.12.0. composer depends on the engine, so raising the engine's floor would push that floor back onto composer through the dependency. CI needs no change. The workflows reading .node-version follow it back to 22.22.3, and test.yml, test-e2e.yml and publish-compute.yml pin node-version: 24 directly, which predates this branch and still satisfies every floor. An install still resolves two engine copies, not one: the packed CLI depends on @prisma/cli-engine 8.0.0-rc.1, its own workspace build, while composer pins the published 0.0.9. Two exact pins on two release lines cannot dedupe, so dev.16's move from 0.0.7 to 0.0.9 does not change the count. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: willbot <w.a.madden+machine@gmail.com> Signed-off-by: Will Madden <madden@prisma.io>
1 parent d5e4527 commit c2cf38c

8 files changed

Lines changed: 21 additions & 18 deletions

File tree

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
24.19.0
1+
22.22.3

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ is unclear, update the relevant product doc before changing the command surface.
1010

1111
Requirements:
1212

13-
- Node.js 24 or newer
13+
- Node.js 22.18 or newer
1414
- pnpm 10
1515

1616
Install dependencies:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pnpm prisma app deploy
4747

4848
Requirements:
4949

50-
- Node.js 24 or newer
50+
- Node.js 22.18 or newer
5151
- pnpm 10+
5252

5353
Install dependencies:

docs/onboarding/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This guide gets a local checkout ready for CLI development.
44

55
## Requirements
66

7-
- Node.js 24 or newer
7+
- Node.js 22.18 or newer
88
- pnpm 10
99

1010
## Install

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "8.0.0-rc.1",
44
"private": true,
55
"engines": {
6-
"node": ">=24"
6+
"node": ">=22.18.0"
77
},
88
"packageManager": "pnpm@11.6.0",
99
"scripts": {

packages/cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ npx prisma-cli app promote <deployment-id>
104104

105105
## Beta notes
106106

107-
- Requires Node.js 24 or newer.
107+
- Requires Node.js 22.18 or newer.
108108
- This is a beta package and may change quickly.
109109
- Official beta releases publish as `@prisma/cli`.
110110
- The package binary is `prisma-cli`, not `prisma`, during beta.

packages/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"access": "public"
1919
},
2020
"engines": {
21-
"node": ">=24"
21+
"node": ">=22.18.0"
2222
},
2323
"keywords": [
2424
"prisma",
@@ -47,7 +47,7 @@
4747
"dependencies": {
4848
"@clack/prompts": "1.5.0",
4949
"@prisma/cli-engine": "workspace:8.0.0-rc.1",
50-
"@prisma/composer": "0.6.0-dev.15",
50+
"@prisma/composer": "0.6.0-dev.16",
5151
"@prisma/compute-sdk": "0.39.0",
5252
"@prisma/credentials-store": "^7.8.0",
5353
"@prisma/management-api-sdk": "1.55.0",

pnpm-lock.yaml

Lines changed: 13 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)