Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

pnpm-workspace-example

Example pnpm monorepo with multiple publishable packages.

Packages

  • @YOUR-ACCOUNT/utils — Utility functions
  • @YOUR-ACCOUNT/greeting — Greeting utilities

Setup

  1. Update @YOUR-ACCOUNT in .npmrc and all package.json files with your account slug
  2. Configure authentication:
    pnpm login --registry=https://registry.vlt.io/YOUR-ACCOUNT/main/ --scope=@YOUR-ACCOUNT
  3. Install dependencies:
    pnpm install
  4. Build packages:
    pnpm build

Publishing

To publish all packages:

pnpm -r publish

To publish a specific package:

cd packages/greeting
pnpm publish

See the vlt publishing guide for more details.