2265 Commits

Author SHA1 Message Date
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
d56179af1b build: update tslib to version 2.1.0 2021-01-06 12:01:26 +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
Charles Lyding
faf7b26ef9 test(@angular-devkit/build-angular): add browser builder option test for main 2020-12-18 10:37:26 +01:00
Charles Lyding
bfd91096be test(@angular-devkit/build-angular): add harness file jasmine helpers
This change adds an `expectFile` jasmine helper function that reduces the amount of code necessary to check a file's existence, size, or content.  Additional contextual information is also displayed when an expectation fails.
2020-12-18 10:37:26 +01:00
Charles Lyding
97bfd46b67 test(@angular-devkit/build-angular): use harness for browser builder works test
This converts the 'works' spec to use the new builder harness for testing. The change also provides for a before/after comparison of an existing test.
2020-12-18 10:37:26 +01:00
Charles Lyding
bcac38331e test(@angular-devkit/build-angular): add builder test harness 2020-12-18 10:37:26 +01:00
Charles Lyding
0e5dab45ef fix(@angular-devkit/build-angular): use URL rewrite in karma fallback middleware
This changes the internal Angular Karma plugin's asset fallback middleware to rewrite the request URL directly instead of trying to copy the request properties.  With changes in newer Node.js versions, not all request properties may be enumerable.

Fixes: #19644
2020-12-18 08:31:59 +01:00