-
Notifications
You must be signed in to change notification settings - Fork 27k
Bypass unnecessary top level actions in local compilation mode #50486
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
Conversation
devversion
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for Bazel
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.
crisbeto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this 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
|
Caretaker note: Unrelated internal test failure. All other targets pass |
This comment was marked as outdated.
This comment was marked as outdated.
|
This PR was merged into the repository by commit 9648fc4. |
…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
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
…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
…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
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
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?
Other information