Skip to content

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

Closed
devversion wants to merge 2 commits intoangular:mainfrom
devversion:migrate-compiler-cli
Closed

build: migrate packages/compiler-cli to ts_project#61826
devversion wants to merge 2 commits intoangular:mainfrom
devversion:migrate-compiler-cli

Conversation

@devversion
Copy link
Copy Markdown
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
Copy Markdown
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
@angular-automatic-lock-bot
Copy link
Copy Markdown

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 Jul 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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