Charles Lyding
a09000cbe6
test(@angular-devkit/build-angular): remove unneeded nobazel_patch_module_resolver option
...
As of rules_nodejs 3.0.0, the `bazel_patch_module_resolver` option defaults to off.
2021-03-10 08:17:31 -06:00
Charles Lyding
a51eb6e864
test(@angular-devkit/build-angular): add dev-server execute and fetch unit test helper
...
This change extracts common test code into a helper function to reduce complexity of the dev-server builder unit tests.
2021-03-10 08:17:10 -06:00
Charles Lyding
06a354fb93
test(@angular-devkit/build-angular): add dev-server builder allowedHosts option tests
...
This change adds expanded unit tests for the dev-server builder's `allowedHosts` option using the builder test harness.
2021-03-10 08:17:10 -06:00
Charles Lyding
037a1b8e9e
test(@angular-devkit/build-angular): add dev-server builder build inline critical CSS behavior tests
...
This change adds expanded unit tests for the dev-server builder's build inline critical CSS behavior using the builder test harness.
2021-03-10 08:17:10 -06:00
Charles Lyding
a24c212203
test(@angular-devkit/build-angular): add dev-server builder build budget behavior tests
...
This change adds expanded unit tests for the dev-server builder's build budget behavior using the builder test harness.
2021-03-10 08:17:10 -06:00
Charles Lyding
420f4f2655
test(@angular-devkit/build-angular): add dev-server builder verbose option tests
...
This change adds expanded unit tests for the dev-server builder's `verbose` option using the builder test harness.
2021-03-10 08:17:10 -06:00
Charles Lyding
c9bdfc74ab
test(@angular-devkit/build-angular): add dev-server builder watch option tests
...
This change adds expanded unit tests for the dev-server builder's `watch` option using the builder test harness.
2021-03-10 08:17:10 -06:00
Renovate Bot
bcbd13fe58
build: update postcss to version 8.2.7
2021-03-08 08:50:19 -06:00
Renovate Bot
db90891782
build: update license-webpack-plugin to version 2.3.15
2021-03-08 08:49:43 -06:00
Alan Agius
84f39778cc
fix(@angular-devkit/build-angular): only remove nomodule and defer attributes empty values
...
Closes #20207
2021-03-08 08:47:55 -06:00
Charles Lyding
240727aefa
refactor(@angular-devkit/build-angular): separate global script configuration logic
...
This change moves the global script resolution logic to a separate function to aid in reducing the complexity of the Webpack styles configuration partial generation function.
2021-03-08 08:46:20 -06:00
Charles Lyding
1b5798dba3
refactor(@angular-devkit/build-angular): use nested Webpack rules to define style processing
...
By using Webpack's nested rule and `oneOf` rule support, a large amount of conditional logic and array processing can be removed from the Webpack style configuration generator function.
2021-03-08 08:46:20 -06:00
Alan Agius
1da359ac08
feat(@angular-devkit/architect): add implementation for defaultConfiguration
...
With this change, the architect can be configured to use a default configuration when it's not provided as part of the target.
Consider the below, where `defaultConfiguration` is configured to `production`. Running `ng build` will be invoked with "production" configuration.
```js
"build": {
"builder": "@angular-devkit/build-angular:browser",
"defaultConfiguration": "production",
"options": {
...
},
"configurations": {
"production": {
...
}
}
}
```
2021-03-08 08:45:54 -06:00
Renovate Bot
9b100253e4
build: update open to version 8.0.2
2021-03-03 07:03:19 -05:00
Charles Lyding
d3ea61f7fe
build: remove unused development dependencies
...
Several dependencies were no longer used within the project but still present in the `package.json`
2021-03-03 07:02:51 -05:00
Charles Lyding
e1b3ee6f58
refactor(@angular-devkit/build-angular): use custom babel loader for i18n dev-server support
...
The custom babel loader allows files to be conditionally processed by the i18n inlining transforms based on both file path and content.
By allowing content based checks, the entire parse/transform/print process can be skipped for files that do not contain localizations.
2021-03-02 14:07:09 -05:00
Renovate Bot
d23e6cad20
build: update open to version 8.0.1
2021-03-02 12:17:14 -05:00
Charles Lyding
237715f9ce
test(@angular-devkit/build-angular): improve reliability of app-shell server-worker test
...
The test now waits until the express server is listening and uses a try/finally block to ensure the server is shutdown.
The test server also only now binds to localhost and lets the OS choose a port. This provides better support for running multiple tests in parallel.
2021-03-02 09:18:59 -05:00
Renovate Bot
d3d2cc7372
build: update babel packages
2021-03-02 06:20:27 -05:00
Charles Lyding
3408c3df49
refactor(@angular-devkit/build-angular): only inline component stylesheet sourcemaps
...
This change also ensures that hidden sourcemaps will be propagated through the loader chain and are extracted for global stylesheets.
2021-03-02 06:13:19 -05:00
Renovate Bot
598190ec73
build: update inquirer to version 8.0.0
2021-03-01 10:40:04 -05:00
Renovate Bot
2ab413fda8
build: update core-js to version 3.9.1
2021-03-01 09:45:49 -05:00
Alan Agius
6a7d1e0be4
fix(@angular-devkit/build-angular): remove left-over experimentalRollupPass
option
2021-03-01 09:45:21 -05:00
Alan Agius
11b1d9c2d1
fix(@angular-devkit/build-angular): inline critical font-face rules when using crittical css inlining
...
When critical font rules are not inlined it will cause blinking as during first render the fallback font will be rendered.
Related to https://github.com/angular/universal/issues/2002
2021-02-26 16:01:42 -05:00
Alan Agius
aa3ea885ed
feat(@angular-devkit/build-angular): enable inlineCritical by default
...
BREAKING CHANGE:
Critical CSS inlining is now enabled by default. If you wish to turn this off set `inlineCritical` to `false`.
See: https://angular.io/guide/workspace-config#optimization-configuration
2021-02-26 13:22:58 -05:00
Renovate Bot
cb32006bce
build: update mini-css-extract-plugin to version 1.3.9
2021-02-26 09:07:57 -05:00
Renovate Bot
02db14ae95
build: update rxjs to version 6.6.6
2021-02-25 13:59:51 -05:00
Alan Agius
7ef73c8524
fix(@angular-devkit/build-angular): only show index and service worker status once
...
Previously the `Index html generation complete` and `Service worker generation complete` where displayed multiple times when localization was enabled.
2021-02-24 18:17:20 +01:00
Renovate Bot
48badb16ed
build: update babel packages
2021-02-24 12:08:39 +01:00
Renovate Bot
42e3f8c846
build: update babel packages
2021-02-24 11:01:15 +01:00
Renovate Bot
a06fcb1d0d
build: update babel packages
2021-02-23 11:41:32 +01:00
Charles Lyding
9dc094fb94
test(@angular-devkit/build-angular): avoid loading dev typings in unit test
...
The `tsconfig` browser builder option unit test was unintentionally loading all development typings.
2021-02-22 20:01:04 +01:00
Alan Agius
2ef39498b0
fix(@angular-devkit/build-angular): disable declaration and declarationMap
...
When building an application or testing a library. TypeScript declarations are not needed.
Closes #20103
2021-02-22 16:55:44 +01:00
Charles Lyding
cbbb3d2d77
test(@angular-devkit/build-angular): add browser builder namedChunks option tests
...
This change adds expanded unit tests for the browser builder's `namedChunks` option using the builder test harness.
2021-02-22 12:52:01 +01:00
Alan Agius
5e2c45c8db
test(@angular-devkit/build-angular): change test to use await/async
2021-02-22 12:43:31 +01:00
Renovate Bot
28c2897edf
build: update license-webpack-plugin to version 2.3.14
2021-02-20 09:05:29 +01:00
Renovate Bot
1f8e3d3f3c
build: update sass to version 1.32.8
2021-02-19 13:03:06 +01:00
Renovate Bot
9f494fef6c
build: update babel packages
2021-02-19 10:37:30 +01:00
Renovate Bot
9a38c6584f
build: update mini-css-extract-plugin to version 1.3.8
2021-02-19 09:52:14 +01:00
Renovate Bot
448d003562
build: update core-js to version 3.9.0
2021-02-19 09:27:52 +01:00
Alan Agius
f309516bcd
refactor(@angular-devkit/build-angular): drop support for zone.js 0.10
...
BREAKING CHANGE:
Minimum supported `zone.js` version is `0.11.4`
2021-02-17 12:44:43 -06:00
Renovate Bot
c222fd0c11
build: update open to version 7.4.2
2021-02-17 12:43:49 -06:00
Renovate Bot
9f7828285b
build: update mini-css-extract-plugin to version 1.3.7
2021-02-16 14:12:00 -06:00
Renovate Bot
b2ef3c2330
build: update open to version 7.4.1
2021-02-15 14:49:19 -06:00
Renovate Bot
147fc3836c
build: update terser to version 5.6.0
2021-02-15 14:49:01 -06:00
Renovate Bot
5013170e66
build: update license-webpack-plugin to version 2.3.13
2021-02-15 14:48:24 -06:00
Renovate Bot
e2d6df29e7
build: update webpack-dev-middleware to version 4.1.0
2021-02-15 14:46:21 -06:00
Alan Agius
1bbdbaf822
build: change angular packages local version to 0.0.0
...
The integration tests run in the framework repo use `0.0.0` as version and not a previously stated `0.0.0-PLACEHOLDER`
2021-02-12 08:34:00 -06:00
Renovate Bot
873da86c71
build: update license-webpack-plugin to version 2.3.12
2021-02-12 08:33:33 -06:00
Renovate Bot
450f3825ae
build: update critters to version 0.0.7
2021-02-12 08:32:15 -06:00