angular / angular/angular-cli

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

オープン
#7,848 コメント 4 件 リアクション 17 件 担当者 0 名 GitHub で見る
area: @angular/cli feature feature: insufficient votes
主要言語
TypeScript
スター
27k
フォーク
11.8k
平均マージ
14時間 23分
マージ済み PR(30日)
162

説明

### 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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

提案されている `ng doctor` のエントリーポイントと、既存の `package.json` 生成パスから始めます。依存関係の差分をどのように一覧表示するか、また `--write` が semver 互換の更新にのみ適用される方法を定義し、その後、変更の一覧表示と更新の書き込みの両方に対するカバレッジを追加します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
cli
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。