scripts/db-sandbox.sh (pnpm db:sandbox): DEV images on an own network, loopback ports distinct from DEV, no volume, secrets generated outside Git; fresh and upgrade modes through the CLI's migration up, test db and gen types with --db-url. packages/supabase/tests/sandbox: M1 sign-up and confirmation, reads and refusals per role, residual GoTrue admin path, correlation cap, concurrent sessions.
38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"name": "@faunosteo/supabase",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Faunosteo Supabase access layer: typed browser client, generated database types, SQL test harness",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./types": "./src/database.types.ts"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"test": "vitest",
|
|
"test:run": "vitest run",
|
|
"lint": "eslint . --max-warnings 0",
|
|
"build": "tsc -p tsconfig.json --noEmit",
|
|
"test:e2e": "vitest run --config vitest.e2e.config.ts",
|
|
"test:sandbox": "vitest run --config vitest.sandbox.config.ts"
|
|
},
|
|
"dependencies": {
|
|
"@supabase/supabase-js": "^2.100.0",
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@electric-sql/pglite": "^0.3.0",
|
|
"@faunosteo/core-wasm": "workspace:*",
|
|
"@types/node": "^20.19.41",
|
|
"eslint": "^9.17.0",
|
|
"globals": "^15.14.0",
|
|
"typescript": "^5.7.2",
|
|
"typescript-eslint": "^8.19.0",
|
|
"vitest": "^3.2.7"
|
|
}
|
|
}
|