0.1.0-beta.1 • Published 6 months ago
micmicproxy v0.1.0-beta.1
How to test the CLI locally without publishing
- Go to the 'be' folder, run npm link, then you can use mmp command. When you change the files in 'dist', the mmp command will automatically be the latest
- To unlink, run the following in 'be' folder
npm unlink @eimiveritas/micmicproxy
- If this does not work, just use
node apps/be/dist/index.js start
How to use monorepo
- For a pnpm workspace, usually the command is
pnpm --filter fe build
- We are using nx to help cache some dependency builds, to run a specific script for an app, e.g. be
npx nx run @eimiveritas/micmicproxy:build
- During dev, will run both FE and BE
npx nx run-many --target=dev --all
- To install a dependency package
pnpm --filter @eimiveritas/micmicproxy install <some-package-name>
- To install to the root of the workspace, e.g. install nx package as dev dependency
pnpm add nx -D -w
To release to npm registry
- Run
npx nx run @eimiveritas/micmicproxy:release
0.1.0-beta.1
6 months ago