Skip to content

build: migrate packages/compiler-cli to ts_project #61826

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

devversion
Copy link
Member

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.

@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Jun 2, 2025
@ngbot ngbot bot added this to the Backlog milestone Jun 2, 2025
@devversion devversion force-pushed the migrate-compiler-cli branch from ec947de to 3ab61ce Compare June 2, 2025 16:47
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.
The bazel npm package is no longer needed and currently breaks
as we started using a 1P pnpm linked package that would otherwise
end up being pulled into this legacy rule.
@devversion devversion force-pushed the migrate-compiler-cli branch from 3ab61ce to da209e3 Compare June 2, 2025 16:48
@devversion devversion requested a review from crisbeto June 2, 2025 17:33
@devversion devversion added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Jun 2, 2025
@devversion devversion marked this pull request as ready for review June 2, 2025 17:33
@devversion devversion requested a review from josephperrott June 2, 2025 17:34
@devversion devversion added action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release and removed action: review The PR is still awaiting reviews from at least one requested reviewer action: merge The PR is ready for merge by the caretaker labels Jun 2, 2025
@devversion devversion removed the request for review from josephperrott June 2, 2025 20:13
@ngbot

This comment was marked as outdated.

@devversion devversion removed the target: patch This PR is targeted for the next patch release label Jun 2, 2025
@devversion devversion closed this Jun 2, 2025
@devversion devversion reopened this Jun 2, 2025
@pkozlowski-opensource
Copy link
Member

This PR was merged into the repository by commit 3af65af.

The changes were merged into the following branches: main

pkozlowski-opensource pushed a commit that referenced this pull request Jun 3, 2025
The bazel npm package is no longer needed and currently breaks
as we started using a 1P pnpm linked package that would otherwise
end up being pulled into this legacy rule.

PR Close #61826
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants