mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-06 04:22:01 +00:00
feat(turbo): add support for turbo 2 configuration (#11680)
With the release of Turborepo 2 we're renaming `pipeline` to `tasks`. This PR updates the default settings logic to look in `tasks` for a `build` task definition in addition to looking at `pipeline`. It also updates the message to no longer mention Turbo configuration in `package.json` as this is fully ignored in Turborepo 2. Added a quick unit test to verify `build` task definitions are found in the `tasks` section of `turbo.json`. Please let me know if there are other tests/places I should update.
This commit is contained in:
5
.changeset/lovely-trains-jog.md
Normal file
5
.changeset/lovely-trains-jog.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@vercel/fs-detectors': patch
|
||||
---
|
||||
|
||||
Add support for detecting Turborepo 2
|
||||
Reference in New Issue
Block a user