Joey Perrott
26f99b3dcd
build: migrate all npm packages to use new rules_js based npm_package rule ( #62989 )
...
Use a common rule for all npm_packages
PR Close #62989
2025-08-05 19:09:26 +00: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
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
adbb19d40f
build: remove usages of runtime_rnjs_interop ( #62909 )
...
Remove all usages of the runtime_rnjs_interop feature
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
de37d1a5d9
build: correctly apply patch fro dagre-d3-es ( #62884 )
...
Correctly apply patch for dagre-d3-es so that it is effective with new toolchain
PR Close #62884
2025-07-30 08:50:17 +00:00
Joey Perrott
3f0e823a5d
build: remove the esm interop patches and tooling ( #62880 )
...
Remove esm interop patches and tooling from previous toolchain
PR Close #62880
2025-07-29 17:28:38 +00:00
Joey Perrott
c9fb4e31dd
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:27 +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
c032f69287
build: remove unused macro ( #62878 )
...
Remove unused npm_package_bin macro
PR Close #62878
2025-07-29 16:53:55 +00:00
Joey Perrott
2c3faf7a7e
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
622e10881f
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:45 +02:00
Joey Perrott
2b16824110
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
973740e14a
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:46 +02:00
Joey Perrott
b6f52c3111
build: move from using rollup to esbuild for bundling zone.js ( #62800 )
...
Use esbuild to bundle zone.js
PR Close #62800
2025-07-25 16:54:20 +02:00
Joey Perrott
dce0609755
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
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
Joey Perrott
e361deae30
build: remove unused @bazel/* npm packages ( #62711 )
...
Remove the unused bazel npm packages
PR Close #62711
2025-07-22 10:10:18 -04:00
Joey Perrott
807c4d7973
build: move nodejs_test to js_test ( #62711 )
...
Move nodejs_test to js_test and remove unnecessary files after move
PR Close #62711
2025-07-22 10:10:18 -04:00
Joey Perrott
ca10fbde5a
build: remove unused rules/macros from defaults.bzl ( #62711 )
...
Remove rules/macros that are not longer used in the repo
PR Close #62711
2025-07-22 10:10:18 -04:00
Joey Perrott
91f5a3c0ec
build: migrate tslint rules from dev-infra to local ( #62711 )
...
Migrate the tslint rules used in dev-infra to locally defined rules as they are unused in other repos
PR Close #62711
2025-07-22 10:10:17 -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
Joey Perrott
1e9bfe54b1
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:43 -04:00
Joey Perrott
c2625575aa
build: remove ts_library definition ( #62686 )
...
Remove the ts_library macro from our defaults.bzl file
PR Close #62686
2025-07-17 14:16:02 -04:00
Joey Perrott
8b62b313e1
build: migrate zone.js to use ts_project instead of ts_library ( #62686 )
...
Use ts_project instead of ts_library for building zone.js
PR Close #62686
2025-07-17 14:16:02 -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
Joey Perrott
7bf66f0c52
build: move all rule/macro loading into devtools/defaults.bzl ( #62629 )
...
Move all of our loading into a local defaults.bzl file instead of mixed loading via tools/defaults and devtolls/defaults
PR Close #62629
2025-07-16 16:34:04 -04:00
Joey Perrott
4f1e88e598
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
b4ae55ae68
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
f038803693
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
fe50aeb3bf
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
35d74d2fb2
build: update to latest @angular/build-tooling ( #62499 )
...
Update to the latest @angular/build-tooling package, which drop dependency on @angular/benchpress
PR Close #62499
2025-07-07 16:07:29 +00:00
Joey Perrott
62e3a70519
build: only require workspace build packages for web tests when provided ( #62498 )
...
Only use the builds from the workspace as for the bootstrap scripts for web testing
PR Close #62498
2025-07-07 15:26:37 +00:00
Joey Perrott
d1d131a143
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
0d5363a6d7
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