74 Commits

Author SHA1 Message Date
Alan Agius
6d6870314c feat(@schematics/angular): add support for ShadowDom as a viewEncapsulation value 2018-09-26 08:53:43 -04:00
Volodymyr BIlyachat
8872205d65 fix(@schematics/angular): generate application with projectRoot is provided
Closes #11925.
2018-09-26 08:46:21 -04:00
Charles Lyding
d3fa9a6631 fix(@schematics/angular): remove redundant reflect polyfill 2018-09-24 13:23:57 -07:00
Cédric Exbrayat
5757b21f21 fix(@schematics/angular): remove module test (#11278)
The `module` schematic was generating a useless `module.spec.ts` file.
This commit removes such test.

Fixes #11277
2018-09-20 14:05:47 -07:00
Hans
f15d5589c3 refactor(@schematics/angular): automated JSON schema generation 2018-09-13 16:44:17 -07:00
Charles Lyding
57c049e507 test: update to support targets & architect fields 2018-09-13 16:43:31 -07:00
Charles Lyding
f107d2de11 fix(@schematics/angular): use 'architect' instead of 'targets' until deprecated 2018-09-13 16:43:31 -07:00
Sean Wright
467c02b35c style: match styleguide catch callback 2018-09-12 12:43:35 -07:00
Alan Agius
82f2bda2f5 refactor(@schematics/angular): make interaction with architect targets type safe 2018-09-12 12:37:24 -07:00
Adrian Moos
247b20d37a style(@schematics/angular): fix typo and English in environment.ts (#12023) 2018-08-30 13:47:15 -07:00
Cédric Exbrayat
3f94b2d8ba feat(@schematics/angular): remove useless import for Ivy (#11874)
Using cli `6.2.0-beta.2` with the new `experimentalIvy` flag leads to:

    ERROR in src/app/app.module.ts(1,1): error TS6133: 'BrowserModule' is declared but its value is never read.
2018-08-28 13:10:18 -07:00
Eaton
03c4296c1b docs: fix broken links to angular.io (#11811)
docs:  fix broken links to angular.io
2018-08-23 13:54:32 -07:00
Charles Lyding
a9e25fffae fix(@schematics/angular): ensure non-evergreen IE browsers are excluded 2018-08-23 10:36:53 -07:00
Filipe Silva
9720077a4b build: make resolution logic compatible with Bazel 2018-08-22 16:36:10 -07:00
Alan Agius
b99b6bab08 fix(@schematics/angular): incorrect exclude path for test.ts
Closes #11829
2018-08-13 17:03:32 -07:00
Hans
3886aab55b feat(@schematics/angular): add a --experimental-ivy flag to ng-new
This will create a new Ivy-enabled application. Also available in "ng g application".
2018-08-09 19:37:53 -04:00
Qais Patankar
68d87e82d1 style(@schematics/angular): fix English in environment.ts 2018-08-07 10:40:26 +01:00
Mike Brocchi
f64087b625 fix(@schematics/angular): Allow additionalProperties in schematics options
fixes #11681
2018-08-03 12:38:27 -04:00
Filipe Silva
307160806c feat(@schematics/angular): use targets property on new projects 2018-07-25 20:17:33 +01: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
Alan Agius
5c5d39266f refactor(@schematics/angular): skipPackageJson is optional for application schematic 2018-07-02 08:25:10 -04:00
Filipe Silva
b8cecbbb3c feat(@schematics/angular): use es2015 modules overall
This change helps to keep the behaviour of build/serve/test consistent by using the same import semantics in all of them.
2018-06-13 22:33:32 +01:00
Mike Brocchi
d3b49a5590 refactor: Consolidate adding dependencies 2018-06-08 19:59:53 +01:00
Hans Larsen
44086c60ff build: move devkit repo back to angular-cli 2018-06-05 18:50:06 -07:00