Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Yarn support and/or callback #14

Closed
taoeffect opened this issue Nov 28, 2016 · 3 comments
Closed

Yarn support and/or callback #14

taoeffect opened this issue Nov 28, 2016 · 3 comments

Comments

@taoeffect
Copy link

Currently this package doesn't support Yarn. This could be ameliorated either by:

  • Adding support for Yarn
  • Or, adding semi-generic support for package managers that come along (that support the package.json format, like Yarn does). This could be done by offering in the options to specify a callback function that's called if the dependencies are out of date. In there I could manually run Yarn or whatever else.
@mgol
Copy link
Owner

mgol commented Nov 28, 2016

I'm good with both solutions; the second one is more generic but I see yarn is gaining enough traction that the library may as well support it natively.

Would you like to prepare a PR? I can help if you don't understand something around a codebase.

@mgol
Copy link
Owner

mgol commented Nov 28, 2016

Note, though, that Yarn is so quick when run on an already setup project that it might be simpler to just always invoke yarn at the beginning of your Gruntfile. :-)

@mgol
Copy link
Owner

mgol commented Nov 28, 2016

This feature would have to be added at https://github.com/mgol/check-dependencies/ as this is just its Grunt task so please re-create the issue there. Thanks.

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

No branches or pull requests

2 participants