1660 Commits

Author SHA1 Message Date
Alan Agius
37d8e25af8 fix(@angular-devkit/build-angular): generate consistent filenames
With this change we generate consistent file names when using the browser builder in watch mode with differential loading.

Closes #15157
2021-01-12 17:06:17 +01:00
Charles Lyding
a78eaad91a test(@angular-devkit/build-angular): add browser builder scripts longhand option tests
This change adds expanded unit tests for the browser builder's `scripts` longhand option using the builder test harness.
2021-01-12 09:34:49 +01:00
Charles Lyding
76b023e55e feat(@angular-devkit/build-angular): update IE11 Object/Array polyfills
This change adds the following polyfills for IE11 (`nomodule` browsers):
ES2016:
Array.prototype.includes
ES2017:
Object.entries
Object.values
Object.getOwnPropertyDescriptors
ES2019:
Object.fromEntries
Array.prototype.flat
Array.prototype.flatMap
2021-01-12 09:30:23 +01:00
Renovate Bot
538bb187c5 build: update sass to version 1.32.4 2021-01-12 09:28:34 +01:00
Renovate Bot
874522cc18 build: update license-webpack-plugin to version 2.3.11 2021-01-12 09:28:01 +01:00
Alan Agius
a266f55b6c test(@angular-devkit/build-angular): change extractLicenses unit test to use build harness
This change adds a unit tests for the browser builder's extractLicenses option using the builder test harness.
2021-01-11 19:57:01 +01:00
Alan Agius
df897f0e41 docs: update Ivy NGCC link 2021-01-11 19:16:23 +01:00
Alan Agius
3e6a10219b test(@angular-devkit/build-angular): change allowedCommonJsDependencies unit test to use build harness
This change adds a unit tests for the browser builder's allowedCommonJsDependencies option using the builder test harness.
2021-01-11 19:15:57 +01:00
Alan Agius
5e2e392241 test(@angular-devkit/build-angular): add appendToFile helper to build harness 2021-01-11 19:15:57 +01:00
Renovate Bot
1e9230ec6e build: update less to version 4.1.0 2021-01-11 08:31:50 +01:00
Charles Lyding
4f352ea204 refactor(@angular-devkit/build-angular): use script target in custom babel loader
This change uses the project's TypeScript configuration script target to determine the required Babel processing.
2021-01-11 08:22:10 +01:00
Renovate Bot
507be0d1b9 build: update stylus-loader to version 4.3.2 2021-01-09 19:01:37 +01:00
Renovate Bot
bef121ea97 build: update postcss to version 8.2.4 2021-01-09 14:02:36 +01:00
wenqi73
ab72f8dab0 feat(@angular-devkit/build-angular): support extracting and merging with arb format 2021-01-08 20:45:08 +01:00
wenqi73
dc9766738d feat(@angular-devkit/build-angular): support extracting with json file 2021-01-08 20:45:08 +01:00
Charles Lyding
35d8adf020 feat(@angular-devkit/build-angular): integrate Angular compiler linker
The newly introduced library linker mode that removes the need for ngcc is integrated into the Angular CLI's build system.  This allows libraries that are built in linker mode to be used when building an application.
2021-01-08 15:45:45 +01:00
Renovate Bot
48c4393d27 build: update postcss to version 8.2.3 2021-01-08 10:14:04 +01:00
Renovate Bot
7e90c94adb build: update autoprefixer to version 10.2.1 2021-01-08 10:13:46 +01:00
Renovate Bot
c7ebcfdf2b build: update license-webpack-plugin to version 2.3.10 2021-01-08 10:13:36 +01:00
Alan Agius
73973ae6a0 Revert "docs: add default value for karma watch option"
This reverts commit a3b676f623cb7ca7825c2991ebc1135e52cfa1a9.
2021-01-07 18:53:04 +01:00
Renovate Bot
896a9038d8 build: update sass to version 1.32.2 2021-01-07 09:57:34 +01:00
Renovate Bot
d02897ee05 build: update open to version 7.3.1 2021-01-07 09:57:25 +01:00
Renovate Bot
46cc1321a2 build: update rollup to version 2.36.1 2021-01-07 09:38:33 +01:00
Alan Agius
1df8a3d09d fix(@angular-devkit/build-angular): correctly resolve symlinked global styles entrypoints
With this change we resolve the global stylesheet entrypoint path to use the realpath instead of the symlink path.

Fixes #3500
2021-01-06 12:01:45 +00:00
Renovate Bot
4fe3065888 build: update rollup to version 2.36.0 2021-01-06 11:57:06 +00:00
Renovate Bot
9687a9dd35 build: update autoprefixer to version 10.2.0 2021-01-06 11:56:50 +00:00
Charles Lyding
683b0c0f38 test(@angular-devkit/build-angular): add browser builder styles option tests
This change adds expanded unit tests for the browser builder's `styles` option using the builder test harness.
2021-01-06 11:55:51 +00:00
Charles Lyding
ca5f076534 test(@angular-devkit/build-angular): add browser builder statsJson option tests
This change adds expanded unit tests for the browser builder's `statsJson` option using the builder test harness.
2021-01-06 11:51:48 +00:00
Alan Agius
cfb368408b fix(@angular-devkit/build-angular): don't downlevel web-animations-js
This library is minified and it causes Babel to consume a lot of resources when trying to downlevel.

Closes #19660
2021-01-05 11:29:34 +00:00
Charles Lyding
3aa8bb1b3f test(@angular-devkit/build-angular): add initial browser builder watch option tests 2021-01-05 11:02:57 +00:00
Charles Lyding
bec3bec3b2 test(@angular-devkit/build-angular): integrate custom file watching into harness
This change integrates the recently introduced internal custom file watching support into the builder test harness.  This allows the test harness to directly trigger file changes and allows more comprehensive test isolation for builder watch scenarios.
2021-01-05 11:02:57 +00:00
Charles Lyding
11bbe7c45f refactor(@angular-devkit/build-angular): add internal custom file watcher support
This change adds internal support for providing a custom file watching mechanism to the browser (and associated) builders.  The support integrates and overrides the Webpack watch system when enabled.  This is currently intended to support builder unit testing use cases.
2021-01-05 11:02:57 +00:00
Charles Lyding
1194b9bced test(@angular-devkit/build-angular): add browser builder scripts shorthand option tests
This change adds expanded unit tests for the browser builder's `scripts` shorthand option using the builder test harness.
2021-01-05 11:02:30 +00:00
Charles Lyding
f4dfc0b954 test(@angular-devkit/build-angular): simplify usage of content/size Jasmine helpers
This change removes the need to perform an existence check prior to expecting a file's content or size in harness based builder tests.
2021-01-05 11:02:30 +00:00
Charles Lyding
97aa1fb7cc test(@angular-devkit/build-angular): add browser builder assets option tests
This change adds expanded unit tests for the browser builder's `assets` option using the builder test harness.
2021-01-04 11:52:57 +01:00
Renovate Bot
6985c3e143 build: update core-js to version 3.8.2 2021-01-04 11:40:37 +01:00
Charles Lyding
a5c93408c6 test(@angular-devkit/build-angular): add browser builder tsConfig option tests
This change adds expanded unit tests for the browser builder's `tsConfig` option using the builder test harness.
2021-01-04 11:37:39 +01:00
Charles Lyding
f4998f35a2 test(@angular-devkit/build-angular): add browser builder polyfills option tests
This change adds expanded unit tests for the browser builder's `polyfills` option using the builder test harness.
2021-01-04 11:36:38 +01:00
Renovate Bot
f74fcb6ffe build: update postcss to version 8.2.2 2020-12-30 18:25:35 +01:00
Renovate Bot
1d73e29504 build: update sass to version 1.32.0 2020-12-30 18:25:17 +01:00
Renovate Bot
d812c014fc build: update webpack-dev-server to version 3.11.1 2020-12-30 18:24:59 +01:00
Renovate Bot
36e08ffcd6 build: update ora to version 5.2.0 2020-12-29 12:13:39 +01:00
Renovate Bot
8a06b2e846 build: update less-loader to version 7.2.1 2020-12-29 12:12:57 +01:00
Renovate Bot
1aeb755855 build: update license-webpack-plugin to version 2.3.9 2020-12-26 19:44:31 +01:00
Renovate Bot
4c7ec6675d build: update license-webpack-plugin to version 2.3.7 2020-12-24 19:59:16 +01:00
Renovate Bot
c5322a369a build: update less-loader to version 7.2.0 2020-12-24 19:16:18 +01:00
Renovate Bot
b9d2bc220a build: update webpack-merge to version 5.7.3 2020-12-23 08:26:17 +01:00
Alan Agius
7cd06b7f23 docs: update optimization and sourceMap descriptions with new links
https://next.angular.io/guide/workspace-config#source-map-configuration
https://next.angular.io/guide/workspace-config#optimization-configuration
2020-12-23 08:25:53 +01:00
Alan Agius
a3b676f623 docs: add default value for karma watch option 2020-12-23 08:25:19 +01:00
Renovate Bot
ef304a794b build: update less to version 4.0.0 2020-12-19 10:32:49 +01:00