angular/angular-cli

Generate and manage schematic configuration files

開放

#22,288 建立於 2021年12月2日

 (11 則留言) (3 個反應) (0 位負責人)TypeScript (11,999 個分叉)batch import
area: @angular-devkit/schematics-clifeaturefeature: insufficient voteshelp wanted

倉庫指標

星標
 (26,585 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

🚀 Feature request

Edit: The feature described in this comment already exists as schematics blank, the real feature request is here.

Command (mark with an x)

  • generate

Description

It came up in an Angular Nation discussion today that making a new schematic is really difficult and requires a lot of steps with complex documentation. I think this came up before but I wasn't able to find an existing issue quickly.

Describe the solution you'd like

Ideally we would have something like ng generate schematic (or schematics new) which could create a new schematic. We'll probably have to workshop how to support both creating a new collection and adding to an existing collection. This would also help improve some of the documentation, since users can get started with schematics much easily.

Describe alternatives you've considered

Alternative is to just document everything and make users type everything out by hand, which is how it works today.

/cc @kroeder.

貢獻者指南