Craig Spence
77f99b535d
feat(@schematics/angular): add lazy module path fixer
2019-04-16 09:38:55 -07:00
Alan Agius
359d4f97cc
feat(@schematics/angular): migrate existing ES5 projects to support differential loading
...
With this change, differential loading will be enabled as we add an non ever green browser and change the tsconfig script target to es2015.
2019-04-15 11:30:20 -07:00
Alan Agius
f67d976e1a
fix(@schematics/angular): set version 8 migration to execute for beta versions
2019-04-08 11:40:16 -07:00
Alan Agius
19cb35473f
refactor: don't drop zone.js from polyfills
...
We don't know yet if we are going to separate zone.js in a separate file. Hence, we should remove this for the time being and include it only when we remove zone.js from the main polyfills files
2019-04-03 16:28:37 +02:00
Minko Gechev
a355e7d693
feat(@schematics/angular): drop es6 from modern polyfills
...
1. Remove imports of es6 polyfills introduced by the CLI.
2. Refactor the migrations for version 8 by moving the codelyzer and
polyfill transforms into different files.
The PR drops all `core-js/es6` polyfills that we've introduced with the
CLI, except the commented ones. We do not remove commented imports,
since they are not part of the internal es6 polyfills.
The migration automatically drops the
associated comments with the removed imports since they are part of the node - under its
`jsDoc` property.
2019-03-29 18:06:01 -07:00
Minko Gechev
4b89fe21f4
feat(@schematics/angular): tslint migration for 8
...
Migration of the `tslint.json` and `package.json` files required by the refactoring of
codelyzer. For more information check this PR
https://github.com/mgechev/codelyzer/pull/754 .
2019-03-27 12:24:21 -07:00
Alex Eagle
bf1c069f73
refactor(@schematics/angular): drop dependency on TypeScript package
...
instead, vendor in the two files we actually need.
This reduces our install footprint by 5MB
2019-03-06 11:27:48 -08:00
Alex Eagle
4a093e5e38
Revert "feat(@angular/cli): Add VsCode extension recommendations"
...
This reverts commit d9166b04fccc708bc3856a6b243a8752120f312d.
2019-02-28 10:25:28 -08:00
Alex Eagle
71428bd9cb
Revert "feat(@angular/cli): Add VsCode recommendation for Angular Console"
...
This reverts commit 3d6ae631788b600a1b80132ae407f15ad3dc65aa.
2019-02-28 10:24:46 -08:00
Alex Eagle
242ebd932f
Revert "feat(@schematics/angular): recommend plugins that John Papa recommends"
...
This reverts commit 3a68b8cf9696e678308da65ca59b53329981c94f.
2019-02-28 10:24:44 -08:00
Alex Eagle
3a68b8cf96
feat(@schematics/angular): recommend plugins that John Papa recommends
...
This list comes from https://marketplace.visualstudio.com/items?itemName=johnpapa.angular-essentials
But we don't write a .prettier.json config file so we don't include the Prettier plugin yet
2019-02-27 10:10:18 -08:00
mrmeku
3d6ae63178
feat(@angular/cli): Add VsCode recommendation for Angular Console
2019-02-26 08:45:12 -08:00
Charles Lyding
be5e2fbfe5
fix(@angular/cli): remove redundant typescript/compiler-cli compatibility check
...
Angular 5.0+ has a full peer dependencies setup (with 6.0+ also having a configurable runtime error check) to ensure that an appropriate version of typescript is available for compilation. Angular CLI 8.0+ does not support Angular versions prior to these and therefore the warning is redundant. For the case where the developer wishes to use an unsupported TypeScript version, the developer would need to adjust two similar but differently name settings in two different configuration files.
2019-02-20 10:36:52 -08:00
mrmeku
d9166b04fc
feat(@angular/cli): Add VsCode extension recommendations
2019-02-14 09:32:09 -08:00
Alan Agius
d832c8791d
fix(@schematics/angular): remove leading comments when removing core-js/es7/reflect
( #13528 )
...
Fixes #13491
2019-01-30 11:38:11 -08:00
Alan Agius
58ca30b1e7
fix(@schematics/angular): update @angular-devkit/build-ng-packagr
when migrating
...
Closes #12642
2018-11-01 08:30:20 -07:00
Charles Lyding
2d4332f0ca
fix(@schematics/angular): migrate build-angular for 7.0 RC users
...
Fixes #12647
2018-10-31 14:56:27 -07:00
Alan Agius
0b4e91bb97
feat(@schematics/angular): enable typescript helpers in workspace
2018-10-23 10:22:16 -07:00
Charles Lyding
74c799a82c
fix(@schematics/angular): avoid using 6.2+ only features in migrations
2018-10-17 11:37:24 -07:00
Jason Jean
6e7f4d961f
fix(@schematics/angular): fix polyfill path resolution
2018-10-16 22:25:51 -07:00
clydin
b8eee02205
fix(@schematics/angular): migrate existing packages for 7.0 ( #12518 )
...
Fixes : #12458
2018-10-10 12:10:56 -07:00
Alan Agius
2d5c6eba23
fix(@schematics/angular): codeCoverage exclude is not being migrated ( #12513 )
...
Fixes #10936
2018-10-10 12:09:57 -07:00
Hans Larsen
27715292fd
feat(@schematics/angular): new 7.0.0 migration to remove polyfills
...
See PR https://github.com/angular/angular-cli/pull/12346 for more information. This
PR migrates current CLI projects to the new polyfills introduced in that PR.
2018-09-25 10:08:42 -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
Alan Agius
432fe97d89
fix(@schematics/angular): use app root to set server paths in options
2018-09-07 13:00:37 -07:00
Alan Agius
36f8cd77ba
fix(@schematics/angular): fix path for ngswConfigPath
during migration
...
`/` will cause an error during lookup `Error: Expected to find an `ngsw-config.json` configuration file
2018-09-06 10:58:33 -07:00
Charles Lyding
cc6181e3c9
feat(@schematics/angular): add CLI 7.x migration schematic
2018-09-06 08:25:29 -07:00
Charles Lyding
d202480a17
build: update/cleanup tslint rules & fix errors
2018-08-23 11:35:34 -07:00
Filipe Silva
9720077a4b
build: make resolution logic compatible with Bazel
2018-08-22 16:36:10 -07: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
Charles Lyding
e0720b7f62
fix(@schematics/angular): ensure production configuration when migrating
...
Fixes : #11431
2018-07-03 12:05:04 -04:00
Alan Agius
3108ce30ab
refactor: remove redundant error
in catch
2018-07-02 08:20:59 -04:00
Alan Agius
dad2de9737
fix(@schematics/angular): add module
in root tsconfig when migrating
2018-06-18 09:37:01 -04:00
Alan Agius
e6b59e44ef
fix(@schematics/angular): add baseUrl
in root tsconfig when migrating
...
Closes : #11258
2018-06-18 09:37:01 -04:00
Mike Brocchi
d3b49a5590
refactor: Consolidate adding dependencies
2018-06-08 19:59:53 +01:00
Mike Brocchi
47e558fc87
fix(@schematics/angular): Fix root path for e2e projects during update
2018-06-08 18:04:14 +01:00
Hans Larsen
44086c60ff
build: move devkit repo back to angular-cli
2018-06-05 18:50:06 -07:00