Repository navigation
fix(orm-sqlite): declare arktype, which the runtime entrypoint imports - #31051
Conversation
Since #30990 dist/runtime.mjs imports arktype, but the package did not declare it, so the release conformance check refused to publish 8.0.0-rc.24. @prisma/orm-postgres and @prisma/orm-mysql already declare it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Steven McClankerton <[email protected]>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
…ptions import it The shell build derives @prisma/orm-sqlite's dependencies from the internal packages it bundles, so the public package can only declare arktype once @internal/sqlite does. The postgres and mysql facades already declare it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Steven McClankerton <[email protected]>
@prisma/orm-extension-arktype-json
@prisma/orm-extension-middleware-cache
@prisma/orm-extension-paradedb
@prisma/orm-extension-pgvector
@prisma/orm-extension-postgis
@prisma/orm-extension-supabase
@prisma/orm-family-mongo
@prisma/orm-family-sql
@prisma/orm-framework
@prisma/orm-mariadb
@prisma/orm-mongo
@prisma/orm-mysql
@prisma/orm-postgres
@prisma/orm-postgres-contrib
@prisma/orm-sqlite
@prisma/orm-target-mariadb
@prisma/orm-target-mongo
@prisma/orm-target-mysql
@prisma/orm-target-postgres
@prisma/orm-target-sqlite
@prisma/orm-toolchain
commit: |
size-limit report 📦
|
…xtension changes Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Steven McClankerton <[email protected]>
…isma#31052) ## Linked issue n/a — small change. Stacked on prisma#31051; GitHub retargets it to `main` when that merges. ## Summary prisma#31051 has to add a pending extension fragment, because PR-mode `check:upgrade-coverage` requires a new declaration for any change under `packages/3-targets/*/9-facade/`. The `Publish to npm` run for 8.0.0-rc.24 checks in publish mode, which refuses while any pending fragment remains. This moves that fragment, which declares no changes, into `upgrade-instructions/releases/8.0.0-rc.23-to-8.0.0-rc.24/sources/`, so the rc.24 publish can be dispatched from `main` after both PRs merge. The rc.24 guides do not change. ## Testing performed - `node scripts/check-upgrade-coverage.mjs --mode pr --prev fix/orm-sqlite-arktype-dep --head HEAD`: OK. - `node scripts/check-upgrade-coverage.mjs --mode publish --prev v8.0.0-rc.23 --head HEAD`: OK. On prisma#31051 alone it reports `[pending-release]` for this fragment. ## Skill update n/a — no user-facing surface changes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit - **Documentation** - The SQLite/ArkType dependency upgrade instructions are now located with the 8.0.0-rc.23-to-8.0.0-rc.24 release materials. The instructions’ content is unchanged, and no application behavior is affected. Existing guidance remains the same; only its location in the upgrade documentation has changed. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Steven McClankerton <[email protected]> Co-authored-by: Steven McClankerton <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
Linked issue
n/a — small change. Blocks publishing 8.0.0-rc.24: the release run https://github.com/prisma/orm/actions/runs/43892755170 after #31047 stopped at "Run conformance checks".
Summary
Since #30990,
@prisma/orm-sqlite'sdist/runtime.mjsimportsarktype, but the package does not declare it, socheck:conformancereports[import-purity/undeclared] @prisma/orm-sqlite (dist/runtime.mjs)and the publish refuses. The import comes from@internal/sqlite(src/runtime/transaction-options.ts), which does not declarearktypeeither, and the shell build only accepts a public dependency that a bundled internal package declares. This addsarktype: catalog:to both@internal/sqliteand@prisma/orm-sqlite, as the postgres and mysql facades and public packages already have.The facade change needs a new pending extension declaration (
upgrade-instructions/pending/sqlite-arktype-dep/extension,changes: []). The publish refuses while a pending fragment remains, so #31052 (stacked on this) archives it into rc.24.After both merge, 8.0.0-rc.24 needs a
Publish to npmdispatch frommainwithdist-tag=latestanddry-run=false(the recovery path indocs/oss/versioning.md).Testing performed
pnpm check:conformancewithout the change: reports the undeclaredarktypeimport. With the change: OK.pnpm --filter @internal/sqlite --filter @prisma/orm-sqlite build: succeeds (the shell manifest check passes).pnpm check:upgrade-coverage --mode pr: OK.Skill update
n/a — no user-facing surface changes.
🤖 Generated with Claude Code
Summary by CodeRabbit