2441 Commits

Author SHA1 Message Date
Alan Agius
cc51432661 fix(@angular-devkit/build-angular): resolve less from build-angular package 2021-01-22 10:36:20 -08:00
Alan Agius
5711e691b9 fix(@angular-devkit/build-angular): resolve postcss from build-angular package
`postcss-loader` version 4.2.0 added an `implementation` option. Using the using will ensure that the correct postcss version is used.

More info: deac9787ee

Fixes #19839
2021-01-22 10:36:20 -08:00
Alan Agius
64aa5703fa docs(@angular-devkit/build-angular): update vendorChunk and commonChunk descriptions 2021-01-20 10:30:28 -05:00
Charles Lyding
6b2a8e175e refactor(@angular-devkit/build-angular): remove virtualfs host usage from browser/dev-server
The virtualfs Host was only used for exist and directory checks during asset and file replacement option normalization within the browser and dev-server builders.
2021-01-20 10:27:43 -05:00
Renovate Bot
2d7f268baf build: update sass to version 1.32.5 2021-01-20 10:06:35 -05:00
Renovate Bot
6d81f65694 build: update autoprefixer to version 10.2.3 2021-01-20 10:02:02 -05:00
Renovate Bot
62865f7710 build: update ora to version 5.3.0 2021-01-20 10:00:36 -05:00
Charles Lyding
7b106dd963 refactor(@angular-devkit/build-angular): remove unneeded no-implicit-dependencies tslint comments 2021-01-19 15:06:29 -05:00
Charles Lyding
1d2908ad86 fix(@angular-devkit/build-angular): add service-worker as optional peer dependency
The `@angular/service-worker` package is used by the browser and app-shell builders.
By adding the package as an optional peer dependency, package managers can ensure that the package is available to import.
2021-01-19 15:06:29 -05:00
Renovate Bot
b3ccec1a26 build: update rollup to version 2.37.0 2021-01-19 10:28:43 -05:00
Renovate Bot
c8267d0e76 build: update core-js to version 3.8.3 2021-01-19 10:28:26 -05:00
Renovate Bot
b33bd06acd build: update rollup to version 2.36.2 2021-01-18 20:09:55 -05:00
Renovate Bot
387c8abdd3 build: update stylus-loader to version 4.3.3 2021-01-18 14:30:14 -05:00
cexbrayat
748c1f8445 fix(@angular-devkit/build-angular): resolve i18n outFile with normalized format
IF someone uses the `extract-i18n` with the deprecated `--i18n-format` option,
then `options.format` is undefined and the `outFile` defaults to `messages.xlf`,
whereas the content will be using the proper format.
2021-01-15 13:32:13 -05:00
Alan Agius
e368b2f141 refactor(@angular-devkit/build-angular): move karma plugin in own folder 2021-01-15 13:31:48 -05:00
Charles Lyding
d62441f183 feat(@angular-devkit/core): provide prompt validation errors to provider
This change provides the first schema validation error to a prompt provider when using a prompt definition's `validate` function.  This allows a prompt provider to show additional context to a user when an entered value is invalid.
2021-01-14 15:37:41 -05:00
Renovate Bot
539e754c8d build: update mini-css-extract-plugin to version 1.3.4 2021-01-14 10:02:13 -05:00
Renovate Bot
1413e7835a build: update webpack-dev-server to version 3.11.2 2021-01-14 10:01:47 -05:00
Charles Lyding
2ce5445ed3 feat(@angular-devkit/build-angular): support karma version 6.x
This change adds support for using karma 6.x within a project.
2021-01-13 23:12:55 +01:00
Renovate Bot
e50c60b3b6 build: update sass-loader to version 10.1.1 2021-01-12 17:17:56 +01:00
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
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