-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(nm): Properly hoist nested workspaces (#3438)
* Properly hoist nested workspaces * Update pnp.cjs * Runs lint * Adds nested internal portals support * Adds a test that checks if symlinks are created for anonymous workspaces * Adds a test for nested workspace hoisting * Don't try to meet workspace peer dependency constraints for now * Forces Babel repo to use Yarn from sources * Removes console.log * Allows direct workspace dependencies hoisting to the root workspace only * Keep the orig reason * Adds a unit test to check multi-parent workspace hoisting * Fixes test * Improve nested workspaces hoisting unit test * Fixes reasons binding * Improves means of hoister troubleshooting by adding hoistedTo and hoistedFrom to the parent of each node * Outputs detailed troubleshooting information for broken require promise self check * Adds additional hoisting checks for the round > 1 * Fixes lint issues Co-authored-by: Maël Nison <[email protected]>
- Loading branch information
Showing
7 changed files
with
335 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
releases: | ||
"@yarnpkg/cli": patch | ||
"@yarnpkg/nm": patch | ||
"@yarnpkg/plugin-nm": patch | ||
"@yarnpkg/pnpify": patch | ||
|
||
declined: | ||
- "@yarnpkg/plugin-compat" | ||
- "@yarnpkg/plugin-constraints" | ||
- "@yarnpkg/plugin-dlx" | ||
- "@yarnpkg/plugin-essentials" | ||
- "@yarnpkg/plugin-init" | ||
- "@yarnpkg/plugin-interactive-tools" | ||
- "@yarnpkg/plugin-npm-cli" | ||
- "@yarnpkg/plugin-pack" | ||
- "@yarnpkg/plugin-patch" | ||
- "@yarnpkg/plugin-pnp" | ||
- "@yarnpkg/plugin-pnpm" | ||
- "@yarnpkg/plugin-stage" | ||
- "@yarnpkg/plugin-typescript" | ||
- "@yarnpkg/plugin-version" | ||
- "@yarnpkg/plugin-workspace-tools" | ||
- vscode-zipfs | ||
- "@yarnpkg/builder" | ||
- "@yarnpkg/core" | ||
- "@yarnpkg/doctor" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.