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

Remove yarn in favor of npm #2443

Merged
merged 23 commits into from
Jul 13, 2023
Merged

Remove yarn in favor of npm #2443

merged 23 commits into from
Jul 13, 2023

Conversation

jonrohan
Copy link
Member

@jonrohan jonrohan commented May 12, 2023

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?

  • Yes, this PR does not depend on additional changes. 🚢

@jonrohan jonrohan requested a review from a team as a code owner May 12, 2023 16:44
@jonrohan jonrohan requested a review from simurai May 12, 2023 16:44
@changeset-bot
Copy link

changeset-bot bot commented May 12, 2023

🦋 Changeset detected

Latest commit: 20fc448

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/css Patch

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
Copy link
Member Author

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?

@jonrohan jonrohan requested a review from langermank May 12, 2023 16:46
@jonrohan
Copy link
Member Author

I can't seem to get gatsby to play along here, @lukasoppermann since you did the primitives change, do you have ideas?

@jonrohan
Copy link
Member Author

jonrohan commented Jun 8, 2023

I can't get this to work with the docs folder :(

@jonrohan jonrohan closed this Jun 8, 2023
@langermank langermank reopened this Jul 13, 2023
@langermank langermank temporarily deployed to github-pages July 13, 2023 22:53 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to Storybook Preview July 13, 2023 22:53 Inactive
@jonrohan jonrohan temporarily deployed to github-pages July 13, 2023 23:25 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to Storybook Preview July 13, 2023 23:25 Inactive
@github-actions github-actions bot temporarily deployed to Storybook Preview July 13, 2023 23:40 Inactive
@jonrohan jonrohan merged commit e1b3f4f into main Jul 13, 2023
13 checks passed
@jonrohan jonrohan deleted the deyarnify branch July 13, 2023 23:40
@primer-css primer-css mentioned this pull request Jul 13, 2023
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants