Charles Lyding
37a06a7c37
build: format all files
...
All files are now formatted using the ng-dev tools via prettier.
2021-04-28 16:05:49 -07:00
Joey Perrott
003854257c
build: migrate all file header to use Google LLC rather than Google Inc
2021-04-27 08:35:22 +02:00
Alan Agius
a09a2e4056
fix(@angular/cli): include deprecated option in JSON help
...
This option is used to mark deprecated options as such in AIO.
2020-10-20 16:54:05 +02:00
Alan Agius
951d99e979
feat(@angular/cli): show warning when using deprecated options
...
With this change we show a warning when a deprecated option is also defined in the workspace configuration file (angular.json).
Closes : #14966
2020-08-17 18:18:24 +02:00
Alan Agius
a85ba990eb
refactor: clean up several files
...
Most of these changes are requires for TS 4 update
2020-07-22 12:56:34 +01:00
Hans Larsen
cf5cf19bb5
feat(@angular/cli): add analytic support to commands and command-runner
...
This is only reporting commands and their flags right now, and not
schematics or project analytics.
2019-03-20 15:08:07 -07:00
Hans
3a28d4c142
feat(@angular-devkit/core): add a new JsonSchema type
...
A Schema is either an Object or a boolean. We could reduce JsonSchema scope further
by adding properties, but a schema is a really complex type so its not worth the
effort.
2018-12-14 10:55:04 -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
Filipe Silva
eef66f0f65
fix(@angular/cli): error out when command json is invalid
2018-11-01 08:26:28 -07:00
Alan Agius
91e5fc0bfa
build: update to TypeScript 3.1
2018-10-01 07:39:59 -07:00
Hans
b02a7e5f9b
fix(@angular/cli): on error finding files, show warning
...
This should not prevent execution, but is useful to know.
2018-09-19 13:02:40 -07:00
Hans
fcbc7db54f
feat(@angular/cli): remove --help-json and add format to help
...
--help now accepts a value which can be a boolean or a string. If the value
is not understood we simply show a message to the user that it was invalid.
2018-09-19 13:02:40 -07: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
6622aa9d1a
refactor(@angular/cli): remove command type
...
It was really unused.
2018-09-19 13:02:40 -07:00
Hans
86d803e80a
docs(@angular/cli): add comments for Command interface
2018-09-19 13:02:40 -07:00
Hans
3bb6548d15
feat(@angular/cli): add usage notes to help JSON
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
d10c9e3104
fix(@angular/cli): fix support for default values in options
2018-09-14 21:29:31 -07:00
Hans
b5fc50fa1c
fix(@angular/cli): add support for all variant of alias field name
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
66fbc59767
feat(@angular/cli): add long description and suboption option type
2018-09-06 07:37:48 -07:00
Hans
c8ddfbbe62
fix(@angular/cli): add options in help for architect commands
...
And fix a bug with json schema to Option array.
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