Skip to content

Commit

Permalink
build: configure turbo output by workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanofa committed Nov 24, 2023
1 parent 7aecbea commit 9f10823
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 25 deletions.
8 changes: 8 additions & 0 deletions apps/website/turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": ["//"],
"pipeline": {
"build": {
"outputs": ["dist/**"]
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"prettier": "^3.1.0",
"prettier-plugin-astro": "^0.12.2",
"tsconfig": "workspace:*",
"turbo": "^1.10.15"
"turbo": "^1.10.16"
},
"packageManager": "[email protected]"
}
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.

3 changes: 1 addition & 2 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"globalDependencies": ["**/.env.*local"],
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**", "!.next/cache/**"]
"dependsOn": ["^build"]
},
"check-exports": {
"dependsOn": ["build"]
Expand Down

0 comments on commit 9f10823

Please sign in to comment.