Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
625 views
in Technique[技术] by (71.8m points)

yarnpkg - Are `yarn link` and `npm link` interoperable?

I know there are subtle differences between yarn and npm. Now I have a library managed with yarn and an app managed with npm.

Should it work without issues, if I create a linked pkg in my lib directory via yarn and apply it via npm in my other directory? Or should I expect issues with this setup? If yes, which issues might pop up and how could I avoid them (except converting both projects to the same manager)

~/the-lib$ yarn link 
~/app$ npm link @the/lib

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...