-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add command uninstall:npm #3593
add command uninstall:npm #3593
Conversation
easy port of `ember install:npm`
Awesome! so uninstall remove from |
// misplaced console.log | ||
this.disableLogger(); | ||
|
||
this.npm.load(npmOptions, function(err) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we use Promise.denodeify
for this node-back?
@stefanpenner I made changes based on your code review.
|
awesome, thanks @kellyselden |
add command uninstall:npm
.finally(this.finally.bind(this)) | ||
.then(this.announceCompletion.bind(this)); | ||
}, | ||
|
||
announceCompletion: function() { | ||
announceCompletion: function(data) { | ||
this.printPackageNames(data); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this isn't optimal during a fresh install or `init see #3616
Implementation of #3582. Left out bower because of the deprecation. Basically a port of
ember install:npm
.