Skip to content

Commit

Permalink
chore(meta): remove unnecessary npx usage when using nx:run-commands
Browse files Browse the repository at this point in the history
  • Loading branch information
tsa96 committed Jul 12, 2024
1 parent 1a3dc1f commit 18286c2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libs/db/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,35 @@
"format": {
"executor": "nx:run-commands",
"options": {
"command": "npx prisma format",
"command": "prisma format",
"cwd": "libs/db/src"
}
},
"push": {
"executor": "nx:run-commands",
"options": {
"command": "npx prisma db push --accept-data-loss",
"command": "prisma db push --accept-data-loss",
"cwd": "libs/db/src"
}
},
"generate": {
"executor": "nx:run-commands",
"options": {
"command": "npx prisma generate",
"command": "prisma generate",
"cwd": "libs/db/src"
}
},
"create-migration": {
"executor": "nx:run-commands",
"options": {
"command": "npx prisma migrate dev --skip-seed --name",
"command": "prisma migrate dev --skip-seed --name",
"cwd": "libs/db/src"
}
},
"studio": {
"executor": "nx:run-commands",
"options": {
"command": "npx prisma studio",
"command": "prisma studio",
"cwd": "libs/db/src"
}
}
Expand Down

0 comments on commit 18286c2

Please sign in to comment.