You can link this library within the project you are using:
cd members-area/members-domain-ts
-
npm link
(this will@wix/members-domain-ts
as any other npm package in your local machine) cd ../members-area-app
-
npm link @wix/members-domain-ts
(this will create a symlink within node_modules to @wix/members-domain-ts)
- Different node versions used on library and on project includin the library. Then
npm link
will work on different node versions, therefore won't resolve the symlink.