383 Commits

Author SHA1 Message Date
Renovate Bot
be79d2a662 build: update chokidar to version 2.1.0 (#13599) 2019-02-07 08:24:05 -08:00
Renovate Bot
37b4714b97 build: update webpack to version 4.29.1 2019-02-05 21:28:52 -08:00
Filipe Silva
87caf2118b fix(@angular/cli): update terser-webpack-plugin (#13589)
Fix #13582
2019-02-05 21:16:05 -08:00
Filipe Silva
e6f96fb744 fix(@angular-devkit/build-angular): use sourcemap object in karma plugin (#13584)
Followup to https://github.com/angular/angular-cli/pull/13062

Fix https://github.com/angular/angular-cli/issues/13580
2019-02-05 21:15:49 -08:00
Renovate Bot
0496b514ad build: update ajv to version 6.8.1 (#13583) 2019-02-05 21:15:36 -08:00
Alan Agius
b27fabe786 fix(@angular-devkit/build-angular): remove deprecated istanbul from dependencies (#13567)
It also seems this package was unused

Fix #13562
2019-02-05 21:15:25 -08:00
Alan Agius
bf566c7101 build: update karma and jasmine dependencies (#13566)
* feat(@schematics/angular): update karma and jasmine dependencies

* feat(@angular-devkit/build-angular): update karma and jasmine dependencies

* build: update karma and jasmine dependencies

* test: add test expectations in shell component
2019-02-05 21:15:08 -08:00
Alan Agius
290b68c03a fix(@angular-devkit/build-angular): add missing open parenthesis in stacktrace (#13565)
Fixes #13558
2019-02-05 21:14:54 -08:00
Renovate Bot
8340bfda47 build: update inquirer to version 6.2.2 (#13557) 2019-02-05 21:13:59 -08:00
clydin
fa6795a847 Fully resolve correct @ngtools/webpack loader (#13549)
* refactor(@ngtools/webpack): support import-based loader resolution

* fix(@angular-devkit/build-angular): ensure correct ngtools loader version

By using the the direct import approach, the loader will be guaranteed to originate from the same package version/location as the other `@ngtools/webpack` imports.

Fixes #13539
2019-02-05 21:12:31 -08:00
Renovate Bot
f0807c0fef build: update autoprefixer to version 9.4.7 2019-01-30 11:20:12 -08:00
Charles Lyding
d18f89d483 refactor(@angular-devkit/schematics): remove unused VirtualTree classes 2019-01-25 21:42:21 -08:00
Alan Agius
2ed1719eaa fix(@angular-devkit/core): remove colors for info messages
Rely on the terminal to provide the color for info messages

fixes #13497
2019-01-23 10:37:51 -08:00
Alan
0c65664f03 fix(@angular-devkit/build-angular): error only when file is not found in non of the programs
At the moment, if a user provides multiple tsconfig, a file needs to be part of all compilations as otherwise it will fail.

This PR changes this behavour and as long as it's in one of the compilations it will not error out.

Fixes #13399
2019-01-23 10:12:22 -08:00
Alan Agius
e12adf4dcb refactor: create helper functions for pure comments 2019-01-23 10:09:47 -08:00
Renovate Bot
6b2699d530 build: update postcss to version 7.0.14 2019-01-23 10:09:06 -08:00
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