Runtime
Discovering workspaces...
A complete pnpm monorepo running in the browser. Workspace discovery, automatic symlink-based package linking, and cross-package require() calls all work, powered by jiki’s workspace APIs.
How it works
pnpm-workspace.yamlglob patterns (packages/*,apps/*) are parsed to find all local packagesnode_modulessymlinks are created so packages canrequire()each other by name"@monorepo/utils": "workspace:*"dependencies resolve to local paths@monorepo/scoped package names get proper directory nesting@monorepo/loggerdepends on@monorepo/utils;@monorepo/clidepends on both
Monorepo structure
/
├── pnpm-workspace.yaml # Declares packages/* and apps/*
├── packages/
│ ├── utils/ # @monorepo/utils — shared helpers
│ └── logger/ # @monorepo/logger — uses utils
└── apps/
└── cli/ # @monorepo/cli — uses both packagesThings to try
- Run
node apps/cli/index.jsto see cross-package imports in action - Run
pnpm run testto execute all package tests - Edit
packages/utils/index.js— add a new function, then use it inapps/cli/index.js - Browse the file tree to see how
pnpm-workspace.yamlandpackage.jsonfiles define the workspace topology