1012 Commits

Author SHA1 Message Date
vikerman
2303a045ee feat(@angular-devkit/build-angular): add analytics for ivy/non-ivy builds
Look for `ngComponentDef` or `ngModuleDef` in the webpack analytics plugin
to report back whether the current build is built with Ivy enabled.
2019-10-02 12:06:38 -07:00
Renovate Bot
42155fc366 build: update caniuse-lite to version 1.0.30000998 2019-10-02 11:22:26 -07:00
Renovate Bot
a02724b22c build: update sass to version 1.23.0 2019-10-02 11:21:24 -07:00
Keen Yee Liau
8497d9ac7b build: use import instead of require for fast-json-stable-stringify 2019-10-02 11:21:10 -07:00
TinyMan
c5869f57bc feat(@angular-devkit/build-angular): set document locale when using i18nLocale
Fixes #8102
2019-10-02 10:55:15 -07:00
Keen Yee Liau
5a2a055c4d build: g3 sync for angular_devkit
Fix all build errors in g3
2019-10-01 13:15:50 -07:00
Renovate Bot
289336d6d9 build: update webpack-subresource-integrity to version 1.3.4 2019-10-01 11:25:10 -07:00
Renovate Bot
5d8a64931d build: update magic-string to version 0.25.4 2019-10-01 11:24:46 -07:00
Renovate Bot
e088701068 build: update cacache to version 13.0.1 2019-10-01 11:24:32 -07:00
Renovate Bot
22f3262617 build: update @angular/animations to version 2019-10-01 11:24:17 -07:00
Alan Agius
ae36fbcd8e fix(@angular-devkit/build-optimizer): fix error when __decorate has no __metadata
When a `__decorator` expression has no `__metadata` call, example:

```js
__decorate([
    ContentChild('heading', { read: ElementRef, static: true })
], FooBarComponent.prototype, "buttons", void 0);
```

A `Cannot read property 'kind' of undefined` error will be thrown.

Closes: #15703
2019-10-01 11:23:54 -07:00
Renovate Bot
6525d59fea build: update webpack-dev-middleware to version 3.7.2 2019-09-30 10:31:00 -07:00
Charles Lyding
941c6af1ed fix(@angular-devkit/build-angular): downlevel with non-loose ECMA compliance
This ensures that the ES5 bundles operate consistently with the ES2015+ bundles.

Fixes #15673
2019-09-30 10:09:54 -07:00
Filipe Silva
102cd86a8e fix(@angular-devkit/build-angular): don't double process factory files 2019-09-27 14:43:38 -07:00
Charles Lyding
190f80cf58 refactor(@angular-devkit/build-angular): optimize bundle process cache detection
This causes the cache checking to stop on the first miss since all required entries must be present for a bundle to be considered cached.
2019-09-27 14:41:08 -07:00
Charles Lyding
dd2a6947ff refactor(@angular-devkit/build-angular): improve performance of parallel bundle processing 2019-09-27 14:41:08 -07:00
Renovate Bot
c479365f01 build: update cacache to version 13.0.0 2019-09-26 10:01:08 -07:00
Charles Lyding
08aa5c615e fix(@angular-devkit/core): json visitors should only set writable properties 2019-09-26 10:00:35 -07:00
Charles Lyding
d3e4dfa0c0 fix(@angular-devkit/build-angular): display accurate sizes for downlevelled files
Fixes #15425
2019-09-26 10:00:35 -07:00
Charles Lyding
1930bd5845 fix(@angular-devkit/build-webpack): provide more complete compilation stats 2019-09-26 10:00:35 -07:00
Charles Lyding
8dd67cd3cb fix(@angular-devkit/build-angular): inject correct SRI values in downlevel bundles
Fixes #15468
2019-09-26 10:00:35 -07:00
Charles Lyding
d73a098900 refactor(@angular-devkit/build-angular): account for disabled mangling in downlevel cache 2019-09-26 10:00:35 -07:00
Renovate Bot
87153f159d build: update @angular/animations to version 9.0.0-next.8 2019-09-26 10:00:18 -07:00
Charles Lyding
6cb9f4df92 test: update to Angular 9.0.0-next.7
This requires localize polyfills for i18n support.
2019-09-25 10:54:25 -07:00
Alan
18fb7faf10 feat(@angular-devkit/build-angular): deprecate lazyModules option
String form of lazy loading and SystemJsNgModuleLoader are deprecated, and this is part of its usage.

