Skip to content
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

Merged
merged 4 commits into from
Apr 1, 2024
Merged

Validate Bun Version #227

merged 4 commits into from
Apr 1, 2024

Conversation

danstepanov
Copy link
Collaborator

Screenshot 2024-03-31 at 2 28 17 PM

Copy link

changeset-bot bot commented Mar 31, 2024

🦋 Changeset detected

Latest commit: 8d52fb3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
create-expo-stack 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

Copy link

vercel bot commented Mar 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
create-expo-stack-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 31, 2024 10:24pm
create-expo-stack-landing-page ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 31, 2024 10:24pm

…n, clean up package manager detection logic, add function to fetch package manager version
Copy link
Collaborator

@frankcalise frankcalise left a 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
Copy link
Collaborator

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?

Copy link
Collaborator Author

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.

@danstepanov danstepanov merged commit 00da55e into main Apr 1, 2024
4 of 5 checks passed
@danstepanov danstepanov deleted the enhancement/validate-bun-version branch April 2, 2024 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants