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 dependency #2934

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

Conversation

mikemaccana
Copy link
Contributor

@mikemaccana mikemaccana commented Apr 26, 2024

  • Changes current behavior (require warn, try yarn, warn if yarn is missing, use npm) to just using npm
  • Use npm in test scripts too
  • Update 'mismatched version' error message to also use npm

This PR doesn't change yarn being used to build Anchor itself.

Addresses #2881

Copy link

vercel bot commented Apr 26, 2024

@mikemaccana is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Collaborator

@acheroncrypto acheroncrypto left a comment

Choose a reason for hiding this comment

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

I think setting the default to npm is great, but people might still want to use yarn. I think we should give that optionality as a flag in necessary commands.

@mikemaccana
Copy link
Contributor Author

(will do, I just need to get around to it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants