-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat: auto-detect package manager in create fuels
#3503
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This PR is published in NPM with version 0.0.0-pr-3503-20241226031927 |
CodSpeed Performance ReportMerging #3503 will degrade performances by 23.41%Comparing Summary
Benchmarks breakdown
|
Coverage Report:
Changed Files:
|
let packageManager: PackageManager | undefined = cliChosenPackageManagerSelected[0]; | ||
if (cliChosenPackageManagerSelected.length > 1) { | ||
warn('More than one package manager was selected.'); | ||
if (userAgent.startsWith('pnpm')) { |
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.
Nit, please store package manager strings as constants
} | ||
|
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.
console.warn
here if the package users package manager is not supported and we default to npm
?
create fuels
#3488Release notes
In this release, we:
create fuels
Summary
create fuels
now auto-detects the user's package manger. eg.bun create fuels
will now usebun
to install dependencies.Breaking Changes
These package manager flags have been removed since they are not needed anymore:
--bun
,--pnpm
,--npm
Before
After
Checklist