Example pnpm monorepo with multiple publishable packages.
@YOUR-ACCOUNT/utils— Utility functions@YOUR-ACCOUNT/greeting— Greeting utilities
- Update
@YOUR-ACCOUNTin.npmrcand allpackage.jsonfiles with your account slug - Configure authentication:
pnpm login --registry=https://registry.vlt.io/YOUR-ACCOUNT/main/ --scope=@YOUR-ACCOUNT
- Install dependencies:
pnpm install
- Build packages:
pnpm build
To publish all packages:
pnpm -r publishTo publish a specific package:
cd packages/greeting
pnpm publishSee the vlt publishing guide for more details.