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
c1623c429e
refactor(@angular/cli): use version class instead of requiring package.json
...
The CLI contains a helper class instance that provides the version of the executing CLI. By using this helper throughtout the code, repeat `require` calls are no longer necessary.
2021-06-22 17:39:38 +01: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
Charles Lyding
203f9626df
refactor(@angular/cli): correct various uncaught code style issues
...
This change cleans up some of the code by removing unused variables/imports, unnecessary double negation, and some long line lengths.
2021-04-28 09:58:15 +02: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
Charles Lyding
52aaa8c167
fix(@angular/cli): update NPM 7 guidance
...
Update NPM 7 behavior based on https://github.com/angular/angular-cli/issues/19957#issuecomment-775407654
2021-02-08 19:48:42 -05:00
Alan Agius
cae2209ca8
fix(@angular/cli): only show incompatible NPM error when NPM is used as package manager
2021-02-05 12:40:47 -05:00
Charles Lyding
331f628139
fix(@angular/cli): temporarily limit npm to version 6
...
This change will display an error message if using npm 7 (or versions earlier than 6). This is a temporarily change while npm 7 usability concerns are addressed.
2021-02-04 14:59:40 -08:00
Charles Lyding
5275892f63
refactor(@angular/cli): remove any type usage
2020-08-24 07:50:01 -04:00
Keen Yee Liau
ebc92c2125
refactor(@angular/cli): Simplify retrival of collection name
2019-10-03 14:42:35 -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
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
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
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
Hans
75d682b271
refactor(@angular/cli): use smart default instead of overwriting args
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
c75318b432
fix(@angular/cli): fix ci for new command formats
2018-08-13 20:58:47 -07:00