624 Commits

Author SHA1 Message Date
Renovate Bot
8f1bbc111a build: update @babel/core to version 7.6.2 2019-09-24 13:19:08 -07:00
Charles Lyding
ffd153a6a2 refactor(@angular-devkit/build-angular): use project metadata in builders
This eliminates the need to manually read a workspace file and removes the use of the experimental workspace API from the package.
2019-09-24 13:18:33 -07:00
Alan Agius
ab5b1909d6 build: update rxjs to 6.5.3 2019-09-24 13:18:09 -07:00
Alan Agius
d9f0bd5f34 fix(@angular-devkit/build-angular): remove pure_getters
Closes #14316
2019-09-24 13:18:09 -07:00
Renovate Bot
c681c9df3b build: update jasmine-core to version ~3.5.0 2019-09-23 09:35:03 -07:00
Charles Lyding
8a4bc54ef3 fix(@angular-devkit/build-angular): workaround Node.js copyFile defect on macOS
Fixes #15544
2019-09-19 14:42:04 -07:00
Charles Lyding
a6b496d4ff fix(@angular-devkit/build-angular): use manual sourcemap processing for large sourcemaps
Mitigates #15493
2019-09-19 14:41:45 -07:00
Charles Lyding
e4444121d1 fix(@angular-devkit/build-angular): always use ECMA 5 optimizations with terser
There appears to be defects related to terser's ECMA 6 options.  The optimizations present a minima size improvement in general.  Further investigation is required to determine the underlying cause within terser.

