Closed stefanpenner closed 9 years ago
yes, but I think the following issues need to be resolved first:
package.json
testsbower.json
testsI hope to finish this by weekend.
@quaertym awesome!
@stefanpenner @rwjblue do you know any repo for semver checking?
node-semver
Thanks!
@rwjblue @stefanpenner #1 and #2 are fixed. Please guide me to fix #4.
@rwjblue @stefanpenner I know you guys are busy with ember, but can you review v0.0.3 if you have time? Remember that you have to have an unsatisfied dependency in your app.
@stefanpenner @rwjblue checklist is done except #3 and v0.0.4 is out. I think it is good to include in ember-cli.
@stefanpenner y u no review?
sorry, scumbag stef... been busy. I have a few minutes now.
@quaertym #4 will be required if we are to include this by default into ember-cli. I really want this in, so if you don't have the time. I will write some test coverage this evening.
@stefanpenner I am not sure how to best test this. Maybe you can lead and I can add more tests later.
will do
@stefanpenner Have you started any tests? If not, I can try and look into it today. I had tests for that other PR and while they were written for ember-cli, perhaps they could still be of some value here with some adjustments. The code and behavior for the version check is generally the same.
@brzpegasus Thanks :+1: I borrowed your version checking code. I think it will be great addition to ember-cli.
@stefanpenner Have you started any tests? If not, I can try and look into it today. I had tests for that other PR and while they were written for ember-cli, perhaps they could still be of some value here with some adjustments. The code and behavior for the version check is generally the same
sorry I expected to have time this week, but I have been heads down on some client work.
@quaertym I added part 1 of the tests (see PR #7). Part 2 would be to check Bower, but I'll let you play with that =). One thing that I found a bit odd was that the dependency checker started validating immediately after instantiating it (new EmberCLIDependencyChecker()
). I see it was purposefully coded that way; it was just unexpected.
@brzpegasus Thanks for the great work. What's the better way to do this? Should ember-cli
call the checkDependencies method?
I think checking on instantiation is desired. The addon will be instantiated near the beginning of each command line invocation. This gives us the best time ( before running a command) to do these checks before missing deps can make us go wrong.
@rwjblue Is this good enough to include in ember-cli now?
@quaertym Still missing bower tests! See the part 2 I mentioned above.
@brzpegasus :) I mean after that.
Updated my checklist above for inclusion.
@rwjblue @stefanpenner All the waiting issues are fixed. How do we proceed? This currently only works with ember-cli#master
.
@quaertym - Submit a PR adding it to the default package.json
of the app blueprint in Ember CLI.
@rwjblue Done. https://github.com/stefanpenner/ember-cli/pull/2454
@rwjblue