Show setup options during `ng new`
- 主要言語
- TypeScript
- スター
- 27k
- フォーク
- 11.8k
- 平均マージ
- 14時間 23分
- マージ済み PR(30日)
- 162
説明
# 🚀 Feature request
### Command (mark with an `x`)
- [x] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] extract-i18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
### Description
It's not obvious to people that we provide integrations with testing and linting solutions even though they exist. Folks have to run `ng e2e` to see the supported testing frameworks and after that run `ng add [solution]`. Alternatively, for linting they have to run `ng lint` to get ESLint installed, but none of the tools comes by default.
### Describe the solution you'd like
To better inform developers about the integrations we provide, we can update our setup experience. When folks create a new project we can show two prompts:
```
- Which end-to-end testing framework you want to use:
- Cypress
- Nightwatch
- WebDriver
- None
- Do you want ESLint? (Y/n)
```
If folks select `None` and `n` they should still be able to add e2e/linting to their projects with `ng add [schematics]`. If people select an integration we can automatically run `ng add [...]` at setup time for them.
コントリビューションガイド
調査の方向性
`ng new` のセットアップフローから始め、`ng add`、`ng e2e`、`ng lint` が現在どのように統合機能を公開しているかを追跡します。プロンプトとその選択肢を定義し、統合機能を選択すると期待されるセットアップが呼び出される一方で、`None` または `n` を選択した場合は、後から `ng add` コマンドを実行できる状態でプロジェクトが利用可能なままになることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, cypress, eslint, typescript
- 領域
- cli, developer-experience, testing
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100