Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Alternative lookup convention for `ng-add` schematics

オープン
#13,026 コメント 3 件 リアクション 4 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

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

調査の方向性

ng add コマンドと package.jsonng-add フィールドから始め、指定されたパッケージが現在どのように schematics に使用されているかを確認します。ng-add エントリから別のパッケージを参照でき、コマンドで指定されたパッケージから schematics を外部化できるようになれば完了です。

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

説明

area: @angular/cli feature feature: insufficient votes

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.

主要言語
TypeScript
スター
27k
フォーク
11.8k
平均マージ
16時間 35分
マージ済み PR(30日)
176

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

angular/angular-cli のほかの issue

angular/angular-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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