92 Commits

Author SHA1 Message Date
Charles Lyding
b502847c73 build: remove unneeded gitignore file 2018-09-19 11:33:10 -07:00
Charles Lyding
c12d3ee329 refactor(@angular/cli): correct implicit returns 2018-09-19 11:32:39 -07:00
Charles Lyding
6cfb72acc2 fix(@angular/cli): support --version option 2018-09-19 09:31:13 -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
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
ec41e6c828 fix(@angular/cli): chunk log so output is piped properly
Previously the output of some commands with long one-line log would not be
drained properly when piping it, causing it to be truncated.
2018-09-14 21:29:31 -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
Filipe Silva
b6793bd521 build: use specific engines for built packages 2018-09-14 13:56:43 -07:00
Hans Larsen
30b0cbda0d refactor(@angular/cli): automated JSON schema interface generation 2018-09-13 16:44:17 -07:00
Hans Larsen
0b3d9964a6 refactor(@angular/pwa): automated JSON Schema 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
Charles Lyding
57c049e507 test: update to support targets & architect fields 2018-09-13 16:43:31 -07:00
Yi Qi
e36a259a45 fix(@angular/cli): fix issues in google3 2018-09-13 14:08:04 -07:00
Charles Lyding
57a32c2ef5 fix(@angular/cli): show an error if invalid global config file found
Fixes #12198
2018-09-12 16:00:04 -07:00
Alan Agius
b8b36ba339 refactor: pin down all direct dependencies
This is so that CLI users get the same direct dependency versions that were tested on the CI.
2018-09-07 11:01:50 -07:00
Charles Lyding
6595490b8b feat(@angular/pwa): support customized workspace configurations with add 2018-09-06 11:01:17 -07:00
Alan Agius
65ede1fd6e docs: fix english 2018-09-06 10:51:04 -07:00
Alan Agius
bdebc9e0cb feat(@angular-devkit/build-angular): add ignore option to assets object
You can now provide an array of globs to `ignore` from copying

Closes #11850
2018-09-06 08:36:16 -07:00
Hans Larsen
fefef0271e refactor(@angular/cli): remove parseJsonFile and add options to parseJson instead 2018-09-06 07:37:48 -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
66fbc59767 feat(@angular/cli): add long description and suboption option type 2018-09-06 07:37:48 -07:00
Hans
37d1a43d71 fix(@angular/cli): only print options once for schematic --help 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
Hans
ff1baab7fc feat(@angular/cli): remove yargs-parser and implement parsing
This is fully backward compatible.
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
Hans
189563d277 refactor(@angular/cli): rename getset command to deprecated 2018-09-06 07:37:48 -07:00
clydin
7e63dd791b build: limit rxjs to 6.2.x due to a defect in 6.3.0 (#12048) 2018-08-30 15:33:31 -07:00
Charles Lyding
fd6bba38a0 fix(@angular/cli): properly type config command value option 2018-08-29 09:25:56 -07:00
Charles Lyding
e177849f44 fix(@angular/cli): correct update command packages option type 2018-08-29 09:25:56 -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
Yi Qi
545db0651f fix(@angular/cli): fix typing issue in google3 2018-08-23 11:44:02 -07:00
Charles Lyding
d202480a17 build: update/cleanup tslint rules & fix errors 2018-08-23 11:35:34 -07:00
Filipe Silva
2393ab9aba build: simplify bazel dependencies 2018-08-22 16:36:10 -07:00
Filipe Silva
b1ad957a15 build: update bazel workspace 2018-08-22 16:36:10 -07:00
Hans Larsen
20b5d916d2 feat(@angular/cli): use STDERR to report warnings 2018-08-21 09:57:34 -07:00
Charles Lyding
b4a30762fe fix(@angular/pwa): support ng add with CLI 6.0.x
Fixes #11663
2018-08-20 16:34:10 -07:00
Charles Lyding
ad84bb1fdc fix(@angular/pwa): properly write closing body tag when modifying index
Fixes #11543
Fixes #11942
2018-08-20 10:28:25 -07:00
Hans
95951905e3 feat(@angular/cli): add flags to the process title
Closes #8772
Fixes #6888

Special thanks to @tomastrajan for original PR.
2018-08-19 12:59:20 -07:00
Alan Agius
b759ebdc55 fix(@angular/cli): command runner is not working on windows
`fs` is unable to read the normalized paths from `@angular-devkit/core`  on `windows` as the disk drive is replaced from `c:/` to `/c/`

Closes #11928
2018-08-17 11:38:42 -07:00
Hans
f9ad0e27e7 refactor: move isJsonObject to json namespace 2018-08-17 11:20:54 -07:00
Alan Agius
9107f3cc4e docs: update optimization description (#11862)
At the moment, the definition might suggest that `optimization` takes some values other than `true` and `false`

Close: #11856
2018-08-15 15:58:22 -07:00
Hans
37e8f55fa7 build: add json-schema-traverse to yarn 2018-08-13 20:58:47 -07:00
Hans
2ce1155158 fix(@angular/cli): allow commandMap as an argument
With a fallback to looking for it from current file.
2018-08-13 20:58:47 -07:00