To install all packages for root & examples & libs. The workspace will takecare the rest
yarn install
(cd packages/natsu && yarn build)
(cd packages/natsu-port-server && yarn build)
yarn dev:examples
- This command will rebuild & bump package version & publish to npm registery & create github tag
PROJECT=library_path yarn release
Ex: PROJECT=packages/natsu yarn release
- Nats-runner reports error?
Natsu is yet built and Natsu-runner is written in JS.yarn workspace @silenteer/natsu build
would solve - example-client uses withTM?
Next.js doesn't read.ts
file outside of the root dir of the next app. Transpile-module will transpile those reference using babel. You will not this trick if you used released version of the library
Tips
Use Npm script explorer in vscode to run command from nested packages by one click.
It won't work with command which need environment variable