Skip to content

Commit

Permalink
Limit the cache inputs for the docs rss and schema tasks (#4640)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehulkar committed Apr 19, 2023
1 parent 9270ef6 commit 19277c0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
7 changes: 6 additions & 1 deletion docs/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,17 @@
"dependsOn": ["^build", "rss", "schema"]
},
"dev": {
"dependsOn": ["schema"]
"dependsOn": ["schema"],
"persistent": true,
"cache": false
},
"schema": {
"inputs": [], // None of the files in this workspace matter
"dependsOn": ["@turbo/types#topo"],
"outputs": ["public/schema.json"]
},
"rss": {
"inputs": ["pages/blog/**", "scripts/generate-rss.js"],
"outputs": ["public/feed.xml"]
}
}
Expand Down
8 changes: 8 additions & 0 deletions packages/turbo-types/turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": ["//"],
"pipeline": {
// This task exists so the docs workspace
// can watch this workspace for file changes.
"topo": {}
}
}
3 changes: 0 additions & 3 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
"check-types": {
"dependsOn": ["^build"]
},
"dev": {
"cache": false
},
"//#build:ts": {
"outputs": ["packages/**/dist"]
},
Expand Down

1 comment on commit 19277c0

@vercel
Copy link

@vercel vercel bot commented on 19277c0 Apr 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.