Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: warn when no local turbo found (#8356)
### Description Warn a user if they do not have a local turbo install as it might be an incorrect version for their project. ### Testing Instructions ``` [0 olszewski@Chriss-MacBook-Pro] /tmp/foo $ turbo_dev --version 2.0.2-canary.1 [0 olszewski@Chriss-MacBook-Pro] /tmp/foo $ pnpm rm turbo Packages: -2 -- Progress: resolved 1, reused 1, downloaded 0, added 0, done dependencies: - turbo 2.0.2-canary.1 Done in 366ms [0 olszewski@Chriss-MacBook-Pro] /tmp/foo $ turbo_dev --version No local turbo found. Using global turbo version 2.0.2-canary.1 2.0.2-canary.1 ``` Integration tests show that the disabled env flag works. (Otherwise they would all have this warning) --------- Co-authored-by: Anthony Shew <[email protected]>
- Loading branch information