Private monorepo for experimental snaps dependencies.
yarn setup in the project root directory.
Do not run any installation commands in individual workspaces.
If you add a dependency with a lifecycle script, said dependency must be added to the
lavamoat.allow-scripts config of the root
This is currently the only way to use
@lavamoat/allow-scripts in monorepos.
For local development, you should run
yarn build:clean in the project root directory.
This will always build the packages in the correct order.
You can also run
yarn build in a workspace, although you have to ensure that the projects are built in the correct order.
@mm-snap/workers has a post-
tsc step that must be run, which somewhat complicates the build process.
Repository-wide watching is currently not possible.
Testing and Linting
yarn test and
yarn lint in the project root directory, or in a workspace.
Follow the usual release automation workflow, the publish locally from the monorepo root using:
yarn publish:all --otp=YOUR_NPM_OTP_CODE