fix(db): bundle the reviewed PostgreSQL driver for npm consumers

This commit is contained in:
Dotta committed 2026-11-14 07:07:10 -06:00
1 parent 2fa6ce99c1
commit d2d515b4af
2 files changed
+12 -2

No files matched your search

+9
View File
@@ -1,5 +1,14 @@
# Database
### Published PostgreSQL driver
`@paperclipai/db` bundles its exact reviewed `postgres` version. The normal
`scripts/prepare-bundled-package.mjs` staging step applies the tracked driver
patch before packing the package. This delivers the same connection lifecycle
and queue fixes to npm consumers that the workspace receives through pnpm.
When updating the driver, update its exact version and tracked patch together,
then verify the staged and normally installed driver payloads.
### Better Auth 1.7.16 upgrade
Better Auth 1.7.3 and later identify accounts by `provider_id` and `account_id`.
+3 -2
View File
@@ -35,7 +35,8 @@
"dist"
],
"bundleDependencies": [
"embedded-postgres"
"embedded-postgres",
"postgres"
],
"scripts": {
"check:migrations": "tsx src/check-migration-numbering.ts && tsx src/check-migration-safety.ts && tsx scripts/migration-compatibility.ts --check",
@@ -51,7 +52,7 @@
"@paperclipai/shared": "workspace:*",
"drizzle-orm": "^0.45.2",
"embedded-postgres": "^18.1.0-beta.16",
"postgres": "^3.4.9"
"postgres": "3.4.9"
},
"devDependencies": {
"@types/node": "^24.0.0",