Alternative lookup convention for `ng-add` schematics
- 主要言語
- TypeScript
- スター
- 27k
- フォーク
- 11.8k
- 平均マージ
- 14時間 23分
- マージ済み PR(30日)
- 162
説明
It would be nice to be able to externalize schematics from the package specified in the `ng add` command.
`ng add ionic` requires us to include schematics within the `ionic` package itself, which is not ideal for several reasons:
- **Separation of Concerns**. The `ionic` package isn't necessarily for Angular, but `ng add ionic` looks good 👌
- **Complication of the build within our main package.** Including the schematics in our main package would require including _a lot_ of the Angular DevKit into the build.
- **Slow "add".** It requires installing the entire package and all its dependencies (~38M) in a sandbox just to use a few files from the package.
In slack I believe we concluded that the best solution might be to have the `ng-add` field within `package.json` be allowed to point to another package.
コントリビューションガイド
調査の方向性
`ng add` コマンドと `package.json` の `ng-add` フィールドから始め、指定されたパッケージが現在どのように schematics に使用されているかを確認します。`ng-add` エントリから別のパッケージを参照でき、コマンドで指定されたパッケージから schematics を外部化できるようになれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100