Skip to content

Setup ng_project and migrate initial parts of packages/core#61275

Closed
devversion wants to merge 5 commits intoangular:mainfrom
devversion:rjs-3
Closed

Setup ng_project and migrate initial parts of packages/core#61275
devversion wants to merge 5 commits intoangular:mainfrom
devversion:rjs-3

Conversation

@devversion
Copy link
Copy Markdown
Member

See individual commits

@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label May 12, 2025
@ngbot ngbot bot added this to the Backlog milestone May 12, 2025
@devversion devversion force-pushed the rjs-3 branch 11 times, most recently from b7510ec to 257fb21 Compare May 13, 2025 17:23
@devversion devversion requested a review from josephperrott May 13, 2025 17:23
@devversion devversion added the action: review The PR is still awaiting reviews from at least one requested reviewer label May 13, 2025
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

One little nit/question. But overall looks good. I am a bit lost on the tsec stuff in practice, but the temporary solution of moving it within the repo is fine with me.

@josephperrott josephperrott force-pushed the rjs-3 branch 3 times, most recently from ada41d4 to cbbed5a Compare May 14, 2025 00:06
@devversion
Copy link
Copy Markdown
Member Author

devversion commented May 14, 2025

Caretaker note: Please follow these steps:

  1. Patch changes from cl/758582250 in a CitC.
  2. Run g3sync from there (so it picks up latest config)
  3. Include cl/758582250 in your sync CL

@devversion devversion added action: merge The PR is ready for merge by the caretaker target: rc This PR is targeted for the next release-candidate and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels May 14, 2025
@devversion devversion marked this pull request as ready for review May 14, 2025 09:12
@devversion devversion added target: minor This PR is targeted for the next minor release PullApprove: disable and removed target: rc This PR is targeted for the next release-candidate labels May 14, 2025
@devversion devversion force-pushed the rjs-3 branch 2 times, most recently from a0e67e4 to 4640619 Compare May 14, 2025 10:12
@devversion devversion force-pushed the rjs-3 branch 2 times, most recently from c0bd6f2 to dd75146 Compare May 14, 2025 10:47
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.
thePunderWoman 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 #61275
thePunderWoman pushed a commit that referenced this pull request May 14, 2025
…61275)

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

PR Close #61275
thePunderWoman 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 #61275
thePunderWoman pushed a commit that referenced this pull request May 14, 2025
…61275)

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

PR Close #61275
@thePunderWoman
Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit 8e78b4e.

The changes were merged into the following branches: main

@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 17, 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: 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