Skip to content

[19.2.x]: patch port of ng_project PR #61275 #61336

Closed
devversion wants to merge 5 commits intoangular:19.2.xfrom
devversion:rjs-3-patch
Closed

[19.2.x]: patch port of ng_project PR #61275 #61336
devversion wants to merge 5 commits intoangular:19.2.xfrom
devversion:rjs-3-patch

Conversation

@devversion
Copy link
Copy Markdown
Member

Patch port of #61275

Supports the `ng_project` rule with the local compiler-cli version
from HEAD.
Updates `packages/core:core` and `packages/core/src/...` to `ts_project`
of `rules_js`.
This commit fixes that the interop targets weren't properly creating
linker mappings in some cases. This could break spec bundling.
As we roll out more PRs that migrate to `ts_project`, we need to make
sure that we don't break existing `tsec` targets. This PR copies the
original `tsec` Starlark code and adjusts it to work with the interop.

Note that we don't patch as this would unnecessarily complicate this
file that only exists during migration. Long-term, after migration, we
either need to consider switching to the new ESLint plugin that is being
worked on (I'm in contact with the team), or we send a CL to update the
Tsec Starlark code to keep our changes minimal and avoid scope increase.
Adds a script to diff snapshot packages to allow for easy verification
that no unexpected changes were made.
@devversion devversion requested a review from josephperrott May 14, 2025 14:34
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label May 14, 2025
@ngbot ngbot bot added this to the Backlog milestone May 14, 2025
@devversion devversion added target: patch This PR is targeted for the next patch release PullApprove: disable labels May 14, 2025
@devversion devversion marked this pull request as ready for review May 14, 2025 14:35
Copy link
Copy Markdown
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

@josephperrott josephperrott added the action: merge The PR is ready for merge by the caretaker label May 14, 2025
@alxhub
Copy link
Copy Markdown
Member

alxhub commented May 14, 2025

This PR was merged into the repository by commit 3047638.

The changes were merged into the following branches: 19.2.x

alxhub pushed a commit that referenced this pull request May 14, 2025
Supports the `ng_project` rule with the local compiler-cli version
from HEAD.

PR Close #61336
alxhub pushed a commit that referenced this pull request May 14, 2025
Updates `packages/core:core` and `packages/core/src/...` to `ts_project`
of `rules_js`.

PR Close #61336
alxhub pushed a commit that referenced this pull request May 14, 2025
…61336)

This commit fixes that the interop targets weren't properly creating
linker mappings in some cases. This could break spec bundling.

PR Close #61336
alxhub pushed a commit that referenced this pull request May 14, 2025
)

As we roll out more PRs that migrate to `ts_project`, we need to make
sure that we don't break existing `tsec` targets. This PR copies the
original `tsec` Starlark code and adjusts it to work with the interop.

Note that we don't patch as this would unnecessarily complicate this
file that only exists during migration. Long-term, after migration, we
either need to consider switching to the new ESLint plugin that is being
worked on (I'm in contact with the team), or we send a CL to update the
Tsec Starlark code to keep our changes minimal and avoid scope increase.

PR Close #61336
alxhub pushed a commit that referenced this pull request May 14, 2025
…61336)

Adds a script to diff snapshot packages to allow for easy verification
that no unexpected changes were made.

PR Close #61336
@alxhub alxhub closed this May 14, 2025
@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 Jun 14, 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 PullApprove: disable 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