Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQ] Ability to pass options to installDependencies #1014

Closed
stramel opened this issue Apr 15, 2017 · 2 comments
Closed

[REQ] Ability to pass options to installDependencies #1014

stramel opened this issue Apr 15, 2017 · 2 comments

Comments

@stramel
Copy link
Contributor

stramel commented Apr 15, 2017

It would be nice to be able to pass options to installDependencies:

generators.Base.extend({
  install: function () {
    this.installDependencies({
      npm: false,
      bower: {depth: 0},
      yarn: true
    });
  }
});

Would be the equivalent to:

generators.Base.extend({
  install: function () {
    this.bowerInstall([], {depth: 0});
    this.yarnInstall();
  }
});
@SBoudrias
Copy link
Member

Good idea, I think this shouldn't be too hard to implement. Want to give it a shot?

@stramel
Copy link
Contributor Author

stramel commented Apr 16, 2017

Sure, I could do that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants