-
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: add scaffolding CLI tool #1408
Conversation
This PR is published in NPM with version 0.0.0-pr-1408-20231218152827 |
Co-authored-by: Anderson Arboleya <[email protected]>
Co-authored-by: Anderson Arboleya <[email protected]>
Co-authored-by: Anderson Arboleya <[email protected]>
This reverts commit a24b277.
Co-authored-by: Anderson Arboleya <[email protected]>
…1520) * docs: Updated high-level doc links in README files * docs: updating "/guide/" based doc hyperlinks * docs: update "/sway/" and "/forc/" related doc urls * docs: update "fuels-rs" doc links * docs: update quickstart doc links * docs: updated the quickstart docs link * docs: added the changeset --------- Co-authored-by: Anderson Arboleya <[email protected]>
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.
Still going throught the review process:
::: code-group | ||
|
||
```sh [pnpm] | ||
pnpm create fuels |
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.
Please run the command with the pr release tag like I mentioned here: https://fuellabs.slack.com/archives/C04LVA1UF7X/p1702913792062199
If you don't use the pr release tag, it uses the first, old cached version
# (Make sure you cd into your new project directory first!) | ||
pnpm install | ||
|
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.
Same as the previous comment. Please use the pr release tag and it should work fine
Closing this one since a lot of unwanted commits got included because of changing the base branch twice. Opening a new one soon. |
Summary
This PR adds a new scaffold CLI tool that lets devs get started with a new full-stack Fuel project quickly by running:
pnpm create fuels
There are lot of file changes but most of them are just Node version corrections in all the
package.json
s. The ones you have to review are the new packagecreate-fuels
and the template inside the foldertemplate/nextjs
.Demo of the resulting scaffolded project
Screen.Recording.2023-12-01.at.1.32.52.AM.mov
^ This is what the users will get once they have run
pnpm create fuels
Supports:
Closes #1330
Closes #1522