LaserWeb4
LaserWeb4 copied to clipboard
Switch from npm to yarn?
Think of yarn as a faster version of npm, with sane status and error messages. @openhardwarecoza : it has bandwidth saving features.
To try it:
npm i -g yarn
cd LaserWeb4
git checkout yarn
yarn run installdev
yarn start
To see where it really shines, do this after you did the above:
- wipe node_modules directory
yarn(equivalent tonpm install)
Then repeat:
- wipe node_modules directory
yarn
See the chart at https://yarnpkg.com/en/docs/migrating-from-npm#toc-cli-commands-comparison for the commands to replace the npm commands.
Most of the features that were specific to yarn have been added to the latest npm (v5) (including lockfile etc), so not 100% sure how worthwhile a switch might be. Just my 2 cents though ;-)
This is already done isn't it?
Only on the trial branch