352 Commits

Author SHA1 Message Date
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
Alan Agius
02a498ef39 build: update webpack to 4.28.2 2018-12-26 11:27:25 -08:00
Alan Agius
b071d1cd1d build: update several dependencies
This is so that renovate won't trigger for these dependencies
2018-12-21 09:31:20 -08:00
Renovate Bot
ce42a4ce4e build: update semver to version 5.6.0 2018-12-20 13:18:17 -08:00
Renovate Bot
c717d61b1a build: update postcss-import to version 12.0.1 2018-12-20 13:17:57 -08:00
Renovate Bot
80823ac280 build: update portfinder to version 1.0.20 2018-12-20 13:17:27 -08:00
Renovate Bot
e05f0ab19e build: update postcss to version 7.0.7 2018-12-20 11:38:53 -08:00
Alan
5e6b42c5e3 test: add tests for elide imports
This also adds the option to provide addition files when using `createTypescriptContext` this is paramount for the elide imports tests as without this certain symbols won't have the full details.

Which will cause tests to be false positive and re-surface issues like #13212
2018-12-20 11:38:01 -08:00
Renovate Bot
bdef022ea2 build: update tree-kill to version 1.2.1 2018-12-20 11:35:35 -08:00
Renovate Bot
e1c9eec86a build: update opn to version 5.4.0 2018-12-20 11:34:53 -08:00
Renovate Bot
acca02383d build: update node-sass to version 4.11.0 2018-12-20 11:34:40 -08:00
Renovate Bot
719d6abdbc build: update mini-css-extract-plugin to version 0.5.0 2018-12-20 11:34:21 -08:00
Renovate Bot
5a02a83d56 build: update ajv to version 6.6.2 2018-12-19 14:02:07 -08:00
Alan Agius
8bded93d8a fix(@ngtools/webpack): import as results in the alias being undefined with Typescript 3.2
When using the `specifier.propertyName` with `typeChecker.getSymbolAtLocation` it will return a more detailed symbol then we originally have in the `usedSymbols` set.

We should probably use `symbol.id` to actually check if the symbols are the same, however the `id` is not exposed in the Symbol interface.

Using `node.name` will return the same symbol that we have stored in the set.

Fixes #13212
2018-12-19 10:55:05 -08:00
Alan Agius
5111d15ff2 build: update to TypeScript 3.2 and Angular 7.2 RC 2018-12-19 10:55:05 -08:00
Amadou Sall
18566b0442 fix(@angular-devkit/build-angular): remove circular dependencies warnings in ngfactory files
Fixes #11135
2018-12-19 10:26:18 -08:00