Michael O'Keefe
db0fc7759b
feat(@angular/cli): Added support for multiselect list prompt ( #13031 )
...
* feat(@angular/cli): Added support for multiselect list prompt
* If multiselect option is true use the checkbox
inquirer prompt type, otherwise use list.
* feat(@angular-devkit/core): Added support for multiselect list prompt
* Added multiselect to PromptDefinition interface and usages
2018-11-30 12:01:57 -08:00
clydin
43aabb4be6
fix(@schematics/update): improve npmrc discovery ( #12871 )
...
* fix(@schematics/update): improve npmrc discovery
* feat(@angular/cli): support yarnrc options during update when using yarn
2018-11-14 10:30:00 -08:00
Hans Larsen
456614828f
feat(@angular/cli): allow flags to have deprecation
...
The feature comes from the "x-deprecated" field in schemas (any schema that is used
to parse arguments), and can be a boolean or a string.
The parser now takes a logger and will warn users when encountering a deprecated
option. These options will also appear in JSON help.
2018-11-14 10:29:07 -08:00
clydin
5e354d17f1
feat(@angular/cli): autodetect default package manager ( #12753 )
2018-11-06 22:00:40 -08:00
Charles Lyding
5af69ba43b
refactor(@angular/cli): remove rxjs direct dependency
2018-10-31 14:53:56 -07:00
Charles Lyding
5d8af57112
feat(@angular/cli): add --defaults
option to ng new
...
Any option with a default value will not be prompted (if a prompt is defined) and the default will be used instead.
Closes #12084
2018-09-27 12:58:43 -04:00
Hans
34818b0346
feat(@angular/cli): add subcommand to options
...
SubCommands are not tied to the option that triggers them. They
contain a subset of a CommandDescription interface, with at least
a short and long description and usage notes. These are generated
from the subcommand schema (e.g. schematics in case of generate).
2018-09-19 13:02:40 -07:00
Hans
af96ccfb65
fix(@angular/cli): fix support for hidden options
...
They were showing when they should have been hidden.
2018-09-14 21:29:31 -07:00
Hans
afa71a1471
feat(@angular/cli): add help for ng-new schematics
...
Before it was missing because we need to load the schematics engine for it.
I moved the ng update logic that did this to SchematicCommand.
2018-09-14 21:29:31 -07:00
Hans Larsen
30b0cbda0d
refactor(@angular/cli): automated JSON schema interface generation
2018-09-13 16:44:17 -07:00
Charles Lyding
9e7391c685
fix(@angular/cli): warn if targets
is present when using a schematic
2018-09-13 16:43:31 -07:00
Hans
37d1a43d71
fix(@angular/cli): only print options once for schematic --help
2018-09-06 07:37:48 -07:00
Hans
7ffd3b3033
refactor(@angular/cli): rename project to workspace and clean up
...
Removed unnecessary fields in interfaces, added some comments. Overall QoL.
2018-09-06 07:37:48 -07:00
Hans
de7ec84872
feat(@angular/cli): add --helpJson (or --help-json) too all commands
...
And other refactors.
The interface for the JSON is available in command.ts (the CommandDescription).
2018-09-06 07:37:48 -07:00
Charles Lyding
489f0e9055
feat(@angular/cli): initialize a console prompt provider for schematics
2018-08-29 09:25:56 -07:00
Yi Qi
0535e2b738
feat(@angular/cli): allow schematic command to specify the default colletion.
2018-08-24 15:02:44 -07:00
Mike Brocchi
ae9817b7ee
feat(@angular/cli): Update commands to extract meta data into JSON
2018-08-13 20:58:47 -07:00
qiyi
cd8801ca7b
fix(@angular-devkit/schematics): fix issues in google ( #11857 )
...
1. update the return type of 'validateOptionsWithSchema' to make it
conform the signature of engineHost.registerOptionsTransform
2. fix minor naming issue
2018-08-13 12:31:26 -07:00
Yi Qi
569acc40d8
feat(@angular/cli): allow specifying workflow and engineHost for schematic commands.
2018-08-08 20:39:43 -04:00
Charles Lyding
6449a75364
fix(@angular/cli): use default project when project path is ambiguous
2018-06-21 09:23:41 -04:00
Alex Eagle
d1e392fa78
refactor: add missing license headers under packages/angular/cli
2018-06-06 15:11:31 -07:00
Hans Larsen
44086c60ff
build: move devkit repo back to angular-cli
2018-06-05 18:50:06 -07:00