A pnpm and Turborepo monorepo for small, focused React libraries. Each library is independently versioned and published to npm under the @zemd scope, so consumers install only what they need.
| Package | Version | Description |
|---|---|---|
@zemd/react-modals |
Lightweight modal-stack management | |
@zemd/react-slottable |
Typed customization of nested component slots |
Both packages include TypeScript declarations and are licensed under Apache-2.0. See each package README for its installation, compatibility, and API documentation.
npm install --global corepack@latest
corepack enable pnpm
git clone https://github.com/zemd/react.git
cd react
pnpm installCommands run from the repository root and apply to the workspace packages that define the corresponding task.
| Command | Description |
|---|---|
pnpm build |
Build workspace projects through Turborepo |
pnpm test |
Run package test suites |
pnpm test-coverage |
Run package test suites with V8 coverage reports |
pnpm typecheck |
Type-check package source without emitting files |
pnpm format |
Format the repository with oxfmt |
pnpm format-check |
Check formatting without writing changes |
pnpm lint |
Lint and apply safe fixes with oxlint |
pnpm lint-check |
Run the full type-aware lint; fails on any finding |
pnpm lint-publish |
Validate publishable package metadata with publint |
Use a workspace filter to run a package task directly:
pnpm --filter @zemd/react-modals build
pnpm --filter @zemd/react-slottable testReport vulnerabilities through the private channels described in SECURITY.md. Do not open a public issue for a suspected vulnerability.
Issues and pull requests are welcome. Before opening a PR, please make sure that pnpm lint-check, pnpm format-check, pnpm typecheck, and pnpm test all pass.
Each package declares its own license — see the table above and the LICENSE file inside every package directory. Unless stated otherwise, packages are released under Apache-2.0 😇.