A TypeScript monorepo using pnpm workspaces for async tracing functionality.
async-tracing/
├── packages/ # Shared packages and libraries
├── package.json # Root package.json with workspace scripts
├── pnpm-workspace.yaml # Workspace configuration
├── tsconfig.json # Root TypeScript configuration
├── eslint.config.ts # ESLint configuration
├── tsconfig.base.json # Base tsconfig.json file for all packages- Node.js >= 20.0.0
- pnpm >= 10.0.0
- Install dependencies:
pnpm install- Available scripts:
pnpm build- Build all packagespnpm lint- Run ESLint on all TypeScript filespnpm test- Run tests for all packagespnpm clean- Clean build outputs
To add a new package to the monorepo:
- Create a new directory in
packages/ - Initialize with
package.json - Add TypeScript configuration if needed
- The package will automatically be included in the workspace
This project uses:
- TypeScript for type safety
- ESLint for code linting
- pnpm workspaces for monorepo management