-
Notifications
You must be signed in to change notification settings - Fork 238
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
Add support for Yarn Plug'n'Play #158
Comments
Why is Notion using |
Notion supports (will support?) delegating from a globally-installed tool to a project-specific version if one exists. (For example, if you have |
I see - the best way I see this being solved would be to defer the project packages execution to Yarn itself (which is what we recommend anyway - the symlinks being in So instead of:
You'd actually run:
Does that make sense? |
@arcanis Is there a way we can reliably cache the information you're getting from |
You can expect the value of
The Node boot time is unfortunate indeed :( |
@dherman @arcanis Circling back to this after a lot has changed, I think we can implement exactly the solution of running We now know that a project has local bins by looking at the See https://github.com/volta-cli/volta/blob/master/crates/volta-core/src/run/binary.rs#L26 We can add a check here if |
Since PnP is now on by default in Yarn 2.0 (and from what I can tell with the docs, doesn't require the |
Just a note: https://github.com/yarnpkg/berry/blob/master/CHANGELOG.md#300
|
NOTE: this issue predates this project's rename to Volta.
Notion currently only supports traditional
node_modules
dependencies. Support should be added for Yarn Plug'n'Play once it stabilizes.The text was updated successfully, but these errors were encountered: