-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate Bun Version #227
Validate Bun Version #227
Conversation
danstepanov
commented
Mar 31, 2024
🦋 Changeset detectedLatest commit: 8d52fb3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
e894b7a
to
c6c4ffc
Compare
c6c4ffc
to
fcd6b24
Compare
fcd6b24
to
e9c59b1
Compare
…n, clean up package manager detection logic, add function to fetch package manager version
e9c59b1
to
ca3521a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good, one question about the version check
if ( | ||
cliResults.flags.packageManager === 'bun' && | ||
defaultPackageManagerVersion && | ||
defaultPackageManagerVersion !== recommendedBunVersion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the user's default package manager is yarn
, is this going to match up after they chose via cli prompt to use bun
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea this kinda borks if you choose another package manager, it still reads recommendedBunVersion
and says some shit like "bet, we're gonna use yarn v20.x.x" when it actually originally read the version from npm. not sure if that's what you're referring to.