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
Alan Agius
bd4dc38359
refactor: use createConsoleLogger
and remove duplicate code ( #12787 )
2018-11-08 10:30:41 -08:00
Alan Agius
2bb26f197b
fix(@ngtools/webpack): print error message on new line ( #12764 )
...
* fix(@ngtools/webpack): print error message on new line
* fix(@angular/cli): change logger from `warning` to `fatal` for unkown options
2018-10-31 21:02:25 -07:00
Charles Lyding
5af69ba43b
refactor(@angular/cli): remove rxjs direct dependency
2018-10-31 14:53:56 -07:00
Hans Larsen
aa25a33448
feat(@angular/cli): show project being linted
...
Fixes #11231
2018-09-27 13:20:19 -04:00
Alan Agius
43fff130a5
fix(@angular/cli): cannot use same target name in when having multiple projects ( #12327 )
...
Closes #12320
2018-09-21 12:27:11 -07:00
Hans
0b959d1233
* fix(@angular/cli): remove helpJson and help-json mentions ( #12331 )
...
* fix(@angular/cli): remove helpJson and help-json mentions
* ci: use proper --help=json for creating snapshot
2018-09-20 14:45:09 -07:00
Hans
84e4e8d7d8
fix(@angular/cli): run --help-json now returns a basic help
...
It was throwing an exception about some targets not being available.
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
c72c45f9db
fix(@angular/cli): only add options if theres only one builder configuration
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
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
d202480a17
build: update/cleanup tslint rules & fix errors
2018-08-23 11:35:34 -07:00
Mike Brocchi
ae9817b7ee
feat(@angular/cli): Update commands to extract meta data into JSON
2018-08-13 20:58:47 -07:00
Hans
c45e778687
feat(@angular/cli): allow overrides on multi-target if builder is same
...
It makes sense and is the only way to allow "ng lint --fix". If the builder is the
same for all targets, overrides are allowed.
2018-07-25 21:27:47 -07:00
Hans
14357e30c0
refactor(@angular/cli): remove a tslint:disable:no-global-tslint-disable no-any
...
Not entirely removed the usage of any but its a step in the right direction.
2018-07-25 21:27:47 -07:00
Alan Agius
43e21ab606
refactor: fix path for workspace-loader
2018-07-09 09:38:58 -04:00
Alan Agius
f46a883330
refactor(@angular/cli): remove extra await
...
An async function always wraps the return value in a Promise. Using return await just adds extra time before the overreaching promise is resolved without changing the semantics.
2018-07-02 08:21:57 -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