66 Commits

Author SHA1 Message Date
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
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
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
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
2aa2b1fb4c fix(@angular/cli): add $type values for all commands 2018-08-13 20:58:47 -07:00
Hans
2a3237655e refactor: fix typo 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
Mike Brocchi
ae9817b7ee feat(@angular/cli): Update commands to extract meta data into JSON 2018-08-13 20:58:47 -07:00
qiyi
cd8801ca7b fix(@angular-devkit/schematics): fix issues in google (#11857)
1. update the return type of 'validateOptionsWithSchema' to make it
conform the signature of engineHost.registerOptionsTransform
2. fix minor naming issue
2018-08-13 12:31:26 -07:00
Charles Lyding
c729b0e7d9 build: use yarn workspaces 2018-08-10 18:25:32 -07:00
Yi Qi
569acc40d8 feat(@angular/cli): allow specifying workflow and engineHost for schematic commands. 2018-08-08 20:39:43 -04:00
Noël Macé
cb93537832 docs: be more specific about E2E suite
specify that these instructions are for the E2E suite only
2018-08-07 15:02:34 +01:00
Noël Macé
0b11b07046 docs: typo in README 2018-08-07 15:02:34 +01:00
Noel Mace
2aa0883e19 docs: add some informations about VS Code debugging
Add an example of VS Code launch config permitting to debug Angular CLI.
2018-08-07 15:02:34 +01:00
Noel Mace
cc15444615 docs(@angular/cli): update Development Hints
Due to the changes the devkit reintegration to this repository have bring,
this old documentation didn't worked anymore, as the @angular/cli dependencies
versions now are dynamics. So, we now need to build it before linking it with npm.
2018-08-07 15:02:34 +01:00
Yi Qi
b834014bb1 build: Fix all the BUILD files for google3 2018-08-03 23:32:10 +01:00
Hans Larsen
5391cf307f fix(@angular/cli): if no command, properly show help
Using the first flag is bad, but we still support --version and --help.
2018-08-02 08:57:04 -04:00
Alan Agius
7f0856d16a fix(@angular/cli): remove vendorSourceMap warning that vendorSourceMap is not allowed
While the build works and there are no error, at the moment you will have a warning in `angular.json`
2018-08-02 08:55:53 -04:00
Charles Lyding
52c222ce41 refactor(@angular/cli): use compiler-cli peer dep to check typescript 2018-08-02 08:55:10 -04:00
Charles Lyding
bd615f14a4 fix(@angular/cli): fully resolve rxjs & core during version checks 2018-07-27 15:12:30 -07:00
Charles Lyding
598c5da777 fix(@angular/cli): properly bootstrap 1.x from global 6.x 2018-07-27 11:41:56 -07:00
Sarun Intaralawan
3fca66dbeb fix(@angular/cli): use correct compiler version range
Close #11665, angular/angular#25141
2018-07-26 09:36:43 -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