-
Notifications
You must be signed in to change notification settings - Fork 39
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 to "fix" missing deps. #53
Comments
|
@rwjblue 👍 Great idea! |
interestingly, it could do the "right thing" based on which npm is used. We should warn and recommend people upgrade if pre 3x is discovered. |
Maybe (I really have no clue or experience, I still run on v2), but the specific list of things to do wasn't really the point of this issue. The point is when ember-cli-dependency-checker prints a list of packages that are either missing or mismatched I would like it to also print a easily copy/pastable command that can be used to get things back into a valid state. If that means detect if we are using [email protected] we do one set of commands and under [email protected] we do something different then it makes the command even more valuable IMHO. |
I'm basically proposing adding a
ember fix-dependencies
command that does essentially the following:rimraf('node_modules/<package-name>');
rimraf('bower_components/<package-name>');
npm install
bower install
This is essentially what we all have to do manually right now after seeing we have the wrong deps, it would be nice if the error that prints out today by the dep checker could include a reference to the command that would "fix" things...
The text was updated successfully, but these errors were encountered: