Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

new: Initial support for PnP. #140

Merged
merged 2 commits into from
Jul 13, 2021
Merged

new: Initial support for PnP. #140

merged 2 commits into from
Jul 13, 2021

Conversation

milesj
Copy link
Collaborator

@milesj milesj commented Jul 12, 2021

Been working on supporting PnP in Boost, which also requires work here. It's a vicious circle.

The biggest blocker is loading plugins/configs.

@milesj milesj changed the title new: Initiall support for PnP. new: Initial support for PnP. Jul 12, 2021
@milesj milesj merged commit 7cc7271 into master Jul 13, 2021
@milesj milesj deleted the boost-pnp branch July 13, 2021 00:35
Comment on lines +351 to +352
* of its dependencies. This functionality is necessary to satisfy Yarn PnP and
* resolving plugins that aren't listed as direct dependencies.
Copy link

Choose a reason for hiding this comment

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

NIT: It's required regardless of PnP, otherwise it's depending on hoisting which isn't guaranteed to be in its favour, e.g. workspaces.
https://yarnpkg.com/advanced/rulebook#packages-should-only-ever-require-what-they-formally-list-in-their-dependencies

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants