Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(compiler-cli): emitting references to ngtypecheck files #57138

Closed
wants to merge 1 commit into from

Conversation

crisbeto
Copy link
Member

Follow-up to #56961 which doesn't appear to have caught all the cases. This change moves the pre-emit untagging to NgCompiler.prepareEmit which seems to cover a bit more comared to NgtscProgram.emit.

Fixes #57135.

Follow-up to angular#56961 which doesn't appear to have caught all the cases. This change moves the pre-emit untagging to `NgCompiler.prepareEmit` which seems to cover a bit more comared to `NgtscProgram.emit`.

Fixes angular#57135.
@crisbeto crisbeto 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 area: compiler Issues related to `ngc`, Angular's template compiler labels Jul 26, 2024
@crisbeto crisbeto requested a review from JoostK July 26, 2024 07:11
@ngbot ngbot bot added this to the Backlog milestone Jul 26, 2024
Copy link
Member

@JoostK JoostK left a comment

Choose a reason for hiding this comment

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

Ah, yes, this makes sense; while NgCompiler is internal, both the CLI and ng-packagr call into it directly to be able to use TS's builder APIs for incremental compilations.

@crisbeto crisbeto 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 target: patch This PR is targeted for the next patch release labels Jul 26, 2024
@crisbeto
Copy link
Member Author

Note to self: will need to cherry pick this into patch.

@dylhunn
Copy link
Contributor

dylhunn commented Jul 26, 2024

This PR was merged into the repository by commit 0f0a1f2.

The changes were merged into the following branches: main

@dylhunn dylhunn closed this in 0f0a1f2 Jul 26, 2024
vladboisa pushed a commit to vladboisa/angular that referenced this pull request Jul 29, 2024
…57138)

Follow-up to angular#56961 which doesn't appear to have caught all the cases. This change moves the pre-emit untagging to `NgCompiler.prepareEmit` which seems to cover a bit more comared to `NgtscProgram.emit`.

Fixes angular#57135.

PR Close angular#57138
crisbeto added a commit to crisbeto/angular that referenced this pull request Jul 31, 2024
…57138)

Follow-up to angular#56961 which doesn't appear to have caught all the cases. This change moves the pre-emit untagging to `NgCompiler.prepareEmit` which seems to cover a bit more comared to `NgtscProgram.emit`.

Fixes angular#57135.

PR Close angular#57138
thePunderWoman pushed a commit that referenced this pull request Jul 31, 2024
…57202)

Follow-up to #56961 which doesn't appear to have caught all the cases. This change moves the pre-emit untagging to `NgCompiler.prepareEmit` which seems to cover a bit more comared to `NgtscProgram.emit`.

Fixes #57135.

PR Close #57138

PR Close #57202
@angular-automatic-lock-bot
Copy link

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 Aug 26, 2024
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: compiler Issues related to `ngc`, Angular's template compiler target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ngtypecheck reference added in compiled TS files for libraries with multiple secondary entrypoints
4 participants