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

--skip-install not working

Open springcomp opened this issue 2 years ago • 0 comments

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"],
		});
	}

springcomp avatar Dec 31 '21 13:12 springcomp