Update e2e config, package.json, and database schema
The e2e test configuration has been modified to take screenshots only on failure and the dev server code has been adjusted for better project directory handling. The "supabase:reset" command in package.json no longer starts the server after reset. Default roles 'owner' and 'member' are also now seeded into the roles table, and constraints in the roles table and its associated functions have been updated to manage hierarchy levels and role naming more effectively.
This commit is contained in:
@@ -19,14 +19,15 @@
|
||||
"with-env:test": "dotenv -e ./.env.test --",
|
||||
"supabase:start": "supabase status || supabase start",
|
||||
"supabase:stop": "supabase stop",
|
||||
"supabase:reset": "supabase db reset || supabase start",
|
||||
"supabase:reset": "supabase db reset",
|
||||
"supabase:status": "supabase status",
|
||||
"supabase:test": "supabase db test",
|
||||
"supabase:db:lint": "supabase db lint",
|
||||
"supabase:deploy": "supabase link --project-ref $SUPABASE_PROJECT_REF && supabase db push",
|
||||
"supabase:typegen": "pnpm run supabase:typegen:packages && pnpm run supabase:typegen:app",
|
||||
"supabase:typegen:packages": "supabase gen types typescript --local > ../../packages/supabase/src/database.types.ts",
|
||||
"supabase:typegen:app": "supabase gen types typescript --local > ./lib/database.types.ts"
|
||||
"supabase:typegen:app": "supabase gen types typescript --local > ./lib/database.types.ts",
|
||||
"supabase:db:dump:local": "supabase db dump --local --data-only"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hookform/resolvers": "^3.3.4",
|
||||
|
||||
Reference in New Issue
Block a user