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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Joey Perrott
47660b7684
build: migrate examples to use rules_js ( #61650 )
...
Migrate examples to use ng_project and ts_project for building
PR Close #61650
2025-05-26 11:00:59 +00:00
Joey Perrott
26f126a049
build: update common's locales to use rules_js ( #61629 )
...
Use ts_project to build the common locales
PR Close #61629
2025-05-26 10:18:14 +00:00
Joey Perrott
22381bfd2d
build: update tools directory to use rules_js for building ( #61656 )
...
Use ts_project for building the tools directory targets
PR Close #61656
2025-05-26 09:01:13 +00:00
Joey Perrott
b478a43804
build: migrate localize package to use rules_js ( #61613 )
...
Use ts_project to build localize package
PR Close #61613
2025-05-26 08:53:55 +00:00
Joey Perrott
b37fd9753f
build: migrate language service to use rules_js ( #61568 )
...
Migrate language service to build using ts_project
PR Close #61568
2025-05-21 17:05:14 +00:00
Joey Perrott
8ef41f3e14
build: migrate adev to use ng_project ( #61319 )
...
Move all of adev to use ng_project instead of ng_module
PR Close #61319
2025-05-20 08:48:29 +00:00
Joey Perrott
1818a84209
build: migrate benchpress to use rules_js ( #61486 )
...
Use ts_project to build targets in benchpress package
PR Close #61486
2025-05-20 08:44:53 +00:00
Paul Gschwendtner
b763059bdd
build: migrate packages/core/schematics to ts_project ( #61370 )
...
Migrates `packages/core/schematics` to `ts_project`. As part of this,
this commit cleans up some of the mixed module types and tsconfigs in
the folder. A single tsconfig (and it's test variant) are now used.
For the shipped schematics, we explicitly use the `.cjs` extension, so
that the bundles are properly recognized as CommonJS; even if they are
part of the `type: module` `@angular/core` package.
The `package.json` with `type: commonjs` is removed from
`packages/core/schematics` as it's no longer needed given the explicit
extension & caused issues as schematics are compiled with ESM but are
only later bundled for shipping & some tests as ESM.
PR Close #61370
2025-05-16 11:02:07 +00:00
Paul Gschwendtner
d067dff394
build: migrate more targets of @angular/core to ts_project ( #61370 )
...
Migrates more targets of `@angular/core` to `ts_project`. Remaining are:
- tests
- schematics
PR Close #61370
2025-05-16 11:02:07 +00:00
Joey Perrott
68d774f49d
build: use common macro to define tsconfig for service worker ( #61341 )
...
Define the tsconfig for service worker instead of manually including the tsconfig on each target
PR Close #61341
2025-05-14 10:43:25 -07:00
Paul Gschwendtner
397f9987ef
build: support new ng_project rule ( #61275 )
...
Supports the `ng_project` rule with the local compiler-cli version
from HEAD.
PR Close #61275
2025-05-14 12:01:51 +00:00
Joey Perrott
5f1c08d75f
build: migrate adev shared-docs package to use ts_project ( #61193 )
...
Migrate the build rules for shared docs to use ts_project
PR Close #61193
2025-05-09 16:30:05 +00:00
Paul Gschwendtner
81566ec1dc
build: migrate manual_api_docs to rules_js ( #61181 )
...
Migrates `manual_api_docs` to `rules_js`. Since compiler CLI is ESM
compiled but doesn't have extensions, we can either bundle or simply use
the dependency as type only. This is easier and sufficient for this
use-case.
PR Close #61181
2025-05-09 15:59:46 +00:00
Paul Gschwendtner
54e785683a
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:46 +00:00
Paul Gschwendtner
a1bf58e32e
build: migrate symbol-extractor to ts_project ( #61156 )
...
Migrates the symbol-extractor code to `ts_project`.
PR Close #61156
2025-05-07 11:28:59 -07:00
Joey Perrott
72b7de0d73
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