This directory contains internal libraries that share common functionality across the packages. They are private npm workspaces and are not published to the npm registry. Any package that wishes to consume these libs should do the following:
- Add the lib as a devDependency to the workspaces package.json matching the version to the version declared in the libs package.json.
- Run
npm installin the root of the repo. - Now import the package like any other
import {exportedVal} from @libs/<name_of_lib>
[!WARNING] It is important that the lib is declared as a devDependency. If it is added as any other dependency type it will be externalised during the build process and break installation of the consuming package as none of these libs exist in the NPM repository.