firstandthird / load-grunt-config

Grunt plugin that lets you break up your Gruntfile config by task
firstandthird.github.io/load-grunt-config/
MIT License
374 stars 64 forks source link

Peer Dependencies incorrectly satisfied #199

Open stormojm opened 2 years ago

stormojm commented 2 years ago

I am currently in process of updating a repository to Yarn 2. They surface a new warning when peer dependencies are not met correctly:

YN0002: │ load-grunt-config@npm:4.0.1 doesn't provide grunt (p20905), requested by jit-grunt
YN0002: │ load-grunt-config@npm:4.0.1 doesn't provide grunt (p0d729), requested by load-grunt-tasks

This occurs even if you have grunt in your package's devDependency list. The fix is to add grunt into the peerDependencies of load-grunt-config.