8 Commits

Author SHA1 Message Date
Alan Agius
3afdab21a0 fix(@schematics/angular): add migration to update web-animations-js polyfill
Previous versions rely on `this` which breaks differential loading since it's `undefined` when using script tags with type module.

Fixes #14518
2019-05-28 13:32:53 -07:00
clydin
537bf5e2fa fix(@schematics/angular): reduce package installs for 8.0 migrations (#14324)
This provides a ~30% performance improvement for a hello world project.
2019-05-07 12:42:46 -06:00
Filipe Silva
fea7117bd2 feat(@schematics/angular): drop @angular/http from dependencies 2019-04-23 10:28:00 -04:00
Charles Lyding
9b5653b13e fix(@schematics/angular): ensure Angular builders are migrated to latest versions
The package group format required to automatically update the builder packages was not supported until CLI 7.2.  For older CLI versions performing the update, this new migration will update the builders instead.  Once the CLI is updated to at least 7.2, the update algorithm itself will handle the update.
2019-04-22 13:29:05 -07:00
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
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