Skip to content

Migrate packages/core/test to ts_project#61472

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

Migrate packages/core/test to ts_project#61472
devversion wants to merge 4 commits intoangular:mainfrom
devversion:rjs-5

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 19, 2025
@ngbot ngbot bot added this to the Backlog milestone May 19, 2025
@angular-robot angular-robot bot added the area: compiler Issues related to `ngc`, Angular's template compiler label May 19, 2025
@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 and removed area: compiler Issues related to `ngc`, Angular's template compiler labels May 19, 2025
@devversion devversion marked this pull request as ready for review May 19, 2025 15:03
@devversion
Copy link
Copy Markdown
Member Author

Caretaker note: Disabling pullapprove because fw-security is not needed. This is just an import re-ordering/change in there.

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

A couple small nits, but overall super excited for this to get in!

@devversion devversion added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels May 19, 2025
@angular-robot angular-robot bot added the area: compiler Issues related to `ngc`, Angular's template compiler label May 19, 2025
@devversion devversion added target: rc This PR is targeted for the next release-candidate target: minor This PR is targeted for the next minor release and removed target: patch This PR is targeted for the next patch release target: rc This PR is targeted for the next release-candidate labels May 19, 2025
@devversion
Copy link
Copy Markdown
Member Author

devversion commented May 20, 2025

Caretaker note: This PR has a passing TGP

These helpers are often imported by various tests throughout the
repository, but the helpers aren't exported/exposed from the public
entry-point; even though they confusingly reside in there.

This commit fixes this, and moves the helpers into
`packages/private/testing`. This is a preparation for the `ts_project`
migration where we don't want to leverage deep imports between packages.
This commit migrates all `ts_library` in `package/core/test` to
`ts_project`, and fixes deep module, or relative imports inside.
Migrates all `ng_module` to `ng_project` in `packages/core/test/`.
Avoids duplication of the `FactoryTarget` enums. This is necessary
now because we are exposing the previously deeply-imported JIT facade
now via the exports; and the typing integration tests surface a type
conflict due to the different duplicated enums.
thePunderWoman pushed a commit that referenced this pull request May 20, 2025
This commit migrates all `ts_library` in `package/core/test` to
`ts_project`, and fixes deep module, or relative imports inside.

PR Close #61472
thePunderWoman pushed a commit that referenced this pull request May 20, 2025
Migrates all `ng_module` to `ng_project` in `packages/core/test/`.

PR Close #61472
thePunderWoman pushed a commit that referenced this pull request May 20, 2025
…61472)

Avoids duplication of the `FactoryTarget` enums. This is necessary
now because we are exposing the previously deeply-imported JIT facade
now via the exports; and the typing integration tests surface a type
conflict due to the different duplicated enums.

PR Close #61472
@thePunderWoman
Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit 7e57106.

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 Jul 16, 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 area: compiler Issues related to `ngc`, Angular's template compiler 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.

4 participants