422 Commits

Author SHA1 Message Date
Renovate Bot
c1cb92ff6b build: update core-js to version 3.1.3 2019-05-28 20:52:45 +02:00
Renovate Bot
bf7c4aadbe build: update terser-webpack-plugin to version 1.3.0 2019-05-28 20:52:15 +02:00
Renovate Bot
5df02a3de5 build: update webpack to version 4.32.2 2019-05-23 19:16:49 +02:00
Renovate Bot
db819cbd2c build: update semver to version 6.1.0 2019-05-23 19:16:31 +02:00
Alan
3a400c54cb fix(@angular-devkit/build-angular): dev-server port number mismatches in logs when using port=0
Fixes #14499
2019-05-23 19:15:50 +02:00
Renovate Bot
f651a2bd30 build: update webpack to version 4.32.1 2019-05-22 14:25:36 +02:00
Renovate Bot
8d5b735cd0 build: update core-js to version 3.1.2 2019-05-22 10:04:28 +02:00
Alan
b361a97abe fix(@angular-devkit/build-angular): absolute outputPath outputs index.html in wrong location
Fixes #14474
2019-05-21 09:07:58 -04:00
Renovate Bot
6d36d1b9b6 build: update core-js to version 3.1.1 2019-05-21 09:06:51 -04:00
Alan Agius
a7f2346e14 fix(@angular-devkit/build-angular): normalize sourceMap options in karma webpack plugin
`sourceMap` option can be either a boolean or an object,we need to normalize it before trying to get the `script` value.

Fixes #14457
2019-05-21 09:01:58 -04:00
Renovate Bot
ffaf76491c build: update webpack-dev-server to version 3.4.1 2019-05-21 09:01:22 -04:00
Renovate Bot
221249d9d1 build: update terser-webpack-plugin to version 1.2.4 2019-05-15 14:31:44 -07:00
Filipe Silva
74f2ee68d6 fix(@angular-devkit/build-angular): show error for missing modules
Fix #14421
2019-05-15 14:13:44 -07:00
Renovate Bot
d02e80c528 build: update webpack-dev-middleware to version 3.7.0 2019-05-15 14:12:34 -07:00
Charles Lyding
56d6dc848b refactor(@angular-devkit/build-angular): use standard node resolution methods where possible 2019-05-15 14:12:23 -07:00
Charles Lyding
06c1e1c051 refactor(@angular-devkit/build-angular): simplify webpack stats output 2019-05-15 14:12:13 -07:00
Alan
e333450dc0 feat(@angular-devkit/build-angular): add a post transformation hook to index generation
Fixes #14392
2019-05-14 10:51:56 -07:00
Renovate Bot
3bf929f392 build: update browserslist to version 4.6.0 2019-05-14 10:51:40 -07:00
Filipe Silva
5770762ac1 fix(@schematics/angular): update zone.js to 0.9.1 2019-05-13 15:58:15 -07:00
Charles Lyding
4f9ac220d8 refactor(@angular-devkit/build-angular): remove unused utility functions 2019-05-13 15:56:16 -07:00
Renovate Bot
e5cf843aeb build: update open to version 6.3.0 2019-05-13 15:55:29 -07:00
Renovate Bot
061b941722 build: update webpack to version 4.31.0 2019-05-10 15:08:23 -07:00
Charles Lyding
68bc0c7bc1 fix(@angular-devkit/build-angular): extract i18n should only show warnings/errors
Fixes #14373
2019-05-10 15:08:10 -07:00
Alan Agius
cc8c3fd904 fix(@angular-devkit/build-angular): propagate protractor errors during execution 2019-05-09 10:11:56 -07:00
Charles Lyding
01247c9339 fix(@angular-devkit/build-angular): stop dev server fallback outside of serve path
The serve path represents the base of the application.  Accessing a different path (`/api/` for instance) should not cause the application to load if the application's base is `/test/`
2019-05-09 10:11:05 -07:00
Charles Lyding
0b700c3c27 fix(@angular-devkit/build-angular): protractor should use dev server baseUrl 2019-05-09 10:10:33 -07:00
Charles Lyding
e3eee5fc91 fix(@angular-devkit/build-angular): account for dynamic port with dev-server baseUrl
The underlying webpack dev server builder is responsible for determining the actual port value for dynamic port cases (port = 0).  This change uses that value to generate the full URL for accessing the dev server.
2019-05-09 10:10:33 -07:00
Renovate Bot
555819dadb build: update glob to version 7.1.4 2019-05-09 10:08:15 -07:00
Filipe Silva
22e401b151 fix(@angular-devkit/build-angular): load polyfills-es5 on test
Fix #14335
2019-05-07 16:18:57 -06:00
Filipe Silva
888145e5a1 fix(@angular-devkit/build-angular): never split polyfill chunks
Fix #14280
2019-05-07 16:18:57 -06:00
Filipe Silva
a41c185713 fix(@angular-devkit/build-angular): relax typescript peerDep
We only use it for a few things but have a strict peerdep.

