angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Proposal: `ng doctor` for check diff and sync to the latest project template

Open lacolaco opened this issue 6 years ago • 4 comments

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request

Desired functionality.

After updated the CLI version, sometimes package.json is updated. Currently package.json is generated at ng new and never do sync to latest dependencies.

I want something like ng doctor to solve it. The use-case images are below:

$ ng doctor # listing up dependency changes
$ ng doctor --write  # auto-patching on _compatible_ version (with semver ?)

Mention any other details that might be useful.

lacolaco avatar Sep 27 '17 02:09 lacolaco

You could use this in the meantime which basically does what you described https://github.com/tjunnone/npm-check-updates

lucasvanhalst avatar Sep 27 '17 17:09 lucasvanhalst

I want to know about added and removed dependencies. only existing packages version check is not enough.

lacolaco avatar Sep 27 '17 22:09 lacolaco

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

angular-robot[bot] avatar Feb 01 '22 17:02 angular-robot[bot]

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.

angular-robot[bot] avatar Feb 21 '22 13:02 angular-robot[bot]