mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-10-01 12:23:50 +00:00
Production reads DATABASE_URL (postgres://) through @profullstack/libsql-pg, which keeps the @libsql/client surface; no query changed. A missing, non-Postgres or leftover libsql:// URL fails at boot in production. Dev and tests keep libSQL (file:/:memory:) as a devDependency. Postgres migrations in src/migrations-pg/ (converted with libsql-pg convert-schema, same file names so the copied _migrations ledger matches); migrate.mjs picks the dialect. Tests run against Postgres with PWA_TEST_DATABASE_URL. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
26 lines
707 B
JSON
26 lines
707 B
JSON
{
|
|
"name": "@logicsrc/pwa",
|
|
"version": "0.1.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "LogicSRC credentials — Express app on Postgres (@profullstack/libsql-pg): auth + end-to-end-encrypted team credential sharing.",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"start": "node src/server.mjs",
|
|
"dev": "node --watch src/server.mjs",
|
|
"migrate": "node src/migrate.mjs",
|
|
"test": "node --test"
|
|
},
|
|
"dependencies": {
|
|
"@profullstack/libsql-pg": "^0.1.2",
|
|
"@simplewebauthn/browser": "^13.3.0",
|
|
"@simplewebauthn/server": "^13.1.0",
|
|
"cookie-parser": "^1.4.7",
|
|
"express": "^4.21.2"
|
|
},
|
|
"devDependencies": {
|
|
"@libsql/client": "^0.14.0"
|
|
}
|
|
}
|