See: https://angular.io/api/core/SystemJsNgModuleLoader#systemjsngmoduleloader
2019-09-25 09:47:14 -07:00
Renovate Bot
687ada993d build: update webpack to version 4.41.0 2019-09-25 09:45:08 -07:00
Renovate Bot
36bc368596 build: update terser to version 4.3.2 2019-09-25 09:44:56 -07:00
Filipe Silva
5564ce6ea1 feat(@angular-devkit/build-optimizer): scrub ɵsetClassMetadata and ɵɵsetNgModuleScope calls 2019-09-25 09:43:21 -07:00
Filipe Silva
b1f7537342 refactor(@angular-devkit/build-optimizer): refactor assignment expression identification 2019-09-25 09:43:21 -07:00
Filipe Silva
016977c9ff fix(@angular-devkit/build-optimizer): remove unecessary scrub file checks 2019-09-25 09:43:21 -07:00
Renovate Bot
44f42050b4 build: update caniuse-lite to version 1.0.30000997 2019-09-24 13:19:22 -07:00
Renovate Bot
8f1bbc111a build: update @babel/core to version 7.6.2 2019-09-24 13:19:08 -07:00
Charles Lyding
ffd153a6a2 refactor(@angular-devkit/build-angular): use project metadata in builders
This eliminates the need to manually read a workspace file and removes the use of the experimental workspace API from the package.
2019-09-24 13:18:33 -07:00
Charles Lyding
0d104c0aba feat(@angular-devkit/architect): support accessing project metadata 2019-09-24 13:18:33 -07:00
Alan Agius
ab5b1909d6 build: update rxjs to 6.5.3 2019-09-24 13:18:09 -07:00
Alan Agius
d9f0bd5f34 fix(@angular-devkit/build-angular): remove pure_getters
Closes #14316
2019-09-24 13:18:09 -07:00
Renovate Bot
c681c9df3b build: update jasmine-core to version ~3.5.0 2019-09-23 09:35:03 -07:00
Charles Lyding
8a4bc54ef3 fix(@angular-devkit/build-angular): workaround Node.js copyFile defect on macOS
Fixes #15544
2019-09-19 14:42:04 -07:00
Charles Lyding
a6b496d4ff fix(@angular-devkit/build-angular): use manual sourcemap processing for large sourcemaps
Mitigates #15493
2019-09-19 14:41:45 -07:00
Charles Lyding
e4444121d1 fix(@angular-devkit/build-angular): always use ECMA 5 optimizations with terser
There appears to be defects related to terser's ECMA 6 options.  The optimizations present a minima size improvement in general.  Further investigation is required to determine the underlying cause within terser.

Fixes #15580
2019-09-19 14:40:31 -07:00
Renovate Bot
0dd9a2edc1 build: update terser-webpack-plugin to version 2.1.0 (#15616) 2019-09-18 14:49:44 +01:00
Renovate Bot
81fd40519d build: update webpack-dev-server to version 3.8.1 (#15617) 2019-09-18 14:49:35 +01:00
Charles
ef360dd7f8 refactor(@angular-devkit/architect): use standard node resolution methods where possible (#15622)
* refactor(@angular-devkit/architect): use standard node resolution methods where possible

* refactor(@angular-devkit/core): use standard node resolution methods where possible
2019-09-18 14:49:22 +01:00
Charles
0d0d124a6d build: yarn upgrade lock update (#15589)
* build: yarn upgrade lock update

* build: change sauce connect proxy name to avoid npm package shadowing

`sauce-connect` is an old npm package.  Using the name for the saucelabs proxy tool causes false security vulnerability warnings.

* build: update license exceptions

mainly removal of now unneeded exceptions
2019-09-17 08:34:09 -07:00
Renovate Bot
021624183a build: update webpack to version 4.40.2 (#15591) 2019-09-13 16:35:47 -07:00
Renovate Bot
8459993532 build: update webpack-subresource-integrity to version 1.3.3 (#15592) 2019-09-13 16:35:38 -07:00
Renovate Bot
676b329112 build: update terser-webpack-plugin to version 2.0.1 (#15538) 2019-09-12 11:45:32 -07:00
Renovate Bot
10262a0c1a build: update @babel/core to version 7.6.0 (#15562) 2019-09-12 11:45:22 -07:00
Renovate Bot
17d08c4918 build: update sass to version 1.22.12 (#15579) 2019-09-12 11:45:01 -07:00
Alan Agius
1ea4a5ffa5 feat(@angular-devkit/build-angular): ignore express and hapi depedency expresstion (#15586)
In version 9 universal express and hapi `server.ts` will be bundled using the CLI server builder.

We need to add this to avoid `the request of a dependency is an expression` warnings

See: https://github.com/angular/universal/pull/1237
2019-09-12 11:44:32 -07:00