Skip to content

Commit

Permalink
chore: Fix Turbo config
Browse files Browse the repository at this point in the history
  • Loading branch information
franky47 committed Nov 8, 2023
1 parent 3b980c8 commit 27bedf3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"dev": "FORCE_COLOR=3 turbo run dev",
"build": "FORCE_COLOR=3 turbo run build",
"test": "FORCE_COLOR=3 turbo run test --filter=next-usequerystate,playground",
"test": "FORCE_COLOR=3 turbo run test",
"prepare": "husky install"
},
"devDependencies": {
Expand Down
18 changes: 15 additions & 3 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,24 @@
"cache": false,
"persistent": true
},
"build": {
"outputs": [".next/**", "!.next/cache/**", "dist/**"],
"next-usequerystate#build": {
"outputs": ["dist/**"]
},
"e2e#build": {
"outputs": [".next/**", "!.next/cache/**"],
"dependsOn": ["^build"]
},
"playground#build": {
"outputs": [".next/**", "!.next/cache/**"],
"dependsOn": ["^build"]
},
"test": {
"next-usequerystate#test": {
"outputs": ["dist/**", "coverage/**"],
"dependsOn": ["build"]
},
"e2e#test": {
"dependsOn": ["build"],
"outputs": ["cypress/**"]
}
}
}

0 comments on commit 27bedf3

Please sign in to comment.