Skip to content

Commit

Permalink
feat: refactor get env in turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
bjohansebas committed Aug 7, 2024
1 parent ce359fa commit 2d54240
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,32 @@
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": [".env"],
"tasks": {
"build": {
"dependsOn": ["^db:generate", "^build"],
"outputs": ["!.next/cache/**", ".next/**", "dist/**"]
"outputs": ["!.next/cache/**", ".next/**", "dist/**"],
"inputs": [".env"]
},
"dev": {
"dependsOn": ["^db:generate"],
"cache": false,
"persistent": true
"persistent": true,
"inputs": [".env"]
},
"clean": {
"cache": false
},
"lint": {},
"db:generate": {
"cache": false
"cache": false,
"inputs": [".env"]
},
"db:push": {
"cache": false
"cache": false,
"inputs": [".env"]
},
"db:deploy": {
"cache": false
"cache": false,
"inputs": [".env"]
}
},
"ui": "tui"
Expand Down

0 comments on commit 2d54240

Please sign in to comment.