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

feat: store locations of deps when node-linker is set to hoisted #5795

Merged
merged 10 commits into from Dec 18, 2022

Conversation

zkochan
Copy link
Member

@zkochan zkochan commented Dec 14, 2022

Currently, when node-linker=hoisted is used and node_modules is not up-to-date, pnpm relinks all dependencies inside node_modules. This is not efficient, so with this optimisation pnpm will only relink what needs to be relinked.

@zkochan zkochan marked this pull request as ready for review December 18, 2022 14:59
@zkochan zkochan requested a review from a team December 18, 2022 15:25
@zkochan zkochan changed the title feat: store locations of deps when node-linker is set to hoisted feat: store locations of deps when node-linker is set to hoisted Dec 18, 2022
@zkochan zkochan merged commit 2458741 into main Dec 18, 2022
@zkochan zkochan deleted the map-hoisted-deps branch December 18, 2022 18:53
@zkochan zkochan added this to the v7.19 milestone Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants