forked from stephank/yarn-plugin-nixify
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When used with pnp, we can avoid copying deps to the main project, so that rebuilds are faster and less spaces is used when only project source changes (but not deps). To make this work, we need to patch .pnp.cjs, since unfortunately symlinks don't work as packageLocations cannot be (see: yarnpkg/berry#3514). We also cannot use absolute paths, so we end up using relative paths to store locations containing each deps. This also works for unplugged deps.
- Loading branch information
1 parent
7cf60c8
commit 7f0be32
Showing
2 changed files
with
162 additions
and
29 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