434 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 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
Angular Robot ccdbdf7533 build: update rules_angular digest to 845ffcd (#61890)
See associated pull request for more information.

PR Close #61890
2025-06-05 12:07:17 +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 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 9a24a2b0eb build: update rules_angular digest to 8c799e8 (#61841)
See associated pull request for more information.

PR Close #61841
2025-06-03 10:36:46 -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 f9258123fa build: update rules_angular digest to e0f7af7 (#61780)
See associated pull request for more information.

PR Close #61780
2025-05-30 13:27:32 -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
Angular Robot 7081949665 build: update bazel dependencies
See associated pull request for more information.
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 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 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 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
Alan Agius 30e081287d fix(core): update min Node.js support to 20.19, 22.12, and 24.0 (#61500)
This is to match the versions of the Angular CLI.

See: https://github.com/angular/angular-cli/pull/30349

PR Close #61500
2025-05-20 14:17:20 +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 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 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 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 e409d94b92 build: update cross-repo angular dependencies to 4d867b5 (#61423)
See associated pull request for more information.

PR Close #61423
2025-05-16 15:51:33 +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
Paul Gschwendtner 5c1d2eb262 build: support new ng_project rule (#61335)
Supports the `ng_project` rule with the local compiler-cli version
from HEAD.

PR Close #61335
2025-05-14 08:35:14 -07:00
Angular Robot d4cb444fb6 build: update cross-repo angular dependencies (#61287)
See associated pull request for more information.

PR Close #61287
2025-05-13 17:16:22 -07:00
Angular Robot f5f6eadf8f build: update cross-repo angular dependencies (#61172)
See associated pull request for more information.

PR Close #61172
2025-05-12 15:25:11 -07:00
Joey Perrott 345d3d8f8a build: migrate adev shared-docs package to use ts_project (#61218)
Migrate the build rules for shared docs to use ts_project

PR Close #61218
2025-05-09 16:30:44 +00:00
Paul Gschwendtner b07a2dfce1 build: prepare for compiler-cli to be using ts_project (#61181)
Prepare the compiler-cli package for being ready for migration
to `ts_project`.

PR Close #61181
2025-05-09 15:59:47 +00:00
Paul Gschwendtner 2bd9edf0b2 build: migrate symbol-extractor to ts_project (#61197)
Migrates the symbol-extractor code to `ts_project`.

PR Close #61197
2025-05-08 09:24:30 -07:00
Joey Perrott 4eb36373b0 build: migrate documentation site deploy script to use ts_project (#61149)
Migrate to the new toolchain

PR Close #61149
2025-05-06 13:39:35 -07:00
Angular Robot 3b3466a732 build: update rules_angular digest to 42d4791 (#61126)
See associated pull request for more information.

PR Close #61126
2025-05-05 15:36:39 -07:00
Angular Robot d8d4ee2f2d build: update rules_angular digest to 3ba9d67 (#61124)
See associated pull request for more information.

PR Close #61124
2025-05-05 09:24:35 -07:00
Joey Perrott 1c610a57de build: set up ts_project interop for rules_js migration (#61087)
The `ts_project` interop rule that we've built was also used in the
Angular CLI migration, and it allows us to mix `ts_project` and
`ts_library` targets; enabling an incremental migration. Additionally
set up the `ng_project` to replace `ng_module`.

PR Close #61087
2025-05-02 09:12:23 -07:00
Joey Perrott 273e09d6a3 build: setup rules_ts for compiling TypeScript sources (#61087)
This commit sets up `rules_ts`, providing the `ts_library` equivalent
for the `rules_js` migration.

PR Close #61087
2025-05-02 09:12:23 -07:00
Joey Perrott 74481e2693 build: setup rules_js and link dependencies (#61087)
Sets up `rules_js` and links dependencies into the bazel-bin.

PR Close #61087
2025-05-02 09:12:23 -07:00
Joey Perrott c4383bd3e9 build: update to bazel 6 (#61087)
This is necessary for an incremental migration to `rules_js` which
requires Bazel v6. Bazel v6 removed the managed directories feature,
which means we no longer can rely on symlinked node modules as the Bazel
repository; but rather need to duplicate dependencies. This is
okay/acceptable to enable the incremental migration.

PR Close #61087
2025-05-02 09:12:23 -07:00
Angular Robot 8e6841482a build: update io_bazel_rules_sass digest to cbe5261 (#60882)
See associated pull request for more information.

PR Close #60882
2025-04-16 12:43:45 -04:00
Angular Robot 6fa8d44197 build: update io_bazel_rules_sass digest to b4800f3 (#60737)
See associated pull request for more information.

PR Close #60737
2025-04-07 13:33:14 -07:00
Angular Robot c975e751a5 build: update io_bazel_rules_sass digest to 3548d6b (#60721)
See associated pull request for more information.

PR Close #60721
2025-04-03 13:08:01 -07:00
Angular Robot 97556e6f64 build: update io_bazel_rules_sass digest to b80aeb7 (#60653)
See associated pull request for more information.

PR Close #60653
2025-03-31 21:24:49 +00:00
Angular Robot 4d6cce222b build: update io_bazel_rules_sass digest to ebdb141 (#60428)
See associated pull request for more information.

PR Close #60428
2025-03-18 10:18:16 +01:00
Charles Lyding 3089ab4ac1 build: update minimum development Node.js versions (#60080)
With Node.js v18 approaching End-of-Life on 2025-04-30, the minimum
supported versions for development have been updated to `^20.11.1 || ^22.11.0`.
This change does not affect published packages.

The custom ESM loader was disabled in several Node.js jasmine tests due
to incompatibilities with the updated custom loader API in newer Node.js
versions. The API in v18 was not considered stable. The rules_js migration
will remove the need for this loader fully in future.

PR Close #60080
2025-03-10 09:45:05 -07:00
Angular Robot 349bc5351b build: update io_bazel_rules_sass digest to 3b3667f (#60092)
See associated pull request for more information.

PR Close #60092
2025-02-25 10:45:34 -05:00
Angular Robot 650e1f9a86 build: update io_bazel_rules_sass digest to c01e884 (#59948)
See associated pull request for more information.

PR Close #59948
2025-02-14 16:34:23 +00:00
Alan Agius c93e4fe497 build: update bazel node.js version to 18.20.5 (#59943)
This is needed as selenium-webdriver requires at least this version.

PR Close #59943
2025-02-14 16:31:04 +00:00
Angular Robot 6f315fe501 build: update io_bazel_rules_sass digest to d829b6a (#59862)
See associated pull request for more information.

PR Close #59862
2025-02-12 09:47:52 -08:00