Joey Perrott
82cc576e6f
build: use pnpm as the package manager instead of yarn ( #62924 )
...
Use pnpm instead of yarn as the package manager and interaction tool for the repo
PR Close #62924
2025-07-31 22:06:27 +00:00
Joey Perrott
cbc258eec8
build: remove ts_project_interop infrastructure ( #62908 )
...
Remove the interop macros and final usages
PR Close #62908
2025-07-31 09:12:58 +00:00
Joey Perrott
008ed216d3
build: remove usages of runtime_rnjs_interop ( #62908 )
...
Remove all usages of the runtime_rnjs_interop feature
PR Close #62908
2025-07-31 09:12:58 +00:00
Joey Perrott
49b7729e88
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:27 +00:00
Joey Perrott
9bd4855204
build: correctly apply patch fro dagre-d3-es ( #62883 )
...
Correctly apply patch for dagre-d3-es so that it is effective with new toolchain
PR Close #62883
2025-07-30 08:49:47 +00:00
Joey Perrott
9888fc4966
build: remove the esm interop patches and tooling ( #62879 )
...
Remove esm interop patches and tooling from previous toolchain
PR Close #62879
2025-07-29 17:25:35 +00:00
Joey Perrott
29195f1710
build: use ts_project based extract_types ( #62875 )
...
Use the extract_types that pulls from ts_project deps
PR Close #62875
2025-07-29 17:14:26 +00:00
Joey Perrott
793ff35602
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:54 +00:00
Joey Perrott
d272ffd072
build: remove unused macro ( #62878 )
...
Remove unused npm_package_bin macro
PR Close #62878
2025-07-29 16:53:54 +00:00
Joey Perrott
c1ac84cd90
build: remove final usages of nodejs_binary macros ( #62878 )
...
Remove the remaining usages of our nodejs_binary macros
PR Close #62878
2025-07-29 16:53:54 +00:00
Joey Perrott
32c00ab416
build: standardize usage of js_binary ( #62860 )
...
Remove usages of nodejs_binary and use a commonly defined js_binary macro
PR Close #62860
2025-07-29 06:43:44 +02:00
Joey Perrott
17ada9838b
build: move tsec to new toolchain ( #62825 )
...
Migrate tsec tooling/macro to use tsec directly as a js_binary and rely on ts_project dependencies.
PR Close #62825
2025-07-28 20:07:05 +02:00
Joey Perrott
2f82d811e5
build: migrate zone.js tests to use web test runner instead of karma web tests ( #62826 )
...
Migrate zone.js bazel tests to use web test runner instead of karma
PR Close #62826
2025-07-28 14:18:45 +02:00
Joey Perrott
7c06aca4f0
build: move from using rollup to esbuild for bundling zone.js ( #62775 )
...
Use esbuild to bundle zone.js
PR Close #62775
2025-07-25 16:53:00 +02:00
Joey Perrott
c19d0aef4f
build: use ts_config rule from rules_ts only and always load from common location ( #62808 )
...
Only use the ts_config rule from rules_ts, and always load the rule from tools/defaults2.bzl
PR Close #62808
2025-07-25 10:08:13 +02:00
Joey Perrott
caee6ff8e7
build: remove all usages of @bazel/runfiles ( #62804 )
...
Remove usages of @bazel/runfiles throughout the repository
PR Close #62804
2025-07-25 10:04:55 +02:00
Joey Perrott
33964296d5
build: remove unused @bazel/* npm packages ( #62709 )
...
Remove the unused bazel npm packages
PR Close #62709
2025-07-22 10:07:14 -04:00
Joey Perrott
f5d9d084b6
build: move nodejs_test to js_test ( #62709 )
...
Move nodejs_test to js_test and remove unnecessary files after move
PR Close #62709
2025-07-22 10:07:13 -04:00
Joey Perrott
9d7482c011
build: remove unused rules/macros from defaults.bzl ( #62709 )
...
Remove rules/macros that are not longer used in the repo
PR Close #62709
2025-07-22 10:07:13 -04:00
Joey Perrott
de4c06cf5c
build: migrate tslint rules from dev-infra to local ( #62709 )
...
Migrate the tslint rules used in dev-infra to locally defined rules as they are unused in other repos
PR Close #62709
2025-07-22 10:07:13 -04:00
Joey Perrott
8bf97d1370
build: remove all usages of the interop_deps attr for ts_project and ng_project ( #62732 )
...
Remove all of the usages of interop_deps as attributes in the repo
PR Close #62732
2025-07-21 13:03:09 -04:00
Joey Perrott
23d58777b4
build: migrate to new toolchain usage for api goldens ( #62688 )
...
Migrate api golden usage to be based on rules_js toolchain implementation
PR Close #62688
2025-07-17 18:13:42 -04:00
Joey Perrott
a959e5a5db
build: remove ts_library definition ( #62673 )
...
Remove the ts_library macro from our defaults.bzl file
PR Close #62673
2025-07-17 13:59:37 -04:00
Joey Perrott
dd02bfe743
build: migrate zone.js to use ts_project instead of ts_library ( #62673 )
...
Use ts_project instead of ts_library for building zone.js
PR Close #62673
2025-07-17 13:59:37 -04:00
Joey Perrott
e25e6342f2
build: remove rules_nodejs based protractor tooling ( #62649 )
...
Remove the protractor setup based on rules_nodejs
PR Close #62649
2025-07-16 16:39:49 -04:00
Joey Perrott
5eeb9f3e7e
build: move all rule/macro loading into devtools/defaults.bzl ( #62627 )
...
Move all of our loading into a local defaults.bzl file instead of mixed loading via tools/defaults and devtolls/defaults
PR Close #62627
2025-07-14 15:47:05 -07:00
Joey Perrott
15bb25805f
build: use esbuild from aspect rules ( #62568 )
...
Use the esbuild ruleset from aspect rules instead of via @bazel/esbuild
PR Close #62568
2025-07-10 13:45:15 -07:00
Joey Perrott
efc2a41d1d
build: use rollup directory instead of rollup through @bazel/rollup ( #62556 )
...
Use rollup directly instead of using the previous toolchain implementation
PR Close #62556
2025-07-09 16:53:25 -07:00
Joey Perrott
49813c5d85
build: migrate esbuild usages to aspect_rules_esbuild esbuild rule ( #62529 )
...
Migrate more usages of esbuild to new toolchain
PR Close #62529
2025-07-09 12:41:27 -07:00
Joey Perrott
3b0b0d19f1
build: migrate usages of protractor_web_test_suite to use new rules_browser based rule ( #62525 )
...
Use the protractor_web_test_suite from rules_browser instead of @bazel/protractor
PR Close #62525
2025-07-08 15:59:12 -07:00
Joey Perrott
a89a2cee06
build: update to latest @angular/build-tooling ( #62380 )
...
Update to the latest @angular/build-tooling package, which drop dependency on @angular/benchpress
PR Close #62380
2025-07-07 15:23:47 +00:00
Joey Perrott
50a69dee6c
build: only require workspace build packages for web tests when provided ( #62443 )
...
Only use the builds from the workspace as for the bootstrap scripts for web testing
PR Close #62443
2025-07-03 08:34:25 +00:00
Joey Perrott
85b3ae2e3e
build: migrate devtools to use packaged version of @angular/* packages ( #62413 )
...
Use the packaged versions of the packages instead of the local ts_project dependencies to prevent multiple versions of the deps to enter test bundles
PR Close #62413
2025-07-02 16:10:25 +00:00
Joey Perrott
4fae4dbba8
build: migrate adev to use packaged version of @angular/* packages ( #62413 )
...
Use the packaged versions of the packages instead of the local ts_project dependencies to prevent multiple versions of the deps to enter test bundles
PR Close #62413
2025-07-02 16:10:25 +00:00
Joey Perrott
1d3449c0ce
build: migrate devtools to use new sass ruleset ( #62297 )
...
Use the new sass ruleset for bazel sass building in devtools
PR Close #62297
2025-06-27 09:25:43 +00:00
Joey Perrott
ad89f80969
build: migrate adev to use new sass ruleset ( #62297 )
...
Use the new sass ruleset for bazel sass building in adev
PR Close #62297
2025-06-27 09:25:43 +00:00
Joey Perrott
b84859073b
build: migrate to use web test runner rules ( #62292 )
...
Migrate karma tests throughout the repo to use the new web test runner based rule instead
PR Close #62292
2025-06-26 17:19:10 +00:00
Joey Perrott
36d5048429
build: migrate final non-zone.js jasmine tests ( #62169 )
...
Migrate the final remaining non-zone.js package jasmine tests to the new toolchain
PR Close #62169
2025-06-24 08:46:39 +00:00
Joey Perrott
557ac51c32
build: migrate to using new jasmine_test ( #62131 )
...
Migrate additional targets to jasmine_test
PR Close #62131
2025-06-19 10:06:27 +02:00
Joey Perrott
3a0cfd544d
build: migrate to using new jasmine_test ( #62086 )
...
Use the new jasmine_test based on rules_js instead of jasmine_node_test from rules_nodejs
PR Close #62086
2025-06-18 08:27:26 +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
Paul Gschwendtner
a137746110
build: migrate packages/core/test to new jasmine_test rule ( #61902 )
...
Migrates `packages/core/test` to the new `jasmine_test` rule. As part of
this, we are also removing an unnecessary/unused test fixture.
PR Close #61902
2025-06-12 10:00:09 +02:00
Paul Gschwendtner
c706525a33
build: update node loader to support zone.js ( #61902 )
...
Temporarily updates the new Node loader to work with `zone.js` `.mjs`
files that are still ending up at runtime due to this package using
`ts_library`.
PR Close #61902
2025-06-12 10:00:09 +02:00
Paul Gschwendtner
08b543e2f6
build: add jasmine_test macro for replacing jasmine_node_test legacy rule ( #61902 )
...
This commit introduces the new `jasmine_test` macro that can be an
"almost" drop-in replacement for `jasmine_test`.
PR Close #61902
2025-06-12 10:00:09 +02:00
Paul Gschwendtner
df0b8d45da
build: add small comment for ng_package_link_interop.bzl ( #61902 )
...
This should make the intent a little more clearer if someone
just looks at this file.
PR Close #61902
2025-06-12 10:00:09 +02:00
Joey Perrott
dfbdbbe882
refactor: use zone.js from npm instead of packages/zone.js throughout repo ( #61977 )
...
Use zone.js from npm isntead of from the repo going forward
PR Close #61977
2025-06-10 12:02:03 -07:00
Paul Gschwendtner
d86d11d4c1
build: introduce NodeJS loader for rules_js Node execution ( #61865 )
...
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 #61865
2025-06-05 12:04:51 +02:00
Paul Gschwendtner
d081ef9b06
build: replace all ng_package with new rule from rules_angular ( #61843 )
...
Replaces all `ng_package` rule with the new rule from `rules_angular`.
PR Close #61843
2025-06-04 09:13:41 +00:00
Paul Gschwendtner
579618d6d6
build: remove packages/bazel ( #61843 )
...
Removes the `@angular/bazel` package as we no longer need it. Yay!
It's replaced by `rules_angular`.
PR Close #61843
2025-06-04 09:13:41 +00:00
Paul Gschwendtner
b7c5645f05
build: migrate packages/compiler-cli to ts_project ( #61826 )
...
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 #61826
2025-06-03 11:41:52 +02:00