Uh oh!
There was an error while loading. Please reload this page.
Add ProjectWideDependencyChecker check API - #206
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
cb527d7 to
a9d7642Compare
scalvert
left a comment
There was a problem hiding this comment.
Just a few small changes, but otherwise looks good!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This allows someone to make broader assertions against the project’s dependencies.
```js
const checker VersionChecker.forProject(project);
checker.check({
‘ember-data’: ‘>= 3.16.0’,
‘ember-resolver’: ‘*’,
}) === {
isSatisfied: true | false,
message: ‘’ || ‘useful canned error message’,
node_modules: {
‘ember-data’: {
isSatisfied: true | false,
message: ‘’ || ‘useful canned error message’,
Versions: [/* list of versions found */]
},
‘Ember-resolver: { /* basically same as ember-datas blob */ },
assert(message?) { } // throw a canned error, with an optional description
}
}
```
This Commit also fixes/cleans up the testing infrastructure to simplify the testing of the above new featurestefanpenner
commented
May 11, 2020
released as v5.1.0 🎉 |
Add ProjectWideDependencyChecker
checkAPIThis allows someone to make broader assertions against the project’s dependencies. The goal here is to handle the complexity of making these assertions here in ember-cli-version-checker.
Example:
This Commit also fixes/cleans up the testing infrastructure to simplify the testing of the above new feature
TODO:
filterAddonsByNamesfor good measure