517 Commits

Author SHA1 Message Date
Renovate Bot
13bf1c5e9b build: update autoprefixer to version 9.4.6 2019-01-22 09:39:30 -08:00
Filipe Silva
d536df95f2 feat(@angular-devkit/build-angular): update webpack to 4.29
This version (https://github.com/webpack/webpack/releases/tag/v4.29.0) includes a memory leak fix for assets (https://github.com/webpack/webpack/pull/8609, https://github.com/webpack/webpack/pull/8642).

Thanks to @meligy for pinging about this!
2019-01-22 09:39:19 -08:00
Alan
7d868947e2 feat(@angular-devkit/build-optimizer): add support for es2015 enums emitted by tsickle
tsickle emits es2015 enums with an object literal followed by an export declaration

Example:
```
      const RendererStyleFlags3 = {
          Important: 1,
          DashCase: 2,
      };
      export { RendererStyleFlags3 };
      RendererStyleFlags3[RendererStyleFlags3.Important] = 'Important';
      RendererStyleFlags3[RendererStyleFlags3.DashCase] = 'DashCase';
```

This PR adds support for the enums to be optimized by wrapping them in an iife and marks them as pure.

Fixes #13488
2019-01-22 09:39:07 -08:00
Filipe Silva
35b0594f91 feat(@angular-devkit/build-optimizer): also fold ES2015 classes
Although ES5 classes had their static properties folded in, ES2015 ones did not.

This PR adds that new functionality.

It should also make this particular transform a bit faster since it will stop early.

Fix https://github.com/angular/angular-cli/issues/13487
2019-01-22 09:38:48 -08:00
Renovate Bot
7bd6e57979 build: update speed-measure-webpack-plugin to version 1.3.0 2019-01-19 12:26:35 -08:00
Charles Lyding
757bca4edc fix(@angular-devkit/schematics): fully scope merge actions in ScopedTree 2019-01-18 12:14:29 -08:00
Charles Lyding
0563e96cd2 feat(@angular-devkit/schematics): add applyToSubTree rule
This rule allows a group of rules to be applied to a scoped subdirectory of the current tree.
2019-01-18 12:14:29 -08:00
Renovate Bot
caf1716fd7 build: update postcss to version 7.0.13 2019-01-18 12:08:28 -08:00
Peter Smith
5e9324f5ea docs(@angular-devkit/schematics): include npm link 2019-01-18 12:05:49 -08:00
Filipe Silva
6f8c336346 fix(@angular-devkit/build-optimizer): identify relative imports in angular core
Build optimizer was broken for non-FESM files inside @angular/core because it couldn't identify relative imports were still inside core.

This change adds a known list of angular core files as a default, and also allows passing in a override.
2019-01-18 12:01:37 -08:00
Filipe Silva
07ceb05985 fix(@angular-devkit/build-optimizer): prefix renamed classes
Module concatenation may rename classes with the same name. The renaming logic is specific to the bundler so we can't really foresee it.

But the fact remains that the inner function declaration doesn't need to have the same name as the outer one.
2019-01-18 12:01:37 -08:00
Renovate Bot
1d87ff9ab2 build: update webpack-dev-middleware to version 3.5.1 2019-01-18 11:57:45 -08:00
Alan Agius
a6102b2d50 build: pin typescript and webpack
Pin these two dependencies so that Renovate can succesfully update all these within the monorepo at once without the need of any manual interventation
2019-01-18 11:56:33 -08:00
Mikel Ward
7d15c5dd02 fix(@angular-devkit/core): Make default and info log messages use default colors
Previously, we set the color to white, which is (nearly) invisible on
terminals with a white background.

Fixes #13439.
2019-01-15 17:10:22 -08:00
Renovate Bot
83bbfec54b build: update ajv to version 6.7.0 2019-01-15 14:19:07 -08:00
Charles Lyding
e3a148a74b feat(@angular-devkit/build-angular): conditional ES2015 polyfill loading 2019-01-15 14:17:55 -08:00
Alan Agius
a38db5dbf2 build: update webpack and postcss
Update `webpack` to `4.28.4` and `postcss` to `7.0.11`
2019-01-14 14:18:32 -08:00
Filipe Silva
5a847298e5 ci: use puppeteer 2019-01-14 12:57:13 -08:00
Filipe Silva
3a70eb73c4 ci: add windows buildkite 2019-01-14 12:57:13 -08:00
調月奏
b972d57537 fix(@angular-devkit/build-angular): script chunk in angular.json return false then calling isInitial
This commit add the webpack chunk with it related chunkgroup or entrypoint
2019-01-14 12:53:52 -08:00
Charles Lyding
8d177e8789 feat(@angular-devkit/schematics): support calling a task by file path when using a FileSystemEngineHost 2019-01-14 12:52:27 -08:00
Alan
d10f125cc1 fix(@angular-devkit/build-angular): vendorSourceMap not being recognized when passed directly
Fixes #13414
2019-01-14 11:08:20 -08:00
Alan
b66e0bbc60 fix(@angular-devkit/build-angular): only show production warning when having either styles on scripts optimization turn on
Fixes #13415
2019-01-14 11:07:49 -08:00
Renovate Bot
b47f1c53d2 build: update license-webpack-plugin to version 2.1.0 2019-01-14 11:06:43 -08:00
Renovate Bot
9e8ca81041 build: update autoprefixer to version 9.4.5 2019-01-14 11:06:24 -08:00
Matthias Gaudin
59d9735193 fix(@angular-devkit/build-angular): add missing declaration types in build_angular schemas.
Fixes issue #13388
2019-01-14 11:06:00 -08:00
Renovate Bot
21aa3d200f build: update source-map-support to version 0.5.10 2019-01-14 11:04:36 -08:00
Hans Larsen
f9a311a66f fix(@angular-devkit/build-angular): prints a warning on --host on serve
The warning points to a solution for the WDS disconnect issue. Using --disable-host-check
will additionally warn the user that this might be insecure.

Fixes #11060
2019-01-14 11:03:52 -08:00
Charles Lyding
a0ac4b0e3d feat(@angular-devkit/schematics): support executing a schematic rule on a subtree 2019-01-14 10:59:37 -08:00
Filipe Silva
f7c6719f73 fix(@angular-devkit/build-optimizer): support windows paths in rollup plugin 2019-01-11 14:08:21 -08:00
Hans Larsen
3dafcf416f feat(@angular-devkit/core): deprecate @angular-devkit/architect/testing 2019-01-10 10:43:27 -08:00
Hans Larsen
32e230d252 feat(@angular-devkit/architect): deprecate the current architect API
This is done in short notice since it was always considered
experimental. Most developers already know that the API is going to
change.
2019-01-10 10:43:27 -08:00
Renovate Bot
978693daf5 build: update webpack-merge to version 4.2.1 2019-01-08 14:04:59 -08:00
Renovate Bot
7a530d0a1f build: update webpack-dev-middleware to version 3.5.0 2019-01-08 14:04:46 -08:00
Renovate Bot
3d8cae1b23 build: update autoprefixer to version 9.4.4 2019-01-08 14:04:33 -08:00
ManfredSteyer
b2c9e46fa9 feat(@angular-devkit/build-webpack): add factory for creating webpack compiler 2019-01-08 13:49:10 -08:00
ManfredSteyer
dcc53d00cc feat(@angular-devkit/build-angular): add factory methods for WebpackBuilder and LoggingFactory 2019-01-08 13:49:10 -08:00
Renovate Bot
10e969cbee build: update terser-webpack-plugin to version 1.2.1 2019-01-08 13:44:33 -08:00
Alan Agius
030d5fa06c feat(@angular-devkit/build-webpack): expose DevServerResult in BuildEvent 2019-01-08 13:42:45 -08:00
Alan Agius
73a35071a0 feat(@angular-devkit/architect): add result property to BuildEvent 2019-01-08 13:42:45 -08:00
Alan Agius
6db7038c1b feat(@angular-devkit/build-angular): add support for port 0 when using protractor
Fixes #13129
2019-01-08 13:42:45 -08:00
Renovate Bot
881966bbc8 build: update loader-utils to version 1.2.3 2019-01-08 13:41:41 -08:00
Alan Agius
d8048e520b test: add test for invalid lazy routes in AOT 2019-01-08 13:38:13 -08:00
Alan Agius
36c2423042 revert: fix(@ngtools/webpack): emit lazy routes errors on rebuilds
This reverts commit edb84b340ff996df2ca6a2aaf765304cc64fef3e

The team has decided to bring back the faster but potentially less accurate method of detecting lazy routes upon JIT rebuilds (first builds will always use the more complete Angular compiler method). Applications that do not have lazy routes within libraries and that only use direct string literals with loadChildren should not be affected by the potential of less accurate detection. Note that the function overload of loadChildren also does not apply to this situation.

For those projects where correctness of lazy route detection outweighs rebuild speed, please consider using AOT mode for development. AOT mode will also provide a full set of template errors as well which JIT mode is not capable of doing.

Fixes #13102
2019-01-08 13:38:13 -08:00
Renovate Bot
c045a7fea4 build: update speed-measure-webpack-plugin to version 1.2.5 2019-01-08 13:37:10 -08:00
Tiago Temporin
b233e8f59d refactor(@angular-devkit/build-angular): improve check port
Closes 8595
2019-01-08 13:36:55 -08:00
Renovate Bot
5b7464ace8 build: update terser-webpack-plugin to version 1.2.0 2018-12-26 12:34:23 -08:00
Renovate Bot
28b97db93a build: update webpack-dev-server to version 3.1.14 2018-12-26 12:33:39 -08:00
Filipe Silva
3b52fa43d3 fix(@angular-devkit/build-angular): resolve project root for fork process
Fix https://github.com/angular/angular-cli/issues/13113
2018-12-26 12:32:49 -08:00
Renovate Bot
3e8c461670 build: update loader-utils to version 1.2.1 2018-12-26 11:33:24 -08:00