Commit c2cf38c
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
- docs/onboarding
- packages/cli
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments