Install dependencies recursively with this command
make installmake buildmake lintmake typecheckmake testYou can test these libraries locally without releasing using the pnpm link command. This allows your application to use the local version of the library instead of the published one. More on pnpm link.
To link a library locally, run this command from the respective app directory:
pnpm link ./<path_to_libraries_monorepo>/packages/<library_name>To unlink the library:
pnpm unlink ./<path_to_libraries_monorepo>/packages/<library_name>- Make sure that package.jsonandpnpm-lock.ymlare synchronized.
- You may need to restart your apps before link and unlink to see the changes.
- All the libraries that defines or uses context has to be linked in order to link one libraries that use the context or defines it.