A pnpm workspaces monorepo containing shared packages and modules for web applications.
Web Core Modules (WCM) is a collection of reusable packages and demo applications focused on building modern React applications. The monorepo contains a design system, shared configurations, and example implementations.
-
Ensure you have Node.js 24+ installed:
nvm use
-
Install pnpm if you haven't already:
npm install -g pnpm
-
Install dependencies:
pnpm install
-
Build all packages:
pnpm build
packages/lunar/- React component library inspired by Radix UI and ShadCNpackages/boiler-room/- Shared boilerplate configurations (ESLint, Prettier, TSConfig)
demos/lunar-storybook/- Storybook showcase for Lunar componentsdemos/lunar-react-router/- React Router application using Lunar components
pnpm build- Build all packagespnpm dev:lunar-storybook- Start Lunar development with Storybookpnpm dev:lunar-react-router- Start Lunar development with React Router demopnpm test- Run tests for all packagespnpm lint- Lint all packagespnpm lint:fix- Fix linting issuespnpm typecheck- Type check all packagespnpm format- Format code with Prettier
To add a new package:
- Create a new directory in
packages/ordemos/ - Add a
package.jsonwith a unique name - Run
pnpm installto link workspace dependencies - Add the package to the root
pnpm-workspace.yamlif needed
This monorepo uses:
- pnpm for package management and workspaces
- TypeScript for type safety
- ESLint and Prettier for code quality
- Vanilla Extract for CSS-in-JS styling
- Vite for building and development