Skip to content

Conversation

larixer
Copy link
Member

@larixer larixer commented Sep 12, 2024

What's the problem this PR addresses?

Fixes #6493
Fixes #6494

How did you fix it?

Issue: #6493. Sometimes hoisting algorithm was stopped too early, because it wasn't able to determine correctly stop condition. I made it safer but possibly one round slower by stopping only when nothing was hoisted during the last round.

Issue: #6494. Hoisting avoided hoisting to non-root workspace previously, I have removed this limitation, because it made inner workspaces meaningless.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@larixer larixer requested a review from merceyz September 12, 2024 11:36
@larixer larixer added this pull request to the merge queue Sep 12, 2024
Merged via the queue into master with commit a22486f Sep 12, 2024
32 checks passed
@larixer larixer deleted the larixer/nm-safer-hoisting branch September 12, 2024 12:22
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.

[Bug?]: node_modules hoisting issue with inner workspaces [Bug?]: Hoisting issue when a single workspace package has hoistingLimits: workspaces
2 participants