Primus Frontend
March 11, 2026 ยท View on GitHub
Frontend monorepo for the Primus platform.
Structure
apps/
safe/ # Control plane & workload management UI
lens/ # Lens UI
packages/ # Shared frontend packages (future)
Prerequisites
- Node.js: recommended Node 22.x
- pnpm: this repo pins pnpm via
packageManagerinpackage.json
Install
pnpm install
Develop
Safe
pnpm dev:safe
Lens
pnpm dev:lens
Test
pnpm test # Run all tests
pnpm test:safe # Run Safe tests only
pnpm test:lens # Run Lens tests only
Build
pnpm build:safe
pnpm build:lens
Workspace notes
- This is a pnpm workspace (
pnpm-workspace.yaml). Add dependencies to the correct app:
pnpm --filter ./apps/safe add <pkg>
pnpm --filter ./apps/lens add <pkg>