blitz
blitz copied to clipboard
CLI Version check fixes
Closes: #3566 #3565
What are the changes and their implications?
- Fix types
- Add a
getGlobalPkgManagerhelper function - Run update check only on
blitz new - Remove checking local package manager
The issue before regarding noop is because when running blitz new it wasn't able to find the local package manager. But now with getGlobalPkgManager helper function we can determine if the user is using pnpm or yarn globally.
Bug Checklist
- [ ] Integration test added (see test docs if needed)
Feature Checklist
- [ ] Integration test added (see test docs if needed)
🦋 Changeset detected
Latest commit: 18d0a5b3c6dcbbc18d23cc8cbfbf783cc34de807
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 7 packages
| Name | Type |
|---|---|
| blitz | Patch |
| @blitzjs/auth | Patch |
| @blitzjs/next | Patch |
| @blitzjs/rpc | Patch |
| @blitzjs/codemod | Patch |
| @blitzjs/config | Patch |
| @blitzjs/generator | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR