Skip to content

Commit

Permalink
Update turbo to v2 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
imxeno authored Jun 26, 2024
1 parent 8a8bfa4 commit 91517a9
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 28 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"turbo": "^1.13.2",
"turbo": "^2.0.5",
"typescript": "^5.4.5"
},
"packageManager": "pnpm@8.15.6+sha256.01c01eeb990e379b31ef19c03e9d06a14afa5250b82e81303f88721c99ff2e6f"
Expand Down
44 changes: 22 additions & 22 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 17 additions & 5 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"tasks": {
"build": {
"dependsOn": ["^db:generate"],
"outputs": ["dist/**"]
"dependsOn": [
"^db:generate"
],
"outputs": [
"dist/**"
]
},
"db:generate": {
"outputs": ["prisma/client/**"]
"outputs": [
"prisma/client/**"
]
},
"lint": {},
"lint:fix": {},
"format": {},
"format:fix": {},
"dev": { "dependsOn": ["^db:generate"], "cache": false, "persistent": true }
"dev": {
"dependsOn": [
"^db:generate"
],
"cache": false,
"persistent": true
}
}
}

0 comments on commit 91517a9

Please sign in to comment.