Marcelo Shima

Results 573 comments of Marcelo Shima

> @mshima I see this PR and I like it, but currently our maintainer resources are a bit limited and we have a bunch of other things on our agenda....

I'm not sure what to do with this. Parsing and passing .npmrc config pacote will complicate too much. Version resolution is just a convenience for dependencies without a version. If...

@baconandon maybe you could provide a PR switching to latest-version at: https://github.com/yeoman/generator/blob/9cab8c90decdbbc6befcae0da10d55da3f7cd873/lib/actions/package-json.js#L24-L28

This is the [email protected] behavior. While there are some use cases it may make sense, with workspaces it doesn't. ``` workspaces │ yo-rc.json (generator-workspaces) └───packages │ └───package1 (generator-node) │ └...

Install and load 'find-up' package Add at your constructor something like: ``` const rootPath = findUp.sync('.yo-rc.json', { cwd: this.destinationRoot() }); if (rootPath) { this.destinationRoot(rootPath); } ```

Background about this change: https://github.com/yeoman/generator/issues/1283. Force yarn using cli: `yo --node-package-manager yarn` Force yarn inside a generator: `this.env.options.nodePackageManager = yarn;`

In that case you should set the environment cwd `this.env.cwd = this.answers.kataname;` too. Or execute yarn using a custom install task: https://github.com/yeoman/generator/blob/84551ee52a5e2fbb1472f34a77c40cb43bdc0391/lib/index.js#L127-L128 Something like: ``` constructor(args, opts) super(args, opts, {customInstallTask:...

An additional information. `package.json` detection and install is done at conflicts priority, before install and end. So `addDependencies` must be called before that. I would need a minimal reproduction step.

> But it would be nice to have a way documented to set extra options during the npm install for this case and any others that need install flags /...

Not sure but looks like you want something like this at the blueprint main generator: ``` get end() { return { checkEfCommand() { if (efCommandIsInstalled) { return; } if (this.spawnCommandSync('dotnet...