Skip to content

Commit

Permalink
Turbo (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaid-maker authored Jun 23, 2024
2 parents b57d971 + 903bf81 commit 2ec3e54
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"check-types": "tsc --noEmit",
"format": "prettier --write .",
"db:generate": "drizzle-kit generate:pg --schema db/schema.ts --out ./drizzle",
"db:migrate": "bun ./scripts/migrate.ts",
Expand Down
16 changes: 16 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://turbo.build/schema.json",
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": [".next/**", "!.next/cache/**"]
},
"check-types": {
"dependsOn": ["^check-types"]
},
"dev": {
"persistent": true,
"cache": false
}
}
}

0 comments on commit 2ec3e54

Please sign in to comment.