blitz icon indicating copy to clipboard operation
blitz copied to clipboard

CLI Version check fixes

Open Zeko369 opened this issue 3 years ago • 1 comments

Closes: #3566 #3565

What are the changes and their implications?

  • Fix types
  • Add a getGlobalPkgManager helper 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)

Zeko369 avatar Aug 05 '22 06:08 Zeko369

🦋 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

changeset-bot[bot] avatar Aug 05 '22 06:08 changeset-bot[bot]