957 Commits

Author SHA1 Message Date
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
4df025f5f1 fix(@angular-devkit/build-optimizer): don't mark tslib helpers which are suffixed with $ and a number as pure (#15451)
Closes #15392
2019-08-27 10:26:03 -07:00
Alan Agius
26dd51221a style: collapse if statements (#15449) 2019-08-27 10:25:14 -07:00
Alan Agius
a6fbee6865 style: add no-invalid-await and prefer-promise-shorthand lint rules (#15450)
Add these two lint rules for a better code quality and readability
2019-08-27 10:24:58 -07:00
Charles
4986577f8a fix(@angular-devkit/build-angular): skip downlevel processing of assets (#15433)
* fix(@angular-devkit/build-angular): identify asset emitted files

* fix(@angular-devkit/build-angular): skip downlevel processing of assets

Fixes #15423
2019-08-26 11:50:20 -07:00
Renovate Bot
0f2cca0ee3 build: update terser to version 4.2.1 (#15435) 2019-08-26 11:48:27 -07:00
Renovate Bot
215f179da7 build: update inquirer to version 7.0.0 (#15422) 2019-08-23 11:38:32 -07:00
Renovate Bot
85bdc98470 build: update less to version 3.10.3 (#15419) 2019-08-23 11:38:14 -07:00
Charles
af9a8b75ee fix(@angular-devkit/build-angular): default poll value when not present (#15417)
`--poll` is a valid command line option (vs. `--poll 1000`).  This however will result in a value of 0 which causes polling to be disabled rather than enabled.  This change sets a default value of 500 when the commandline flag is used.
2019-08-23 11:37:48 -07:00
Charles
7f6ba9e001 fix(@angular-devkit/core): track workspace targets with no original collection (#15413)
Fixes #15403
2019-08-23 11:37:06 -07:00
Renovate Bot
095756ea03 build: update stylus to version 0.54.7 (#15407) 2019-08-23 11:36:19 -07:00
Alan Agius
59d80f52be fix(@angular-devkit/build-optimizer): replace multiple tslib helpers (#15400)
Inlined tslib helpers can be suffixed with `$` and a number when having multiple helpers in the same file.

With this change we will replace all tslib inline helpers to imports from `tslib`
2019-08-23 11:35:42 -07:00
Alan Agius
ad8acb0d23 build: bump angular dev packages to latest next versions 2019-08-22 09:41:28 -07:00
Renovate Bot
9d67642255 build: update less to version 3.10.2 2019-08-21 10:37:30 -07:00
Renovate Bot
94df0eff20 build: update cacache to version 12.0.3 2019-08-21 10:37:16 -07:00
Renovate Bot
99de2b4b36 build: update sass-loader to version 7.3.1 2019-08-21 10:37:01 -07:00
Renovate Bot
1bc8cbcb98 build: update zone.js to version ^0.10.0 2019-08-21 10:36:26 -07:00
Adam Vigneaux
e7d99bc727 feat(@angular-devkit/build-angular): collect test coverage from JSX/TSX files 2019-08-21 10:31:45 -07:00
Charles Lyding
d1488e66a4 refactor(@angular-devkit/build-angular): cache downlevel bundles 2019-08-20 11:07:55 -07:00
Renovate Bot
0aae147621 build: update @angular/animations to version 2019-08-20 10:16:25 -07:00
Renovate Bot
b738f3a2f5 build: update sass to version 1.22.10 2019-08-20 10:14:15 -07:00
Renovate Bot
ac22acce85 build: update terser to version 4.2.0 2019-08-20 10:14:04 -07:00
Renovate Bot
c61063e130 build: update stylus to version 0.54.6 2019-08-20 10:13:50 -07:00