45 Commits

Author SHA1 Message Date
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
Mike Brocchi
8c6a525d3b fix(@angular/pwa): Allow additionalProperties in schematics options
fixes #11681
2018-08-03 12:38:27 -04: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
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
Charles Lyding
62640bf1ef fix(@angular/cli): update typescript version checks for Angular 6.1 2018-07-25 17:08:28 -07:00
Filipe Silva
dcdb937e41 fix(@angular/pwa): support updating projects that use the targets property 2018-07-25 20:17:33 +01:00
George Kalpakas
ae3831b1e3 docs(@schematics/angular): fix typos in property descriptions 2018-07-23 16:42:45 +01:00
Hans
a0978b1db3 refactor: fix types to remove any
require() returns any so we were missing some typing errors.
2018-07-11 13:35:35 -07:00
Hans Larsen
483cbe2665 refactor: add tslint-sonarts and a lot of tslint rules
This should clean up the code a bit.

Note: at first I added the no-useless-cast rule, but after getting frustrated
with it (as it has many false positive), I decided to remove the rule but some
useless casts were removed so I let those in the PR.
2018-07-10 15:07:36 -07:00
Hans Larsen
c1702d3579 refactor: add no-floating-promises lint rule to project
With fixes; new now handles the parent initialize, visitor_spec now errors on
rejection, and nothing in the writeI18nOutFile() function was async so removed
the promise there entirely.
2018-07-10 15:07:36 -07:00
Alan Agius
43e21ab606 refactor: fix path for workspace-loader 2018-07-09 09:38:58 -04:00
Charles Lyding
a067530de2 fix(@angular/cli): add all current TSLint default formatters to schema 2018-07-02 09:48:05 -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
Alan Agius
3108ce30ab refactor: remove redundant error in catch 2018-07-02 08:20:59 -04:00
Charles Lyding
6449a75364 fix(@angular/cli): use default project when project path is ambiguous 2018-06-21 09:23:41 -04:00
George Kalpakas
545290242c refactor(@angular/pwa): minor refactorings to make code cleaner 2018-06-13 16:55:42 +01:00
Christian Hagendorn
dd39597b6a fix: typo fix for error logging 2018-06-13 14:14:26 +01:00
Alex Eagle
938a236f40 build: fixes for google3 build 2018-06-08 14:33:31 -07:00
Mike Brocchi
b8bad7364b fix(@angular/pwa): Fix JSON parsing 2018-06-08 21:44:37 +01:00
Mike Brocchi
04893ca343 fix(@angular/cli): Fix double setting of the path options for new
fixes #11025
2018-06-08 18:07:28 +01:00
Alex Eagle
d1e392fa78 refactor: add missing license headers under packages/angular/cli 2018-06-06 15:11:31 -07:00
Hans
3d92f5107e release: rewrite the README slightly and reorder packages 2018-06-06 14:23:26 -07:00
Hans Larsen
44086c60ff build: move devkit repo back to angular-cli 2018-06-05 18:50:06 -07:00