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?
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?