Fixes #15580
2019-09-19 14:40:31 -07:00
Renovate Bot
0dd9a2edc1 build: update terser-webpack-plugin to version 2.1.0 (#15616) 2019-09-18 14:49:44 +01:00
Renovate Bot
81fd40519d build: update webpack-dev-server to version 3.8.1 (#15617) 2019-09-18 14:49:35 +01:00
Charles
0d0d124a6d build: yarn upgrade lock update (#15589)
* build: yarn upgrade lock update

* build: change sauce connect proxy name to avoid npm package shadowing

`sauce-connect` is an old npm package.  Using the name for the saucelabs proxy tool causes false security vulnerability warnings.

* build: update license exceptions

mainly removal of now unneeded exceptions
2019-09-17 08:34:09 -07:00
Renovate Bot
021624183a build: update webpack to version 4.40.2 (#15591) 2019-09-13 16:35:47 -07:00
Renovate Bot
8459993532 build: update webpack-subresource-integrity to version 1.3.3 (#15592) 2019-09-13 16:35:38 -07:00
Renovate Bot
676b329112 build: update terser-webpack-plugin to version 2.0.1 (#15538) 2019-09-12 11:45:32 -07:00
Renovate Bot
10262a0c1a build: update @babel/core to version 7.6.0 (#15562) 2019-09-12 11:45:22 -07:00
Renovate Bot
17d08c4918 build: update sass to version 1.22.12 (#15579) 2019-09-12 11:45:01 -07:00
Alan Agius
1ea4a5ffa5 feat(@angular-devkit/build-angular): ignore express and hapi depedency expresstion (#15586)
In version 9 universal express and hapi `server.ts` will be bundled using the CLI server builder.

We need to add this to avoid `the request of a dependency is an expression` warnings

See: https://github.com/angular/universal/pull/1237
2019-09-12 11:44:32 -07:00
Renovate Bot
1824fc029c build: update postcss to version 7.0.18 2019-09-11 10:09:13 -07:00
Renovate Bot
c2d544520d build: update terser to version 4.3.1 2019-09-11 10:08:53 -07:00
Charles Lyding
b9f69d6796 fix(@angular-devkit/build-angular): fully optimize script bundles with bundle downleveling
This also allows terser to perform ECMA 6 level compress optimizations on the actual application bundles (non-script bundles) which can provide for further size improvements.

Fixes #15507
2019-09-10 11:07:36 -07:00
Renovate Bot
f6fa3d7467 build: update @angular/animations to version 2019-09-10 11:04:10 -07:00
Alan Agius
3fc86b7ff5 Merge pull request #15530 from alan-agius4/protractor_base_url
fix(@angular-devkit/build-angular): add trailing back slash to protr…
2019-09-10 10:07:44 -07:00
Alan
fb0a6af9f0 fix(@angular-devkit/build-angular): make app-shell work with Ivy
Fixes #15383
2019-09-10 10:01:50 -07:00
Alan
fb24f30202 feat(@angular-devkit/build-angular): enable bundleDependencies by default for server builder
BREAKING CHANGE: bundleDependencies default value has been changed from none to all. This will result in all of node_modules to be bundled in the final server bundle.

Under Ivy, if users choose to opt-out from bundling dependencies they will need to run NGCC binary manually to make non-bundled node_modules compatible with Ivy.
2019-09-10 10:01:50 -07:00
Charles Lyding
9300627e22 fix(@angular-devkit/build-angular): disable extract comments for webpack terser plugin
terser-webpack-plugin 2.0.0+ enables the extract comments option by default which is not used by the CLI.
2019-09-10 10:01:25 -07:00
noeri
366e51be04 feat(@angular-devkit/build-angular): expose webpack-dev-server's allowedHosts option
Closes #13656
2019-09-09 14:09:58 -07:00
Alan Agius
5e1b3785f6 fix(@angular-devkit/build-angular): fix permission errors for ES5 bundles
copyFilesSync will also copy permissions which may result in permissions errors.

Closes #15490
2019-09-05 00:27:39 +05:30
Alan Agius
2c8b12f45c feat(@angular-devkit/build-angular): update sass-loader to 8.0.0
Full list of changes https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md#800-2019-08-29
2019-09-05 00:24:32 +05:30
Renovate Bot
4dc856a329 build: update webpack-dev-middleware to version 3.7.1 2019-09-04 02:40:27 +05:30
Renovate Bot
bbdcbf79d8 build: update browserslist to version 4.7.0 2019-09-04 02:40:06 +05:30
Alan Agius
c935211aef fix(@angular-devkit/build-angular): several issues with optimization and bundleDependencies in universal
Fixes #15498
2019-09-04 02:31:20 +05:30
Filipe Silva
6a29ce47a1 test: add issue for broken app-shell test 2019-08-30 22:53:46 +05:30
Filipe Silva
ecc9d0e2b5 test: update server builder specs 2019-08-30 22:53:46 +05:30
Filipe Silva
77cb0d3f41 test: add issue for disabled Ivy AOT rebuild test 2019-08-30 22:53:46 +05:30
Filipe Silva
430e75978a test: re-enable lazy route error tests for Ivy 2019-08-30 22:53:46 +05:30
Filipe Silva
45155dc489 test: fix external source map test for Ivy 2019-08-30 22:53:46 +05:30
Alan Agius
058299c531 fix(@angular-devkit/build-angular): remove deprecation of baseUrl in protractor builder
Closes #13952
2019-08-30 00:15:10 +05:30
Alan Agius
77c4d4aa7b fix(@angular-devkit/build-angular): disable top level variable and function name mangling
Disables toplevel mangling and enables compression for es5 bundles. With compress enabled we reduce a further ~7Kb

Closes: #15436
2019-08-30 00:14:32 +05:30
Alan Agius
dffa70affa test: refactor karma include spec
disable index of failing test and remove timeout which is less than the default
2019-08-30 00:11:14 +05:30
Alan Agius
5c823ce830 build: update angular dev packages 2019-08-30 00:11:14 +05:30
Charles Lyding
fc53087bd2 refactor(@angular-devkit/build-angular): add debug no mangle environment variable 2019-08-30 00:10:48 +05:30
Charles Lyding
c867f2a4dd fix(@angular-devkit/build-angular): ensure generator polyfills are present for ES5 2019-08-30 00:10:29 +05:30
Renovate Bot
06dbf06f96 build: update webpack-merge to version 4.2.2 2019-08-30 00:09:55 +05:30
Adam Vigneaux
e76ea36989 feat(@angular-devkit/build-angular): exclude TSX test files from test coverage 2019-08-30 00:09:39 +05:30
Filipe Silva
60f9b19ecd test: use Ivy by default, opt-in to VE 2019-08-28 22:54:52 +05:30
Renovate Bot
3130a75c54 build: update webpack to version 4.39.3 (#15465) 2019-08-28 00:13:24 -07:00
Renovate Bot
ee0033084d build: update karma to version ~4.3.0 (#15464) 2019-08-28 00:13:03 -07:00
Charles
0f18e35373 fix(@angular-devkit/build-angular): add sourcemap comment for ES2015 differential loading (#15461)
Fixes #15460
2019-08-28 00:11:55 -07:00
Alan Agius
09d2f04d1b fix(@angular-devkit/build-angular): update worker-plugin to 3.2.0 (#15456)
includes this fix https://github.com/GoogleChromeLabs/worker-plugin/pull/35 which solves the below issues.

Fixes #15188 and fixes #14582
2019-08-28 00:10:26 -07:00
Alan Agius
26dd51221a style: collapse if statements (#15449) 2019-08-27 10:25:14 -07:00