-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Remove yarn in favor of npm #2443
Conversation
🦋 Changeset detectedLatest commit: 20fc448 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
@@ -37,7 +37,7 @@ jobs: | |||
run: | | |||
version=$(jq -r .version package.json) | |||
echo "$( jq ".version = \"$(echo $version)-rc.$(git rev-parse --short HEAD)\"" package.json )" > package.json | |||
yarn publish --tag next | |||
npm publish --tag next |
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.
Is this the correct publish command?
I can't seem to get gatsby to play along here, @lukasoppermann since you did the primitives change, do you have ideas? |
I can't get this to work with the docs folder :( |
What are you trying to accomplish?
This aligns the packaging tools we use here with the other libraries
primer/react, primer/view_components
. We dropped yarn in those libraries in favor of npm.What approach did you choose and why?
When we chose yarn a while back it had features that appealed to us that npm didn't have, but since then they've become feature complete. Npm is the easier choice then because it's more standard.
What should reviewers focus on?
Did I miss any
yarn
statements?Can these changes ship as is?