Skip to content

Zonejs package exports fixes#51737

Closed
alan-agius4 wants to merge 2 commits intoangular:mainfrom
alan-agius4:zonejs-package-exports-fix
Closed

Zonejs package exports fixes#51737
alan-agius4 wants to merge 2 commits intoangular:mainfrom
alan-agius4:zonejs-package-exports-fix

Conversation

@alan-agius4
Copy link
Copy Markdown
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.

@pullapprove pullapprove Bot requested a review from JiaLiPassion September 12, 2023 08:35
@alan-agius4 alan-agius4 force-pushed the zonejs-package-exports-fix branch from 556eccd to 6b40d49 Compare September 12, 2023 08:35
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer area: zones Issues related to zone.js 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
@alan-agius4 alan-agius4 force-pushed the zonejs-package-exports-fix branch from 772ead4 to 142f695 Compare September 12, 2023 08:48
@ocombe
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

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

@alan-agius4
Copy link
Copy Markdown
Contributor Author

Yes @AndrewKushnir

@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 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 Issues related to zone.js target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants