Skip to content

Conversation

devversion
Copy link
Member

Patch port of #30629

@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Mar 19, 2025
@devversion devversion force-pushed the rjs-1-patch branch 2 times, most recently from a432375 to a2349fd Compare March 19, 2025 15:33
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.
Sets up `rules_js` and links dependencies into the bazel-bin.
This commit sets up `rules_ts`, providing the `ts_library` equivalent
for the `rules_js` migration.
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.
This is an initial commit to migrate some `testing/` targets to
`ts_project`, leveraging the interop rule we've built.

Notably we also turn of strict deps checking temporarily as the deps
checking is only applicable when there are no interop deps anymore!
@devversion devversion closed this Mar 19, 2025
@devversion devversion reopened this Mar 19, 2025
@devversion devversion added target: patch This PR is targeted for the next patch release action: review The PR is still awaiting reviews from at least one requested reviewer labels Mar 19, 2025
@devversion devversion marked this pull request as ready for review March 19, 2025 15:52
@devversion devversion requested review from a team, andrewseguin and jelbourn as code owners March 19, 2025 15:53
Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

* Moves the public API goldens to `goldens/`
* Switches us to the `npm_package` variant of the golden testing rule.
  This variant is more future proof and will work well with the
  `rules_js` migration (as it takes arbitrary Bazel tree artifacts)
This will automatically result in Renovate updating the Aspect lock
files.
This will result in the release tool automatically updating the Aspect
lock files when necessary.
@devversion devversion merged commit eba13ca into angular:19.2.x Mar 19, 2025
18 of 19 checks passed
@devversion devversion deleted the rjs-1-patch branch March 19, 2025 16:31
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Apr 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: review The PR is still awaiting reviews from at least one requested reviewer area: build & ci Related the build and CI infrastructure of the project target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants