Last active
December 27, 2023 08:10
-
-
Save ygweric/014b10e976801a97e56f3429c4f7359f to your computer and use it in GitHub Desktop.
npm、yarn link 信息
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
# npm | |
npm ls -g --depth=0 --link=true | |
C:\Program Files\nodejs -> .\ | |
└── @xx/xx-design@0.0.14 -> .\..\..\..\..\repo\xxx-design | |
# yarn | |
On Windows you can find the linked packages at ls ~/AppData/Local/Yarn/Data/link/ | |
On Linux: /home/%username%/.config/yarn/link |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment