You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
yarn ...
commands would switch tonpm ...
commands.yarn.lock
file will be replaced with apackage-lock.json
file.mermaid-cli
, this change only affectsmermaid-cli
developersBenefits
mermaid-cli
project is already partly using NPM, i.e. in GitHub Actions scripts:mermaid-cli/.github/workflows/release-publish.yml
Line 47 in 69499c8
The text was updated successfully, but these errors were encountered: