5337 Commits

Author SHA1 Message Date
Joey Perrott 04f1d54001 build: update to bazel 7.6.0 (#63096)
Update to later version of bazel

PR Close #63096
2025-08-14 13:01:31 +02:00
Alan Agius 53297c0776 ci: several fixes for renovate (#63083)
This commit contains several fixes for renovate to work properly with `pnpm`

PR Close #63083
2025-08-11 11:03:30 -07:00
Joey Perrott b72ef65b08 build: update to the latest version of devinfra and rename npm2 workspace (#63093)
Rename the npm2 workspace to npm and use the latest version of devinfra which drops rules_nodejs

PR Close #63093
2025-08-11 10:35:33 -07:00
Joey Perrott bba7c6fed5 build: remove unused old toolchain dependencies (#63039)
Update to latest version of dev-infra and complete the removal of rules_nodejs from the repo

PR Close #63039
2025-08-07 09:31:46 -07:00
Joey Perrott 216d883074 build: use pnpm as the package manager instead of yarn (#62926)
Use pnpm instead of yarn as the package manager and interaction tool for the repo

PR Close #62926
2025-07-31 22:11:52 +00:00
Angular Robot c92a306e5b build: update cross-repo angular dependencies (#62903)
See associated pull request for more information.

PR Close #62903
2025-07-31 09:58:08 +00:00
Joey Perrott 875ea30d6b build: remove ts_project_interop infrastructure (#62909)
Remove the interop macros and final usages

PR Close #62909
2025-07-31 09:14:25 +00:00
Joey Perrott 775f918192 build: remove usages of rules_nodejs (#62885)
Remove rules_nodejs usages with direct migrations to rule_js alternatives

PR Close #62885
2025-07-30 08:51:28 +00:00
Joey Perrott ea1afec1e4 build: move http_server and generate_api_docs into defaults2.bzl (#62878)
Move http_server and generate_api_docs into defaults2.bzl as they are rules_js compliant

PR Close #62878
2025-07-29 16:53:55 +00:00
Joey Perrott 9a8b5c74eb build: remove local zone.js build from usage in integration tests (#62800)
Remove the local zone.js build from dependencies in the integration tests

PR Close #62800
2025-07-25 16:54:20 +02:00
Angular Robot c11f7b991f build: update cross-repo angular dependencies (#62807)
See associated pull request for more information.

PR Close #62807
2025-07-25 14:32:17 +02:00
Joey Perrott 2b0f3fc7cb build: remove all usages of @bazel/runfiles (#62805)
Remove usages of @bazel/runfiles throughout the repository

PR Close #62805
2025-07-25 10:05:54 +02:00
Angular Robot 187cb9cd10 build: update cross-repo angular dependencies (#62790)
See associated pull request for more information.

PR Close #62790
2025-07-24 11:27:30 +00:00
Angular Robot f38ee0d0e9 build: update all non-major dependencies (#62755)
See associated pull request for more information.

PR Close #62755
2025-07-23 11:04:41 -04:00
Joey Perrott b388f1e518 build: remove all usages of the interop_deps attr for ts_project and ng_project (#62733)
Remove all of the usages of interop_deps as attributes in the repo

PR Close #62733
2025-07-21 13:10:18 -04:00
Angular Robot a1a78b2e13 build: update all non-major dependencies (#62716)
See associated pull request for more information.

PR Close #62716
2025-07-21 10:22:12 -04:00
Angular Robot c36de9e6ca build: update cross-repo angular dependencies (#62651)
See associated pull request for more information.

PR Close #62651
2025-07-18 10:19:36 -04:00
Joey Perrott 0db3613565 build: remove rules_nodejs based protractor tooling (#62649)
Remove the protractor setup based on rules_nodejs

PR Close #62649
2025-07-16 16:39:50 -04:00
Angular Robot acf8b742d8 build: update all non-major dependencies (#62643)
See associated pull request for more information.

PR Close #62643
2025-07-15 09:35:03 -07:00
Angular Robot db11cdd389 build: update all non-major dependencies (#62583)
See associated pull request for more information.

PR Close #62583
2025-07-11 14:46:59 -07:00
Angular Robot cfdd04b2ac build: update cross-repo angular dependencies (#62565)
See associated pull request for more information.

PR Close #62565
2025-07-11 10:40:41 -07:00
Angular Robot e9905f7b7f build: update all non-major dependencies (#62515)
See associated pull request for more information.

PR Close #62515
2025-07-10 10:21:04 -07:00
Angular Robot 743978576e build: update all non-major dependencies (#62420)
See associated pull request for more information.

PR Close #62420
2025-07-02 14:21:25 +00:00
Angular Robot 1cc1500ee0 build: update cross-repo angular dependencies (#62408)
See associated pull request for more information.

PR Close #62408
2025-07-02 07:43:48 +00:00
Angular Robot 12cc13b4d1 build: update dependency @types/node to v24.0.8 (#62391)
See associated pull request for more information.

PR Close #62391
2025-07-01 08:11:19 +00:00
Angular Robot 493f25be79 build: update all non-major dependencies (#62355)
See associated pull request for more information.

PR Close #62355
2025-06-30 08:23:50 +00:00
Joey Perrott 059fb06b9f build: migrate modules to use @rules_browsers protractor rules (#62342)
Use the protractor rules from `@rules_browsers` for the module directory.

PR Close #62342
2025-06-27 22:27:08 +00:00
Angular Robot 0a01f5b6b0 build: update cross-repo angular dependencies (#62273)
See associated pull request for more information.

PR Close #62273
2025-06-26 08:18:22 +00:00
Kristiyan Kostadinov f5180b6532 build: switch benchmarks to standalone (#62096)
Updates the `js-web-frameworks` and `largetable` benchmarks to use standalone which helps us benchmark the DOM-only instructions.

PR Close #62096
2025-06-23 14:24:09 +02:00
Angular Robot 0cd6f363ca build: update cross-repo angular dependencies (#62079)
See associated pull request for more information.

PR Close #62079
2025-06-19 10:12:19 +02:00
Joey Perrott 18a7ce892c build: migrate back to using the @npm// sourced benchmark_test macro (#62101)
Use the benchmark macro from @npm// instead of @devinfra//

PR Close #62101
2025-06-17 18:51:21 +02:00
Joey Perrott 1182fe7053 build: migrate to usages of @devinfra// instead of @npm//@angular/build-tooling (#62050)
Use workspace imported devinfra deps instead of npm dep

PR Close #62050
2025-06-16 10:23:30 +02:00
Angular Robot 1fcf67cb17 build: update cross-repo angular dependencies (#62006)
See associated pull request for more information.

PR Close #62006
2025-06-12 15:55:19 +02:00
Joey Perrott 21fc93bf4b test: use zone from npm instead of the locally built package for modules testing (#61947)
Use zone from npm for modules testing

PR Close #61947
2025-06-06 15:20:11 -07:00
Angular Robot 78c417ace1 build: update cross-repo angular dependencies (#61910)
See associated pull request for more information.

PR Close #61910
2025-06-06 10:30:47 +02:00
Angular Robot 23ad649908 build: update cross-repo angular dependencies (#61703)
See associated pull request for more information.

PR Close #61703
2025-06-03 10:34:03 -04:00
Paul Gschwendtner 77d2a7c977 build: migrate all modules/... code to ts_project (#61779)
Migrates all `modules/...`  code to `ts_project`.

PR Close #61779
2025-05-30 11:14:58 -04:00
Paul Gschwendtner 909e543f7e build: do not run ssr-benchmarks when using //... (#61566)
These are also excluded on CI, and shouldn't run locally either as they
are "manual debug" targets.

PR Close #61566
2025-05-29 14:39:12 -04:00
Paul Gschwendtner 9d7768ccd6 build: rework benchmarks and examples in modules/ to new optimization rule (#61566)
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.

PR Close #61566
2025-05-29 14:39:11 -04:00
Matthieu Riegler 2e7032e29a build: replace platform-browser-dynamic with platform-browser (#61497)
The former isn't needed anymore and is now deprecated.

PR Close #61497
2025-05-20 11:27:22 +00:00
Paul Gschwendtner 810b0a7e5c refactor: add explicit types for exports relying on inferred call return type (#61312)
As part of the Bazel toolchain migration we noticed that implicit types
generated by the TypeScript compiler sometimes end up referencing types
from other packages (i.e. cross-package imports).

These imports currently work just because the Bazel `ts_library` and
`ng_module` rules automatically inserted a `<amd-module
name="@angular/x" />` into `.d.ts` of packages. This helped TS figure
out how to import a given file. Notably this is custom logic that is not
occuring in vanilla TS or Angular compilations—so we will drop this
magic as part of the toolchain cleanup!

To improve code quality and keep the existing behavior working, we are
doing the following:

- adding a lint rule that reduces the risk of such imports breaking. The
  failure scenario without the rule is that API goldens show unexpected
  diffs, and types might be duplicated in a different package!

- keeping the `<amd-module` headers, but we manually insert them into
  the package entry-points. This should ensure we don't regress
  anywhere; while we also improved general safety around this above.

Long-term, isolated declarations or a lint rule from eslint-typescript
can make this even more robust.

PR Close #61312
2025-05-13 22:45:18 +00:00
Andrew Scott 953c4b2580 feat(core): Move zoneless change detection to dev preview (#60748)
This commit moves zoneless from experimental to developer preview.

* Update tag on provider API
* Remove "experimental" from provider name
* Move documentation from "experimental features" to "Best practives ->
  Performance" (at least temporarily until there is a better place)

BREAKING CHANGE: `provideExperimentalZonelessChangeDetection` is
renamed to `provideZonelessChangeDetection` as it is now "Developer
Preview" rather than "Experimental".

PR Close #60748
2025-04-23 11:47:56 +02:00
Kristiyan Kostadinov 911ad40067 build: fix type checking issues in test code (#60481)
Fixes some type checking issues in our own testing code that weren't showing up, because `strictTemplates` was turned off.

PR Close #60481
2025-03-20 11:55:52 -07:00
Kristiyan Kostadinov 2637a0cdad build: enable strict templates and type checking of host bindings (#60481)
Enables strict templates and type checking of host bindings against our own code.

PR Close #60481
2025-03-20 11:55:52 -07:00
RafaelJCamara 5c9e84acd6 docs: update license URL from angular.io to angular.dev and year of license to 2025 (#59407)
PR Close #59407
2025-01-09 10:27:54 -05:00
Johnson Chu a6cdbec09f refactor: remove unnecessary TSLint rule flags (#59365)
There are many TSLint rule flags in the source code that have no effect, and they can be safely removed to keep the code clean.

PR Close #59365
2025-01-07 16:06:21 +00:00
Alan Agius 7fd034e13f build: remove unused patch (#58821)
This commit removes an unused patch

PR Close #58821
2024-11-22 14:56:23 +00:00
Alan Agius 1e11d0ced5 build: fix path of @angular/ssr package (#58821)
The path was incorrect

PR Close #58821
2024-11-22 14:56:23 +00:00
Matthieu Riegler 2e3e9b137a refactor(platform-server): replace patch by CLI option. (#58256)
The CLI introduced a new option `experimentalPlatform` to disable loading a polyfill from node. We don't need to patch it anymore.

PR Close #58256
2024-10-21 09:09:07 -07:00
Matthieu Riegler afcc3ee209 refactor(core): Migrate modules directory with the schematic. (#58160)
All components, directives and pipes will now use standalone as default. Non-standalone decorators have now .

PR Close #58160
2024-10-14 14:58:58 +00:00