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

Zonejs package exports fixes #51737

Closed

Conversation

alan-agius4
Copy link
Contributor

@alan-agius4 alan-agius4 commented Sep 12, 2023

fix(zone.js): temporary allow deep imports

jest-preset-angular imports zone.js using deep imports. This commit temporary allow this until the correct entry-points are used upstream. See: thymikee/jest-preset-angular#2162

fix(zone.js): rename typings conditional export to types

typings is not valid for TypeScript. See: https://www.typescriptlang.org/docs/handbook/esm-node.html for more information.

@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer area: zones labels Sep 12, 2023
@ngbot ngbot bot added this to the Backlog milestone Sep 12, 2023
@alan-agius4 alan-agius4 added the target: minor This PR is targeted for the next minor release label Sep 12, 2023
`jest-preset-angular` imports `zone.js` using deep imports. This commit temporary allow this until the correct entry-points are used upstream.

See: thymikee/jest-preset-angular#2162
@ocombe
Copy link
Contributor

ocombe commented Sep 12, 2023

just to be clear, that won't solve the issue of jest-preset-angular on its own since the umd bundle will still be named bundles/zone-testing.umd instead of the previous bundles/zone-testing-bundle.umd name

Copy link
Contributor

@JiaLiPassion JiaLiPassion left a comment

Choose a reason for hiding this comment

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

LGTM!

@alan-agius4 alan-agius4 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 Sep 12, 2023
@AndrewKushnir
Copy link
Contributor

This PR was merged into the repository by commit e86d6db.

AndrewKushnir pushed a commit that referenced this pull request Sep 12, 2023
`jest-preset-angular` imports `zone.js` using deep imports. This commit temporary allow this until the correct entry-points are used upstream.

See: thymikee/jest-preset-angular#2162

PR Close #51737
@AndrewKushnir
Copy link
Contributor

@alan-agius4 @JiaLiPassion do we want to cut another Zone.js release to push those changes to NPM?

@alan-agius4
Copy link
Contributor Author

Yes @AndrewKushnir

@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 Oct 13, 2023
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
`jest-preset-angular` imports `zone.js` using deep imports. This commit temporary allow this until the correct entry-points are used upstream.

See: thymikee/jest-preset-angular#2162

PR Close angular#51737
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: zones target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants