-
Notifications
You must be signed in to change notification settings - Fork 205
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
Evaluate switching / upgrading package manager (for development) #1693
Comments
How about plain NPM :-) |
NPM seems to always be behind features wise and performance wise, e.g:
Because NPM (different versions) comes pre-bundled with node installations it might make it more difficult to manage |
Do we need any of the other features? As there aren't many dependencies, I don't thing performance is an issue. If maintainability is a priority, I think just using NPM is the easiest as everyone knows how that works. |
We need That is supported is in npm 7.x, however nodejs 12 and 14 come pre-bundled with older versions of npm. Other things I found useful in other projects were: (not currently needed here).
Still it should be possible to switch to using only npm. But I still want to modernize the repo as we are currently using an old release of yarn
|
You can add package.json engines.npm for the npm version |
But would chevrotain developers need to do Yarn has a mechanism to lock the binary version per specific project. I know there are 3rd party tools that can help with managing the binaries per project (volta/nvm). It nothing unsolvable, but imho just an additional annoyance/cost for using a less powerful npm CLI tool |
Just noticing this thread by pure hasard, while evaluating using Chevrotain to replace one of the PEG.js-based parser in Yarn. If you're interested to upgrade to 3.x, feel free to ping me on the Yarn discord, I'd be happy to answer questions 🙂 |
Big Thanks @arcanis 😄 It is not planned anytime soon, and mostly depends more on when I've got both free time and the "muse" for upgrading the dev-ops related things. But a direct channel for questions can only help 👍 I'll ping you on discord 🏓 |
Yarn now has a pnpm linker option which could be useful is there are compatibility issues with some tools that do not play well with the default |
This project currently uses Yarn 1.x which is no longer developed.
The two primary options are:
I recently played with pnpm and was quite impressed, it may be the first candidate to try out.
The text was updated successfully, but these errors were encountered: