4054 Commits

Author SHA1 Message Date
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
5b6502b645 build: update ng-packagr and tslint 2019-04-15 11:09:13 -07:00
Alan Agius
58fb593787 feat(@schematics/angular): update several workspace dependencies
With this change we update ng-packagr, jasmine-core and tslint.
2019-04-15 11:09:13 -07:00
Alan Agius
da628bdda7 style: remove extra breakline from build file 2019-04-15 11:08:46 -07:00
Alan Agius
260dacfb41 test: add new architect api to golden files 2019-04-15 11:08:46 -07:00
Alan Agius
eac31541a1 test: add analytics to core golden files 2019-04-15 11:08:46 -07:00
Alan Agius
c319cd054e test: update tests large to cater for the bundle changes with differential loading 2019-04-15 11:03:09 -07:00
Alan Agius
718ed37684 feat(@schematics/angular): set workspace tsconfig target to es2015 2019-04-15 11:03:09 -07:00
Alan Agius
7cc0988d4c fix(@angular-devkit/build-webpack): consider name when deduping emitted files
We need to consider the name when deduping files because a file such as `runtime.js` can be under multiples names because this file is a dependency of multiple entrypoints
2019-04-15 11:03:09 -07:00
Alan Agius
56369885e8 test: update e2e to cater for the bundle changes with differential loading 2019-04-15 11:03:09 -07:00
Alan Agius
a29bf4ec36 feat(@angular-devkit/build-angular): enable differential loading for es2015 builds
With this change we turn on differential loading for projects that has es2015 as script target and still want to support browsers which that don't support ES2015.

Supported browsers are defined in the browserlist file.
2019-04-15 11:03:09 -07:00
Charles Lyding
f1c58bef97 fix(@angular-devkit/core): escape workspace json pointers
Internally, the JSON workspace support uses JSON pointers to represent change locations.  These need to be escaped to support slashes within a key.
2019-04-15 11:02:46 -07:00
Charles Lyding
66230b3c2e fix(@angular-devkit/core): allow scoped names for workspace projects
Library projects support scoped package names as project names.
2019-04-15 11:02:46 -07:00
Charles Lyding
cbce3d3793 refactor(@schematics/angular): update library to use new workspace rules 2019-04-15 11:02:46 -07:00
Charles Lyding
2210b902e2 refactor(@schematics/angular): update service to use new workspace rules 2019-04-15 11:02:46 -07:00
Charles Lyding
3e70f252c5 refactor(@schematics/angular): update guard to use new workspace rules 2019-04-15 11:02:46 -07:00
Charles Lyding
bc6fcd53ad refactor(@schematics/angular): update enum to use new workspace rules 2019-04-15 11:02:46 -07:00
Charles Lyding
d2fa2edb7a refactor(@schematics/angular): update class to use new workspace rules 2019-04-15 11:02:46 -07:00
Charles Lyding
83f3c6c39e refactor(@schematics/angular): update app-shell to use new workspace rules 2019-04-15 11:02:46 -07:00
Charles Lyding
e075edf8b4 refactor(@schematics/angular): update universal to use new workspace rules 2019-04-15 11:02:46 -07:00
Charles Lyding
5d199b23aa refactor(@schematics/angular): update webworker to use new workspace rules 2019-04-15 11:02:46 -07:00
Charles Lyding
13abfd01ec fix(@angular-devkit/schematics): fully support async rules 2019-04-15 11:02:46 -07:00
Charles Lyding
790a9622c4 refactor(@schematics/angular): add initial workspace helper rules 2019-04-15 11:02:46 -07:00
Charles Lyding
0d6a9f842c refactor(@angular-devkit/core): rename workspace namespace to workspaces
This avoids massive amounts of name conflicts between a commonly named variable of 'workspace' and the namespace
2019-04-15 11:02:46 -07:00
Charles Lyding
51e370cefc fix(@angular-devkit/core): add project type as a workspace special extension 2019-04-15 11:02:46 -07:00
Renovate Bot
4a50df6926 build: update @angular/animations to version 2019-04-15 08:29:28 -07:00
Alan Agius
ee466c8e2e test: delay file change for rebuilds to avoid flakes 2019-04-15 08:07:57 -07:00
Alan Agius
bcf1cc1775 test: delay file change for rebuilds to avoid flakes 2019-04-15 08:07:57 -07:00
Alan Agius
efccea6e1a feat(@angular-devkit/build-angular): wire up index generation for differential loading
This change wires up the index generation for multiple bundles, we however don't  enable differential loading for users just yet. As this will be done in a separate PR to change over specs to conform with the new files
2019-04-13 10:52:45 -07:00
Filipe Silva
e2a3895bf8 test: workaround Router typings
This workaround should be removed after https://github.com/angular/angular/pull/29832 is released.
2019-04-13 10:23:02 -07:00
Filipe Silva
6d7d2ebd3c feat(@ngtools/webpack): support loadchildren string syntax in Ivy 2019-04-13 10:23:02 -07:00
Filipe Silva
b7dfdb8643 build: update to Angular 8.0.0-beta.12 2019-04-13 10:23:02 -07:00
Filipe Silva
b6b00ebc98 build: update typescript to version 3.4.3 2019-04-13 10:23:02 -07:00
Charles Lyding
0a59307c19 fix(@angular-devkit/architect): fix incorrect relative core import v8.0.0-beta.13 2019-04-12 15:40:51 -07:00
Alan Agius
3d9447975d docs: update new issue form link v8.0.0-beta.12 2019-04-12 13:11:12 -07:00
Alan Agius
8432650efd test: fix flaky profile flag test large
This change addresses the flaky profile flag test large that sometimes caused `RangeError Maximum call stack size exceeded` inside regex
2019-04-12 12:21:41 -07:00
Filipe Silva
92913e46b1 fix(@angular/cli): add missing experimentalImportFactories to schema 2019-04-12 12:21:13 -07:00
Renovate Bot
7fd6f6d501 build: update magic-string to version 0.25.2 2019-04-12 12:20:50 -07:00
cexbrayat
fcbe988d10 fix(@schematics/angular): properly log data received in web worker snippet
The generated snippet was:

    worker.onmessage = ({ data }) => {
      console.log('page got message: $\{data\}');
    };

which doesn't use a template string and so does not log `data`.
Fixes the generated snippet to be `console.log(`page got message: ${data}`);`.
Also adds a newline at the end of the web worker template to not fail the default TSLint rules if the schematic is used.
2019-04-12 12:20:25 -07:00
Renovate Bot
0edc095cd3 build: update mini-css-extract-plugin to version 0.6.0 2019-04-12 12:20:05 -07:00
Renovate Bot
a686eabed9 build: update webpack-dev-server to version 3.3.1 2019-04-12 12:18:05 -07:00
Renovate Bot
49fb9ec0d7 build: update source-map-support to version 0.5.12 2019-04-12 12:17:50 -07:00
Alan Agius
5f13d06cb3 fix(@angular-devkit/build-angular): ignore bundle budgets when running karma or devserver
Fixes #14100
2019-04-12 12:17:35 -07:00
Charles Lyding
bd16cbc98d refactor(@angular-devkit/build-angular): use webpack config utilities in browser builder 2019-04-12 12:17:21 -07:00
Charles Lyding
7d416103a9 feat(@angular-devkit/core): make new workspace API public 2019-04-12 11:45:48 -07:00
Charles Lyding
b22202c120 refactor(@angular-devkit/core): adjust readWorkspace type to support eventual diagnostics 2019-04-12 11:45:48 -07:00
Charles Lyding
fda683b874 build: only generate types for actual JSON schemas 2019-04-11 10:17:29 -07:00
Charles Lyding
7439faba12 feat(@angular-devkit/core): implement workspace JSON reader/writer 2019-04-11 10:17:29 -07:00
Renovate Bot
c89dd3090e build: update browserslist to version 4.5.4 2019-04-10 08:45:18 -07:00
Alan Agius
fe98024146 docs: align several experimental text and update ng new explanation 2019-04-10 08:44:53 -07:00