-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(contracts): switch from yarn to pnpm (#33)
Switch from yarn to pnpm for node package management. #### Motivation [pnpm](https://pnpm.io/) is becoming industry standard for managing node packages. It's lightweight, and removes a lot of bloat from node_modules - using symlinks and ensuring package versions are only installed to disk once. Installations are much quicker. And it has better support for monorepos (pnpm workspaces) should we decide to manage multiple pnpm projects in our monorepo (as [optimism does](https://github.com/ethereum-optimism/optimism/blob/develop/pnpm-workspace.yaml), for example) I've avoided using it in the past alongside foundry because foundry has allegedly had [issues with handling pnpm symlinks](foundry-rs/foundry#2714), but I've tried it in our playground repo and imports work well, for both building & IDE ls integrations. task: none
- Loading branch information
1 parent
49905eb
commit f9cca5c
Showing
7 changed files
with
29 additions
and
935 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 |
---|---|---|
@@ -1,13 +1,4 @@ | ||
.yarn/* | ||
!.yarn/cache | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions | ||
|
||
node_modules | ||
yarn-error.log | ||
|
||
out | ||
cache |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.