Skip to content

Commit a899ca1

Browse files
chore(cli-engine): bump to 0.6.0 and carry the engine transition exceptions forward
0.5.0 reached the registry after #233, so the changed engine ships under 0.6.0. The recorded engine-pin exceptions move with it: they expire when the families release peering 0.6.0 and the follow-up bump pins those releases. The conformance task now also depends on the prisma package build. The import-purity sweep reads packages/prisma/dist, but nothing in the shell depends on that package, so turbo could run the sweep before the build finished and report that no built JavaScript was swept. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: willbot <w.a.madden+machine@gmail.com> Signed-off-by: Will Madden <madden@prisma.io>
1 parent 6732d49 commit a899ca1

6 files changed

Lines changed: 16 additions & 14 deletions

File tree

‎packages/cli-engine/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@prisma/cli-engine",
3-
"version": "0.5.0",
3+
"version": "0.6.0",
44
"description": "The execution engine of the unified Prisma CLI.",
55
"type": "module",
66
"exports": {

‎packages/cli/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"dependencies": {
5151
"@manypkg/tools": "^2.1.2",
52-
"@prisma/cli-engine": "workspace:0.5.0",
52+
"@prisma/cli-engine": "workspace:0.6.0",
5353
"@prisma/composer-cli": "0.21.0",
5454
"@prisma/compute-sdk": "0.42.0",
5555
"@prisma/management-api-sdk": "1.69.0",

‎packages/cli/scripts/conformance.ts‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,25 +113,25 @@ async function tarball(): Promise<readonly Finding[]> {
113113
// in flight: the engine must publish before a family can peer it,
114114
// so the mismatch is real until both families release against it.
115115
// The entries expire with the versions they name, and the PR that
116-
// pins the families' 0.5.0-peering releases removes them; while
116+
// pins the families' 0.6.0-peering releases removes them; while
117117
// they stand, a release could ship the two-engine install they
118118
// describe, which is why they must not outlive the transition.
119119
exceptions: [
120120
{
121121
familyPackage: "@prisma/composer-cli",
122122
familyPin: "0.4.0",
123-
shellPin: "0.5.0",
124-
reason: "engine 0.5.0 must publish before composer-cli can peer it",
123+
shellPin: "0.6.0",
124+
reason: "engine 0.6.0 must publish before composer-cli can peer it",
125125
removeWhen:
126-
"composer-cli releases peering 0.5.0 and the follow-up bump PR pins that release",
126+
"composer-cli releases peering 0.6.0 and the follow-up bump PR pins that release",
127127
},
128128
{
129129
familyPackage: "@prisma/orm-toolchain",
130130
familyPin: "0.4.0",
131-
shellPin: "0.5.0",
132-
reason: "engine 0.5.0 must publish before orm-toolchain can peer it",
131+
shellPin: "0.6.0",
132+
reason: "engine 0.6.0 must publish before orm-toolchain can peer it",
133133
removeWhen:
134-
"orm-toolchain releases peering 0.5.0 and the follow-up bump PR pins that release",
134+
"orm-toolchain releases peering 0.6.0 and the follow-up bump PR pins that release",
135135
},
136136
],
137137
channel: CHANNEL,

‎packages/prisma/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
},
5151
"dependencies": {
5252
"@manypkg/tools": "^2.1.2",
53-
"@prisma/cli-engine": "workspace:0.5.0",
53+
"@prisma/cli-engine": "workspace:0.6.0",
5454
"@prisma/composer-cli": "0.21.0",
5555
"@prisma/compute-sdk": "0.42.0",
5656
"@prisma/management-api-sdk": "1.69.0",

‎pnpm-lock.yaml‎

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

‎turbo.json‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@
4949
"conformance": {
5050
// Packs and installs the real tarballs, so never cached; the
5151
// package's own build is a dependency because the entry reads
52-
// dist/ before packing rebuilds it.
53-
"dependsOn": ["build"],
52+
// dist/ before packing rebuilds it, and so is the prisma
53+
// package's, whose dist/ the import-purity sweep reads too but
54+
// which nothing here depends on.
55+
"dependsOn": ["build", "prisma#build"],
5456
"cache": false,
5557
// turbo passes only declared variables to a task, and the
5658
// dev-build check answers differently per channel. Undeclared, it

0 commit comments

Comments
 (0)