-
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
chore: remove some choices from create-fuels
CLI
#2444
chore: remove some choices from create-fuels
CLI
#2444
Conversation
This PR is published in NPM with version 0.0.0-pr-2444-20240618181855 |
Is there an issue we can link this PR to? |
@arboleya I don't think there is one. This just started off as a quick draft at the offsite without an issue. I will create one. |
….com/FuelLabs/fuels-ts into dp/create-fuels-remove-extra-choices
@Dhaiwat10 are these not the issues you seek? |
@Dhaiwat10 As @petertonysmith94 said here, I think these are the original issues:
Maybe you can close #2508 in favor of these or vice versa. Or close them all with the PR. |
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.
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.
LGTM!
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 good, left one minor comment
Coverage Report:
Changed Files:
|
* remove some choices * enable pr release * delete unnecessary files, make npm default * fix merge conflicts * remove old exports * fix lint errors * add changeset * fix changeset * fix test * fix lint errors * fix lint error * remove outdated test * fix failing test, remove unnecessary awaits * remove asyncs * remove from docs * remove env vars, fix up tests * disable pr release --------- Co-authored-by: Peter Smith <peter@blueoceancomputing.co.uk> Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com>
Summary
This PR removes two choices from the
create-fuels
CLI which we now deem unnecessary.1. Package Manager
The CLI will just use
npm
as the default from now on. I tried to add some logic that would detect the package manager used by the user to call the command but have not find a reliable solution yet. Follow up #2552.Users can still explicitly specify if they want to use a specific package manager by flags like
--bun
,--pnpm
2. Programs to include
From now on we will just give our users all three programs included in the template, instead of giving them a choice when the CLI is run. If they want only one or two, they can easily delete the rest themselves.
create-fuels
CLI #2508