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
[ENHANCEMENT] install:addon command will show a deprecation message before running the install command. #3854
[ENHANCEMENT] install:addon command will show a deprecation message before running the install command. #3854
Conversation
👍 |
Typically, a deprecation will still "work" with a warning. In this case, it seems that we just throw a SilentError and the user needs to run the alternate command. I would prefer that this extended the current What do y'all think? |
You are right, it is not a deprecation but simply a silent error. I like where you are going with this, I'll make the necessary change to extend from the install command. |
2ec5966
to
9465b05
Compare
Interesting. For some reason Do you have any input on this @rwjblue ? |
any movement on this? we're having to put two different sets of install instructions on our repos |
kicking travis
Why? Or are you catering to old versions of ember-cli? |
this.ui.writeLine(chalk.red(warning)); | ||
|
||
if (this._super.init) { | ||
this._super.init(); |
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._super.init.call(this);
this is most likely the result of us still being on a broken version of core-object. #3056 sorta stalled, but we should try to re-ignite that effort. cc @jgwhite |
@stefanpenner yes, yes we should :guilty_face: |
I figured as much 😸 |
@stefanpenner yes, catering to both... |
I'll update the pull request to reflect master .. |
9f8b99a
to
a7a68b2
Compare
…`install` command. Changed the verbage on install-npm.
a7a68b2
to
88c2a4c
Compare
[ENHANCEMENT] install:addon command will show a deprecation message before running the install command.
Given that a lot of ember-cli addon projects tell you to install them through the
ember install:addon
command, I re-added the command so it can throw a friendly error that points to the now correct commandember install
. This is related to #3598 (comment).