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

feat: use yarn #135

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MichaelGoberling
Copy link
Contributor

  • Update readme docs to use yarn instead of npm
  • Update yarn to 4.4.0

yarn install
```

1. Run a development build:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you take a look at package.json, it already has commands that are wrappers around yarn. Do you think it makes sense to expose yarn commands separately and use them instead of the commands specified in package.json?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yarn does run the scripts from package.json

For instance yarn dev runs the "dev": ... script, yarn build runs "build": ... and so on

You can confirm by running yarn dev --help, first line will be gatsby develop which is the script command

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.

2 participants