chore: format prisma schemas (#4224)
Creating a Prisma migration now formats its schema first, keeping migration-related schema edits consistently formatted without adding work to the repository-wide format command. Run `pnpm run format:prisma` to format either schema on demand.
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
"i:dev": "infisical run -- turbo run dev",
|
||||
"generate": "turbo run generate",
|
||||
"format": "oxfmt .",
|
||||
"format:prisma": "pnpm --filter @trigger.dev/database run format:prisma && pnpm --filter @internal/run-ops-database run format:prisma",
|
||||
"lint": "oxlint",
|
||||
"lint:fix": "oxlint --fix",
|
||||
"docker": "node scripts/docker.mjs -f docker/docker-compose.yml up -d --build --remove-orphans",
|
||||
|
||||
Reference in New Issue
Block a user