Skip to content

Commit

Permalink
Fix turbo.json typecheck example (#99)
Browse files Browse the repository at this point in the history
The Turborepo docs outlining the `topo` trick specify that package tasks
should rely on the current package's `topo` task, not the dependencies
`topo` task

copy/paste from the Turborepo docs:

```json
{
  "$schema": "https://turbo.build/schema.json",
   "pipeline": {
     "topo": {
       "dependsOn": ["^topo"]
     },
     "your-task": {
       "dependsOn": ["topo"]
     }
   }
 }
```
  • Loading branch information
br0p0p authored Dec 25, 2023
1 parent 78e2f7c commit e545383
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Now, we'll build our Turborepo pipeline with two important characteristics.
"dependsOn": ["^topo"]
},
"typecheck": {
"dependsOn": ["^topo"],
"dependsOn": ["topo"],
"outputs": ["node_modules/.cache/tsbuildinfo.json"]
}
}
Expand Down

1 comment on commit e545383

@vercel
Copy link

@vercel vercel bot commented on e545383 Dec 25, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

maestros – ./

maestros-team-shew.vercel.app
maestros-git-main-team-shew.vercel.app
www.shew.dev
shew.dev

Please sign in to comment.