generator-node
generator-node copied to clipboard
--skip-install not working
I’m creating my own generator and compose with this generator-node
while trying to skip installing dependencies.
This used to work with version 4.2.0
however, it no longer does with a more 5.x
version.
public async default() {
this.composeWith(require.resolve('generator-node/generators/app'), {
boilerplate: false,
name: this.options.name,
projectRoot: 'generators',
skipInstall: this.options["skip-install"],
});
}