You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As much as Storybook is great, sometimes I want to test a library in another repo, and id like to be able to do this before publishing. Can this be done with PRandJ?
Ive done this previously with "yarn link". When I run the command it looks promising:
success Registered "PROJECT-NAME".
info You can now run `yarn link "PROJECT-NAME"` in the projects where you want to use this package and it will be used instead.
✨ Done in 0.02s.
But when I try and use it in another repo I get an error:
Module not found: Can't resolve 'PROJECT-NAME'
These steps have worked for me before when my component library was just a .tsx file, so im not sure if my set up is wrong or if this wont work with PRandJ?
The text was updated successfully, but these errors were encountered:
As much as Storybook is great, sometimes I want to test a library in another repo, and id like to be able to do this before publishing. Can this be done with PRandJ?
Ive done this previously with "yarn link". When I run the command it looks promising:
But when I try and use it in another repo I get an error:
These steps have worked for me before when my component library was just a .tsx file, so im not sure if my set up is wrong or if this wont work with PRandJ?
The text was updated successfully, but these errors were encountered: