generator-node
generator-node copied to clipboard
Add --yarn option to use yarn instead of npm
Fixes https://github.com/yeoman/generator-node/issues/289
use yarnInstall
if --yarn option
is used:
- https://yeoman.io/authoring/dependencies.html
I don't know how to test this without code being published in npm registry.
It is possible to install package for testing. Package may be installed from local folder or from tarball, both yarn and npm.
Probably more changes needed, as this did not have any effect at all
Perhaps yes
Moreover, I do not see similar testing for npm either. But I noticed that the readme template generator should also be changed here
PR for readme sub-generator:
- https://github.com/yeoman/generator-node/pull/294
let's get that resolved and merged first.