-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 <anthony.shew@vercel.com>
- Loading branch information
1 parent
29aeaf0
commit 4471f2d
Showing
6 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
turborepo-tests/integration/tests/lockfile-aware-caching/setup.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters