Adds possibility to define config not only in project extras but also in dependencies #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This will let to define config not only in project level but also in also in dependencies.
If there are multiple dependencies, with different node or yarn versions, max versions will be selected (yeah I, know, that would be awesome to have multiple nodejs and/or yarn versions installed, but I think this requires some huge changes... so at least something for now...)
Project level config definitions takes priority. That means if these are found, all configs in dependencies will be ignored.
Accepting this change let others to create libraries that depends on node-composer that could be used in projects. For example, a package that automatically bumps owen version everytime new nodejs is released (similar thing that I tried to achieve with #2 pull request). Or some package that automatically tries to deal with front-end npm assets management.
Note: #10 must be merged first to make sure that all platform tests succeeds.