This strictness causes errors when updating the CLI from 7.x to 8.x projects:
```
Package "@angular/compiler-cli" has an incompatible peer dependency to "typescript" (requires ">=3.1.1 <3.2", would install "3.4.5").
```
`build-angular` did not have a peerdep in 7.x so this never was a problem.

This PR relaxes the peerdep to `">=3.1 < 3.5"`, which covers the 3.1 used in initial CLI 7.0 projects.
2019-05-07 16:16:46 -06:00
Filipe Silva
16c8d59d17 fix(@angular-devkit/build-angular): used named chunks for dynamic imports
Fix #14251
2019-05-07 16:14:13 -06:00
Renovate Bot
8e13c95224 build: update postcss to version 7.0.16 2019-05-07 15:56:42 -06:00
Renovate Bot
7c2d30b8b0 build: update sass to version 1.20.1 2019-05-07 15:56:30 -06:00
Renovate Bot
a54f239565 build: update browserslist to version 4.5.6 2019-05-07 15:56:15 -06:00
Renovate Bot
e0246e2bc5 build: update less-loader to version 5.0.0 (#14308) 2019-05-07 12:35:36 -06:00
Alan Agius
16ce92d77a fix(@angular-devkit/build-angular): e2e does not respect dev-server host and port settings (#14165)
Fixes #14151
2019-05-07 12:32:57 -06:00
Renovate Bot
1f92015863 build: update copy-webpack-plugin to version 5.0.3 (#14268) 2019-05-07 12:31:04 -06:00
Alan Agius
b2262e93c1 fix(@angular-devkit/build-angular): live reload cannot be disabled
By default the application will be served with inline mode enabled. This means that a script will be inserted in your bundle to take care of live reloading.

However at the moment we are already adding these scripts in `_addLiveReload` method.

With this change we always disable this behaviour and only add it when needed via the `_addLiveReload` logic.

Eventually we should try to remove the logic and rely on webpack-dev-server interals.

Fixes #14300
2019-04-29 10:33:09 -07:00
Kara
29609fb078 Merge pull request #14287 from kara/revert-pure-getters
Revert "fix(@angular-devkit/build-angular): remove pure_getters"
2019-04-26 12:13:59 -07:00
Charles Lyding
5b4b78bfbb feat(@angular-devkit/build-angular): use evergreen version of zone.js with ES2015 2019-04-25 12:12:29 -07:00
Charles Lyding
e3a36c4d9f fix(@angular-devkit/build-angular): skip version check if unit-testing 2019-04-25 10:23:25 -07:00
Charles Lyding
b7a26fa08b fix(@angular-devkit/build-angular): add Angular version check into required builders 2019-04-25 10:23:25 -07:00
Filipe Silva
eec39a20c3 fix(@angular-devkit/build-angular): use known Terser global defs
Followup to https://github.com/angular/angular/pull/29929
2019-04-24 07:11:21 -10:00
Filipe Silva
c8b4f4a57c build: update to Angular 8.0.0-beta.14 2019-04-24 07:11:21 -10:00
Filipe Silva
9a9939fc4e fix(@angular-devkit/build-angular): remove pure_getters
When we first started using Build Optimizer, we saw a lot of the savings were tied to using the Uglify/Terser `pure_getters` option.

This was intimately related with the structure and shape of the Angular codebase. The measurements we did at the time on angular.io showed a significant size reduction, from 1mb to about 600kb. Of these roughly 150kb were tied to using `pure_getters` if I remember correctly.

Meanwhile the Angular codebase has changed significantly and I don't really see these savings anymore, so I don't think it makes sense to keep it on given that it is known to cause problems with some libraries.

Closes #9231, #11439, #12096, #12128.
2019-04-24 07:11:21 -10:00
Filipe Silva
adf46c2bd5 fix(@angular-devkit/build-angular): pass system path to readTsconfig 2019-04-24 06:32:01 -10:00
Renovate Bot
a53b206603 build: update open to version 6.2.0 2019-04-23 14:31:07 -10:00
Alex Eagle
d88175ddf1 Revert "build: update rxjs to version 6.5.1"
This reverts commit c4613ced63a901fe327e062d2be474d72ccc56f1.
2019-04-23 11:23:51 -07:00
Renovate Bot
c4613ced63 build: update rxjs to version 6.5.1 2019-04-23 08:07:56 -07:00