Skip to content

Conversation

@pmvald
Copy link
Member

@pmvald pmvald commented May 26, 2023

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.io application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

In local compilation mode we no longer do the TS semantic check and transforming .d.ts files.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@pullapprove pullapprove bot requested review from crisbeto and josephperrott May 26, 2023 15:38
@devversion devversion self-requested a review May 26, 2023 19:50
Copy link
Member

@devversion devversion left a comment

Choose a reason for hiding this comment

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

LGTM for Bazel

@devversion devversion removed the request for review from josephperrott May 30, 2023 11:58
pmvald added 2 commits May 30, 2023 12:22
In local mode compilation the TS semantic check issues tons of diagnostics due to the fact that the file dependencies (.d.ts files) are not available in the program. So it needs to be disabled.

This commit should not cause any issue for the exsiting projects as it just removes a diagnostic in the local compilation mode.
…lation mode.

In local mode we don't make use of .d.ts files for Angular compilation, so their transformation can be ditched.
Copy link
Member

@crisbeto crisbeto left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@devversion devversion left a comment

Choose a reason for hiding this comment

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

LGTM. Agreed with Kristiyan's comment but can be a follow-up.

I assume the Bazel part can be dropped if we'd not use ng_module for local compilation though FWIW

@dylhunn dylhunn added the area: compiler Issues related to `ngc`, Angular's template compiler label May 31, 2023
@ngbot ngbot bot added this to the Backlog milestone May 31, 2023
@devversion
Copy link
Member

Caretaker note: Unrelated internal test failure. All other targets pass

@devversion devversion added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Jun 6, 2023
@ngbot

This comment was marked as outdated.

@devversion devversion added the merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note label Jun 6, 2023
@alxhub
Copy link
Member

alxhub commented Jun 7, 2023

This PR was merged into the repository by commit 9648fc4.

alxhub pushed a commit that referenced this pull request Jun 7, 2023
…ion (#50486)

In local mode compilation the TS semantic check issues tons of diagnostics due to the fact that the file dependencies (.d.ts files) are not available in the program. So it needs to be disabled.

This commit should not cause any issue for the exsiting projects as it just removes a diagnostic in the local compilation mode.

PR Close #50486
alxhub pushed a commit that referenced this pull request Jun 7, 2023
…lation mode. (#50486)

In local mode we don't make use of .d.ts files for Angular compilation, so their transformation can be ditched.

PR Close #50486
@alxhub alxhub closed this in 8506cf4 Jun 7, 2023
alxhub pushed a commit that referenced this pull request Jun 7, 2023
…lation mode. (#50486)

In local mode we don't make use of .d.ts files for Angular compilation, so their transformation can be ditched.

PR Close #50486
@pmvald pmvald deleted the lcm-bypass branch July 3, 2023 18:15
@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 3, 2023
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
…ion (angular#50486)

In local mode compilation the TS semantic check issues tons of diagnostics due to the fact that the file dependencies (.d.ts files) are not available in the program. So it needs to be disabled.

This commit should not cause any issue for the exsiting projects as it just removes a diagnostic in the local compilation mode.

PR Close angular#50486
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
…lation mode. (angular#50486)

In local mode we don't make use of .d.ts files for Angular compilation, so their transformation can be ditched.

PR Close angular#50486
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 merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants