8906 Commits

Author SHA1 Message Date
Joey Perrott
b315c7b4c4 release: bump the next branch to v13.3.0-next.0 2022-01-19 14:18:55 -08:00
Joey Perrott
633643ed6c docs: release notes for the v13.1.4 release 2022-01-19 13:32:48 -08:00
Bill Barry
acf7532bd7 fix(@angular-devkit/build-angular): load translations fresh start
Currently when making a change while serving a localized application, duplicate
translation warnings appear for every translation id. This fixes that by
replacing the whole translation object with a new one each time translations
are loaded.

fixes #22398
2022-01-19 17:45:34 +01:00
Renovate Bot
0421cb5e8f build: update angular to 59918ee 2022-01-19 12:14:11 +00:00
Renovate Bot
9e1ed8cfbd build: lock file maintenance 2022-01-19 08:29:42 +01:00
Renovate Bot
6801e3db14 build: update all non-major dependencies 2022-01-19 08:29:06 +01:00
Doug Parker
4de2eb54f8 build: bump Angular peer deps to 13.2.0-next
`next` releases are currently for 13.2.0, so this is necessary to avoid peer dep warnings.
2022-01-19 07:22:19 +01:00
Renovate Bot
52964b135c build: update dependency resolve-url-loader to v5 2022-01-19 07:21:31 +01:00
Alan Agius
a4ff7e9345 build: update lock file 2022-01-19 07:21:10 +01:00
Alan Agius
b6886cea52 refactor(@angular-devkit/build-angular): refactor mini-css-extract-plugin import to ES6
`mini-css-extract-plugin` now ships its own types.
2022-01-19 07:21:10 +01:00
Renovate Bot
79a474de68 build: update all non-major dependencies 2022-01-19 07:21:10 +01:00
Doug Parker
a75020373c build: bump .nvmrc version
`@typescript-eslint/eslint-plugin@5.9.1` requires at least `14.17.0`, so our current `.nvmrc` isn't up to date enough.

```
$ yarn --frozen-lockfile                                                                                                                                                                (master|✔)
yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
error @typescript-eslint/eslint-plugin@5.9.1: The engine "node" is incompatible with this module. Expected version "^12.22.0 || ^14.17.0 || >=16.0.0". Got "14.16.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
```
2022-01-16 19:41:34 +00:00
Alan Agius
a35262e6a5 refactor(@angular-devkit/build-angular): exit early when there are no component style budgets
With this change we exit the function early, when there are no budgets defined.
2022-01-16 19:41:13 +00:00
dependabot[bot]
86af1e5f09 build: bump engine.io from 6.1.0 to 6.1.1
Bumps [engine.io](https://github.com/socketio/engine.io) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/master/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.1.0...6.1.1)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-16 19:40:56 +00:00
Renovate Bot
5967d79c73 build: update angular 2022-01-16 19:40:43 +00:00
Alan Agius
b5c4a23446 fix(@angular-devkit/build-angular): support ESNext as target for JavaScript optimizations
Previously, when ESNext was used, we fallbacked to ES2020 which caused ESBuild to output broken code.

Closes #22486
2022-01-16 19:40:29 +00:00
Alan Agius
a0784bd8cb fix(@angular-devkit/build-angular): disable parsing new URL syntax
When web-workers are enabled we allowing parsing `new URL` syntax which has the side-effect that Webpack will treat all assets as asset modules (https://webpack.js.org/guides/asset-modules/#url-assets). With this change we remove this inconsistency by disabling the `url` parsing which doesn't effect `new Worker(new URL(...))`.
2022-01-16 19:39:00 +00:00
Doug Parker
c9cb330a07 docs: release notes for the v11.2.18 release
Inserted underneath today's releases so as not to imply that this LTS release is the latest-and-greatest Angular.
2022-01-12 16:18:41 -08:00
Doug Parker
316afb9127 docs: release notes for the v12.2.15 release
Placed these under the latest and next releases to avoid giving the impression that this is the latest-and-greatest Angular since it is only an LTS release.
2022-01-12 15:29:08 -08:00
Doug Parker
2fd4df3bfe docs: release notes for the v13.1.3 release 2022-01-12 14:14:18 -08:00
Doug Parker
e94a803020 release: cut the v13.2.0-next.2 release 13.2.0-next.2 2022-01-12 13:27:31 -08:00
Joey Perrott
7b24cee0c7 build: update shelljs dependencies to "^0.8.5"
Update shelljs dependencies to ^0.8.5 to fix a vulnerability reported to shelljs.
2022-01-12 11:29:15 -08:00
Renovate Bot
acad0abbb9 build: update dependency postcss-preset-env to v7 2022-01-12 10:08:19 -08:00
Renovate Bot
dce688c8d1 build: update angular 2022-01-12 10:07:58 -08:00
Renovate Bot
81b2bd6ea3 build: update all non-major dependencies 2022-01-12 10:07:17 -08:00
Alan Agius
426ddb68d9 fix(@angular-devkit/build-angular): ensure $localize calls are replaced in watch mode
When `translations` is undefined `$localize` calls are not replaced.

2c9a33dddb/packages/angular_devkit/build_angular/src/builders/dev-server/index.ts (L382)

Closes #22435
2022-01-12 10:06:49 -08:00
Alan Agius
0d68ed5473 fix(@angular-devkit/build-angular): localized bundle generation fails in watch mode
Previously, we used to delete the temporary emitted JS and map files. However this causes a problem in watch mode, as Webpack will not re-emit these deleted files during the next incremental re-build.

With this change we now delete the entire temporary directory when the process is being terminated instead of a file by file bases.

Closes #22395
2022-01-12 10:05:08 -08:00
Kasper Christensen
08152f78b2 refactor(@schematics/angular): changed casings and small reorganizing
Removed profiling files

Removed chrome-profiler-events*.json as it's no longer generated.
2022-01-12 10:04:47 -08:00
Elio Goettelmann
50167a36b0 fix(@angular-devkit/build-angular): websocket client only injected if required
After the webpack-dev-server migration to v4, the websocket client was always injected, even if not required. This caused unnecessary 'ws' requests when live-reload and hmr were disabled.
2022-01-12 10:03:55 -08:00
Derek Cormier
4102a3f583 build: move engine substitutions out of jq filter 2022-01-12 10:02:23 -08:00
Derek Cormier
c2737dd51a build: use placeholder version for stamping 2022-01-12 10:02:23 -08:00
Doug Parker
787ebce5d7 docs: clarify that patch/next releases do not require framework to release in advance
This allows CLI releases to generally be done in parallel with framework and save a lot of time. Major and minor version bumps do require waiting for FW however and that is unchanged.
2022-01-12 09:53:37 -08:00
Alan Agius
6d2087b8f8 fix(@angular-devkit/build-angular): automatically purge stale build cache entries
With every build-angular release, previously created cache entries get stale and are no longer used. This causes the cache to keep growing as older files are not purged.

With this change we automatically purge entries that have been created with older version of build-angular and can no longer be used with the current installed version.

Closes #22323
2022-01-12 09:46:03 -08:00
minijus
cbe028e37c feat(@angular-devkit/build-angular): expose i18nDuplicateTranslation option of browser and server builders
Closes #22201
2022-01-10 16:14:14 -08:00
Alan Agius
11f817adae fix(@angular-devkit/build-angular): use contenthash instead of chunkhash for chunks
See https://github.com/waysact/webpack-subresource-integrity/tree/main/webpack-subresource-integrity#caching and https://github.com/waysact/webpack-subresource-integrity/issues/162 for more information about this.

Closes #22439
2022-01-10 16:13:39 -08:00
Alan Agius
a5e375ca93 fix(@angular-devkit/build-angular): correctly resolve core-js/proposals/reflect-metadata
Closes #22443
2022-01-10 16:13:06 -08:00
Renovate Bot
4d09782497 build: lock file maintenance 2022-01-10 13:23:53 -08:00
Renovate Bot
c33a64145a build: update angular 2022-01-10 12:37:32 -08:00
Alan Agius
2b789b3ad0 refactor: remove @types/webpack-dev-server
This package is no longer needed since `webpack-dev-server` now has it's own typings.
2022-01-10 11:32:40 -08:00
Renovate Bot
f70f871db2 build: update all non-major dependencies 2022-01-10 11:32:40 -08:00
Alan Agius
17c78a53ba docs: remove old information from debugging section
`universal-analytics` has been removed via dbce2a3f28 which makes `DEBUG=universal-analytics` unusable.
2022-01-10 10:29:15 -08:00
Derek Cormier
4b5c52b0d8 build: perform package.json substitutions in bazel build 2022-01-10 10:25:49 -08:00
Renovate Bot
f20c6d03aa build: update schematics dependencies to v4 2022-01-10 10:24:59 -08:00
Zoltan Lehoczky
aadfc79152 fix(@schematics/angular): set skipTest flag for resolvers when using ng new --skip-tests 2022-01-10 10:24:33 -08:00
Jordan Pittman
509322b621 fix(@angular-devkit/build-angular): Don't use TAILWIND_MODE=watch
This was only used as a workaround for older postcss-loder versions. It is no longer necessary. Additionaly it does not work with polling.
2022-01-10 10:23:38 -08:00
Lukas Spirig
9a9af20400 fix(@angular-devkit/build-angular): enable :where CSS pseudo-class
Currently when using the `:where` CSS pseudo-class in Angular CLI projects,
a warning will be emitted, as `:where` could not be interpreted. Updating
to the latest version of `critters` fixes this issue.
2022-01-10 10:22:29 -08:00
Alan Agius
2c9a33dddb refactor(@angular-devkit/build-angular): ability to perform DCE but retain symbol names
Previously, we enabled the `keepNames` esbuild when mangling was disabled, this caused dead code to be retained because of the transformations that esbuild did to the input.

Input
```js
class foo {}
```

Output
```js
var l = Object.defineProperty,
  a = (s, c) => l(s, "name", { value: c, configurable: !0 });
class foo {}
a(foo, "foo");
```

Previously we enabled the `keepNames` esbuild option when mangling was disabled, which is actually not needed to retain the name of symbols but is needed for SSR because Domino relies on the `name` property on functions and classes.

Closes #22354
2021-12-17 13:30:52 +01:00
Alan Agius
b0c8109a99 build: update all non-major dependencies 2021-12-17 12:50:59 +01:00
Alan Agius
b7e2923743 fix(@angular/cli): remove extra space in Unable to find compatible package during ng add 2021-12-17 11:08:01 +01:00
Renovate Bot
fd22dd5efe build: update angular 2021-12-17 07:16:04 +01:00