packages/supabase assets module: closed AssetFailure kinds, begin / quarantine upload (upsert off) / confirm / remove, own-row state read with an explicit column list, download under the SELECT policy. App: client transport (magic byte sniff, never SVG, createImageBitmap, canvas 1024 px, JPEG 0.9, 5 MiB cap), AvatarSection (preview, save, 1 s polling up to 30 s, rejection and failure messages per closed code, removal with confirmation, in-flight row resumed at mount), auth store blob URL revoked on change and sign-out, AvatarCircle in UserBadge and the top bar link to Mon compte (D3), FR/EN strings, fake client extended, 27 new tests (app 300).
38 lines
1.0 KiB
JSON
38 lines
1.0 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",
|
|
"assets:upload": "node scripts/upload-sheet-assets.ts"
|
|
},
|
|
"dependencies": {
|
|
"@faunosteo/domain": "workspace:*",
|
|
"@supabase/supabase-js": "^2.100.0",
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@electric-sql/pglite": "^0.3.0",
|
|
"@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"
|
|
}
|
|
}
|