60 Commits

Author SHA1 Message Date
Angular Robot 492d76f6cf build: update cross-repo angular dependencies (#61944)
See associated pull request for more information.

PR Close #61944
2025-06-11 13:30:56 +02:00
Angular Robot ff27f21142 build: update all non-major dependencies (#61954)
See associated pull request for more information.

PR Close #61954
2025-06-11 12:05:39 +02:00
Angular Robot e73f2486a1 build: update dependency google-closure-compiler to v20250608 (#61997)
See associated pull request for more information.

PR Close #61997
2025-06-11 10:45:28 +02:00
Angular Robot 229c6b440c build: update dependency typescript to v5.8.3 (#61958)
See associated pull request for more information.

PR Close #61958
2025-06-10 17:26:45 -07:00
Angular Robot ee4acc26a7 build: update dependency google-closure-compiler to v20250603 (#61960)
See associated pull request for more information.

PR Close #61960
2025-06-09 11:57:16 -07:00
Joey Perrott d3c2956043 build: add zone.js as an npm based dependency (#61948)
Add zone.js as an npm based dependency

PR Close #61948
2025-06-06 15:20:44 -07:00
Angular Robot 9ae8027d9b build: update cross-repo angular dependencies (#61912)
See associated pull request for more information.

PR Close #61912
2025-06-06 10:29:43 +02:00
Paul Gschwendtner 23e3c6a7c9 build: introduce NodeJS loader for rules_js Node execution (#61895)
For the `rules_js` migration, we are facing the problem where
our current Angular code is shipped as ESM, but we aren't fully
there yet with fully compliant strict ESM during development.

That is because we lack explicit import extensions, and it's also a
different story how this would work in Google3, if we were to add them.

In addition, we cross-import from our packages using npm module names.
This works well for TS, for ESBuild because those can respect path
mappings— but at runtime, when executing native `jasmine_test`'s— such
mappings aren't respected. The options here are:

- avoid module imports in the repo (impossible; undesired)
- use pre-bundling of all NodeJS execution involving npm package code
  (slower, extra build action cost)
- wire up a simple NodeJS loader (supported via official APIs) to simply
  account for our cases (preferred and similar to what we experimented
  with for the last year(s); and worked well)

This commit implements the last option and allows for an easy migration
to `rules_js`, and also is pretty reasonable. Long-term we can resolve
the extension problem if we e.g. migrate to real explicit extensions + a
proper TS module resolution like e.g. `nodenext`.

PR Close #61895
2025-06-05 13:33:52 +02:00
Angular Robot f6841ea089 build: update cross-repo angular dependencies (#61881)
See associated pull request for more information.

PR Close #61881
2025-06-05 10:17:01 +02:00
Paul Gschwendtner 8564cf48d8 build: replace all ng_package with new rule from rules_angular (#61862)
Replaces all `ng_package` rule with the new rule from `rules_angular`.

PR Close #61862
2025-06-05 07:34:50 +00:00
Paul Gschwendtner a24fb53a73 build: remove packages/bazel (#61862)
Removes the `@angular/bazel` package as we no longer need it. Yay!

It's replaced by `rules_angular`.

PR Close #61862
2025-06-05 07:34:50 +00:00
Paul Gschwendtner a9a7654cbf build: migrate packages/compiler-cli to ts_project (#61862)
This commit migrates the remaining pieces of `compiler-cli` to
`ts_project`. This involves a few more things during migration:

- the `ng_module` ngc_wrapped rule broke as part of this change, so we
  switched it to `ts_project` too. This logic is soon gone anyway.

- we needed an extra pnpm "package.json" for the linker babel test. This test is
  loading from the real compiler-cli npm package. Babel needs a real
  node module for this, so this solution seems reasonable. It may be
  worth exploring in the future to move this test into an integration
  test though.

- the older integrationtest in compiler-cli is removed as the coverage
  is much better with the compliance test suite and this test.

PR Close #61862
2025-06-05 07:34:49 +00:00
Angular Robot 49e273a5f9 build: update all non-major dependencies (#61701)
See associated pull request for more information.

PR Close #61701
2025-06-04 17:23:54 -04:00
Angular Robot bdf882ccd4 build: update dependency google-closure-compiler to v20250601 (#61869)
See associated pull request for more information.

PR Close #61869
2025-06-04 12:20:47 -04:00
Angular Robot 3710b124a1 build: update cross-repo angular dependencies (#61855)
See associated pull request for more information.

PR Close #61855
2025-06-04 10:24:51 -04:00
Angular Robot 661b58cb0c build: lock file maintenance (#61814)
See associated pull request for more information.

PR Close #61814
2025-06-03 10:49:42 -04:00
Paul Gschwendtner b5d21b00bc build: ensure optimization rule can use compiler-cli from HEAD (#61810) (#61830)
This ensures that the new optimization rule, and also adev (when we
complete migrating it to `rules_js`) can use the latest compiler-cli
version from HEAD.

PR Close #61810

PR Close #61830
2025-06-03 08:21:13 -04:00
Angular Robot 30ea478be4 build: update cross-repo angular dependencies (#61704)
See associated pull request for more information.

PR Close #61704
2025-06-03 07:33:33 -04:00
Angular Robot 9e16d9cdf6 build: update dependency yargs to v18 (#61770)
See associated pull request for more information.

PR Close #61770
2025-06-03 07:02:12 -04:00
Paul Gschwendtner 4fa276214c build: rework benchmarks and examples in modules/ to new optimization rule
We are dropping the custom ESBuild and Terser pipeline from dev-infra
and instead leverage the Angular CLI directly. This commit adjusts
the benchmarks to use this new rule.
2025-05-30 10:01:23 +02:00
Paul Gschwendtner e910893fa6 build: adjust bundling tests to use Angular CLI
Instead of dev-infra maintaining a custom ESBuild + Terser pipeline that
tries to emulate the Angular CLI, we are switching the bundling core
tests to a new rule that really leverages the Angular CLI.

This involves some file renames and small adjustments. In addition, we
leverage the updated symbol tracking rule to output new goldens that can
work with multiple bundle files (as generated by the Angular CLI;
especially with defer and its "lazy" chunks).
2025-05-30 10:01:23 +02:00
Paul Gschwendtner c7ac9dfd4f build: ensure compiler is properly picked up as runtime dep of compiler-cli
Currently when linking the `@angular/compiler-cli` package, the peer
dependency to `compiler` is not resolved and we are trying to make the
compiler dependency available via `data`. This is unidiomatic and
brittle. This commit fixes this.
2025-05-30 10:01:23 +02:00
Paul Gschwendtner e9987f2019 build: update api-gen to work with compiler as ts_project
Compiler now would have `.js` files. Those aren't picked up as ESM,
unless we install the `package.json` with `type: module`. Sounds great
on paper, but doesn't work in reality because the way the compiler
packages are available to `api-gen/` is via the old `rules_nodejs`
linker, so the `packages/package.json` wouldn't work; nor do the
`package.json`s of the e.g. compiler-cli package work- because those
already contain the `exports` of the built npm package.

We fix this in a much more reasonable way, and the whole module
resolution problem by leveraging the pnpm linking here. This works as
expected.
2025-05-30 10:01:23 +02:00
Angular Robot cc5a393a27 build: lock file maintenance (#61681)
See associated pull request for more information.

PR Close #61681
2025-05-26 11:56:37 +00:00
Angular Robot 360660db17 build: update all non-major dependencies (#61667)
See associated pull request for more information.

PR Close #61667
2025-05-26 11:13:25 +00:00
Angular Robot 2f1f6eeb57 build: update cross-repo angular dependencies (#61680)
See associated pull request for more information.

PR Close #61680
2025-05-26 10:27:08 +00:00
Angular Robot 6b7c8d1d6f build: update cross-repo angular dependencies to v20.0.0-rc.2 (#61588)
See associated pull request for more information.

PR Close #61588
2025-05-21 15:31:35 -07:00
Angular Robot 9d8a778b28 build: update cross-repo angular dependencies (#61577)
See associated pull request for more information.

PR Close #61577
2025-05-21 15:01:11 +00:00
Angular Robot c68e9d0033 build: update cross-repo angular dependencies (#61562)
See associated pull request for more information.

PR Close #61562
2025-05-21 11:56:30 +00:00
Angular Robot 7a447271de build: update cross-repo angular dependencies (#61531)
See associated pull request for more information.

PR Close #61531
2025-05-20 17:45:32 +00:00
Angular Robot 9de1d4fbbf build: update dependency undici to v7 (#61523)
See associated pull request for more information.

PR Close #61523
2025-05-20 16:52:24 +00:00
Angular Robot 6218b381c7 build: update cross-repo angular dependencies (#61509)
See associated pull request for more information.

PR Close #61509
2025-05-20 13:50:57 +00:00
Angular Robot 29d8283d65 build: update dependency @octokit/graphql to v9 (#61505)
See associated pull request for more information.

PR Close #61505
2025-05-20 12:31:14 +00:00
Angular Robot 3c5b0296cd build: update cross-repo angular dependencies (#61507)
See associated pull request for more information.

PR Close #61507
2025-05-20 12:01:28 +00:00
Angular Robot f0ce891d27 build: update cross-repo angular dependencies (#61504)
See associated pull request for more information.

PR Close #61504
2025-05-20 11:08:30 +00:00
Angular Robot f702f0e217 build: update dependency conventional-changelog to v7 (#61491)
See associated pull request for more information.

PR Close #61491
2025-05-20 10:22:09 +00:00
Joey Perrott a66e71d338 build: migrate adev to use ng_project (#61345)
Move all of adev to use ng_project instead of ng_module

PR Close #61345
2025-05-20 09:17:07 +00:00
Angular Robot a30fc96e98 build: update cross-repo angular dependencies (#61466)
See associated pull request for more information.

PR Close #61466
2025-05-19 12:05:27 +00:00
Angular Robot 425b9656a3 build: lock file maintenance (#61457)
See associated pull request for more information.

PR Close #61457
2025-05-19 11:20:51 +00:00
Angular Robot bc2bb61c8f build: update all non-major dependencies (#61463)
See associated pull request for more information.

PR Close #61463
2025-05-19 10:09:58 +00:00
Alan Agius 74be701d82 build: remove @types/diff (#61448)
The latest diff package includes the TS types.

PR Close #61448
2025-05-19 09:18:21 +00:00
Angular Robot 41ded3dbc8 build: update cross-repo angular dependencies (#61436)
See associated pull request for more information.

PR Close #61436
2025-05-19 08:06:27 +00:00
Angular Robot 670b83c1de build: update dependency diff to v8 (#61422)
See associated pull request for more information.

Closes #61399 as a pr takeover

PR Close #61422
2025-05-16 15:49:29 +00:00
Angular Robot e17ba18fd6 build: lock file maintenance (#61267)
See associated pull request for more information.

PR Close #61267
2025-05-16 15:47:50 +00:00
Alan Agius 1d6d8a3ff7 build: update cross-repo angular dependencies (#61416)
See associated pull request for more information.

Closes #61402 as a pr takeover

PR Close #61416
2025-05-16 14:33:35 +00:00
Paul Gschwendtner e13d6a31e1 build: update dev-infra for latest RBE changes (#61412)
Updates dev-infra for the latest RBE changes.

PR Close #61412
2025-05-16 13:47:32 +00:00
Angular Robot a9d0ed6dfe build: update cross-repo angular dependencies (#61343)
See associated pull request for more information.

PR Close #61343
2025-05-16 08:59:04 +00:00
Angular Robot 02088d5c14 build: update dependency @bazel/runfiles to v6 (#61324)
See associated pull request for more information.

PR Close #61324
2025-05-16 07:49:28 +00:00
Alan Agius 7cb903f651 build: remove resolution for @angular/core (#61361)
This causes running `pnpm import` directly to fail

```
Scope: all 4 workspace projects
Progress: resolved 1, reused 0, downloaded 0, added 0
.                                        |  WARN  deprecated @babel/plugin-proposal-async-generator-functions@7.20.7
.                                        |  WARN  deprecated gulp-conventional-changelog@5.0.0
.                                        |  WARN  deprecated angular@1.5.11
.                                        |  WARN  deprecated angular@1.6.10
.                                        |  WARN  deprecated angular@1.7.9
.                                        |  WARN  deprecated angular@1.8.3
.                                        |  WARN  deprecated protractor@7.0.0
.                                        |  WARN  deprecated tslint@6.1.3
Progress: resolved 177, reused 1, downloaded 0, added 0
Packages are hard linked from the content-addressable store to the virtual store.
  Content-addressable store is at: /tmp/renovate/cache/others/pnpm-store/v3
  Virtual store is at:             node_modules/.pnpm
Progress: resolved 323, reused 2, downloaded 1, added 0
Progress: resolved 833, reused 2, downloaded 1, added 0
Progress: resolved 1565, reused 2, downloaded 1, added 0
Progress: resolved 2264, reused 2, downloaded 1, added 0
 ERR_PNPM_NO_MATCHING_VERSION  No matching version found for @angular/compiler@0.0.0-PLACEHOLDER

This error happened while installing a direct dependency of /tmp/renovate/repos/github/angular/angular

The latest release of @angular/compiler is "19.2.10".

Other releases are:
  * v4-lts: 4.4.7
  * v5-lts: 5.2.11
  * v6-lts: 6.1.10
  * v7-lts: 7.2.15
  * v8-lts: 8.2.14
  * v9-lts: 9.1.13
  * v10-lts: 10.2.5
  * v11-lts: 11.2.14
  * v12-lts: 12.2.17
  * v14-lts: 14.3.0
  * v13-lts: 13.4.0
  * v15-lts: 15.2.10
  * v16-lts: 16.2.12
  * v17-lts: 17.3.12
  * v18-lts: 18.2.13
  * next: 20.0.0-rc.0

If you need the full list of all 906 published versions run "$ pnpm view @angular/compiler versions".

```

PR Close #61361
2025-05-15 09:16:23 +02:00
Angular Robot 65032ab42e build: update all non-major dependencies (#61179)
See associated pull request for more information.

PR Close #61179
2025-05-14 10:37:48 -07:00