Skip to content

Commit

Permalink
fix: prisma on build (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmbanan666 authored Aug 25, 2024
1 parent 8d783fe commit ee45669
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"type": "module",
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"build": "prisma generate && nuxt build",
"dev": "prisma generate && nuxt dev",
"preview": "nuxt preview",
"clean": "rm -rf dist",
"clean:modules": "rm -rf .turbo .nuxt node_modules",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"build": "turbo build",
"dev": "dotenv -- turbo dev --parallel",
"dev:website": "dotenv -- pnpm --filter @chat-game/website dev",
"db:generate": "dotenv -- pnpm --filter @chat-game/website db:generate",
"lint": "turbo lint --",
"lint:fix": "turbo lint:fix",
"clean": "turbo clean",
Expand Down
3 changes: 1 addition & 2 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"globalDependencies": ["**/.env.*local"],
"tasks": {
"build": {
"dependsOn": ["^db:generate","^build"],
"dependsOn": ["^build"],
"outputs": [".output/**", "dist/**"]
},
"dev": {
"dependsOn": ["^db:generate"],
"cache": false
},
"lint": {},
Expand Down

0 comments on commit ee45669

Please sign in to comment.