Skip to content

[19.2.x]: Patch port of #61472#61571

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

[19.2.x]: Patch port of #61472#61571
devversion wants to merge 4 commits intoangular:19.2.xfrom
devversion:rjs-5-patch

Conversation

@devversion
Copy link
Copy Markdown
Member

Patch port #61472

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.
@angular-robot angular-robot bot added area: build & ci Related the build and CI infrastructure of the project area: compiler Issues related to `ngc`, Angular's template compiler labels May 21, 2025
@ngbot ngbot bot added this to the Backlog milestone May 21, 2025
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.
@devversion devversion marked this pull request as ready for review May 21, 2025 15:13
@devversion devversion added the target: patch This PR is targeted for the next patch release label May 21, 2025
Copy link
Copy Markdown
Contributor

@thePunderWoman thePunderWoman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@devversion devversion added the action: merge The PR is ready for merge by the caretaker label May 21, 2025
@devversion devversion removed the request for review from josephperrott May 21, 2025 16:01
thePunderWoman pushed a commit that referenced this pull request May 21, 2025
#61571)

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.

PR Close #61571
thePunderWoman pushed a commit that referenced this pull request May 21, 2025
This commit migrates all `ts_library` in `package/core/test` to
`ts_project`, and fixes deep module, or relative imports inside.

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

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

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 #61571
@thePunderWoman
Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit fc2483e.

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

@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: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants