Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#7,848 4 comments 17 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
angular, typescript
Domain
cli

Research direction

Start with the proposed ng doctor entry point and the existing package.json generation path. Define how dependency differences are listed and how --write applies only semver-compatible updates, then add coverage for both listing changes and writing updates.

Written by the indexing model from the issue text.

Description

area: @angular/cli feature feature: insufficient votes
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.
Dominant language
TypeScript
Stars
27k
Forks
11.8k
Avg merge
16h 35m
Merged PRs (30d)
176

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from angular/angular-cli

All issues in angular/angular-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.