Charles Lyding
9afe185fc6
build: enable noImplicitOverride
TypeScript option
...
The `noImplicitOverride` TypeScript option improves code quality by ensuring that properties from base classes are not accidentally overriden.
Reference: https://www.typescriptlang.org/tsconfig#noImplicitOverride
2021-07-02 06:40:36 -04:00
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
90988aaf52
fix(@angular/cli): collect analytics option usage from workspace config and prompts
...
With this change we fix two analytics collection bugs:
- We now collect the usage of options defined in the workspace config (angular.json).
- We now also collect values set via schematic prompts.
Closes : #17900
2020-10-07 09:54:59 -04:00
Alan Agius
05588fcee1
refactor: clean up unused code and imports
2020-07-24 08:01:52 +02:00
Alan Agius
26dd51221a
style: collapse if statements ( #15449 )
2019-08-27 10:25:14 -07:00
Charles Lyding
b630317b4b
refactor(@angular/cli): convert workspace access to async
...
This is in preparation for conversion from the experimental workspace API to the stable workspace API.
2019-08-16 09:32:04 -07:00
Charles Lyding
c4313f55e4
refactor(@angular/cli): unify color handling and support
2019-06-24 17:27:59 -07:00
Alan Agius
db344641f4
fix(@angular/cli): ng generate --help shows the wrong collection
...
At the moment, collectionName and schematicCollections are not set in various schematics command which result in fallbacking to the hardcoded default collectionName https://github.com/angular/angular-cli/blob/master/packages/angular/cli/models/schematic-command.ts#L79
Hence, this will result in incorrect information being present when using the `--help`, `--list`.
Fixes #14519
2019-05-28 20:57:21 +02:00
Alex Eagle
f5c41e5754
build: Resolve ng generate aliases before logging analytics
2019-04-17 13:40:58 -07:00
Hans Larsen
2e58fb33ca
feat(@angular/cli): add custom implementation for analytics for commands
...
Some commands (like schematics) need to have custom reporting for
analytics. Schematics and Architect commands need to verify if the
schematic/architect builder run is in the safelist, for example.
2019-03-20 15:08:07 -07:00
Filipe Silva
eef66f0f65
fix(@angular/cli): error out when command json is invalid
2018-11-01 08:26:28 -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
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
06d332ba23
feat(@angular/cli): generate --helpJson will remove collection name
...
For the default collection.
2018-09-14 21:29:31 -07:00
Hans
3b5dbad5c8
feat(@angular/cli): sort schematics by name in --help-json
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
Hans
66fbc59767
feat(@angular/cli): add long description and suboption option type
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
Hans
a7b9ee5856
refactor: cleanup and better documentation / comments (hidden from release log)
2018-08-13 20:58:47 -07:00
Hans Larsen
2bf1228f12
fix(@angular/cli): fix rebase on master of original commit
...
Keeping this as a separate commit to leave Mike as the author of the original
work.
2018-08-13 20:58:47 -07:00
Hans
c75318b432
fix(@angular/cli): fix ci for new command formats
2018-08-13 20:58:47 -07:00