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

Using NPM instead of Yarn v1 for mermaid-cli development #529

Open
aloisklink opened this issue Apr 20, 2023 · 1 comment
Open

Using NPM instead of Yarn v1 for mermaid-cli development #529

aloisklink opened this issue Apr 20, 2023 · 1 comment

Comments

@aloisklink
Copy link
Member

Currently, the mermaid-cli project is use Yarn v1 (also known as Classic Yarn) for managing development dependencies.

Yarn v1 is currently barely developed, since Yarn v2 has been out since January 2020 and even Yarn v3 has been out since July 2021.

I'd like to propose instead changing to use the default NPM, as it now has pretty much all the features that Yarn v1 had, and it comes with most Node.JS installations.

Changes

  • All yarn ... commands would switch to npm ... commands.
  • The yarn.lock file will be replaced with a package-lock.json file.
  • No changes to users of mermaid-cli, this change only affects mermaid-cli developers

Benefits

@MindaugasLaganeckas
Copy link
Member

Go for it if you find the time! ❤️

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

No branches or pull requests

2 participants