generator-node icon indicating copy to clipboard operation
generator-node copied to clipboard

using yarn

Open oklas opened this issue 4 years ago • 2 comments

How about to use yarn as an option?

oklas avatar May 12 '20 11:05 oklas

Current code has hardcoded npmInstall:

  • https://github.com/yeoman/generator-node/blob/25d1ca4ea2122ce08b88398848e6df41f54cbe1a/generators/app/index.js#L384-L386

but there's also yarnInstall:

  • https://yeoman.io/authoring/dependencies.html

glensc avatar Mar 22 '22 07:03 glensc

Attempted something:

  • https://github.com/yeoman/generator-node/pull/293

glensc avatar Mar 22 '22 07:03 glensc