A working example of a monorepo with pnpm workspace and a few projects.
- Each sub-project was created with Vite.
- tsconfig.json, ESLint config, and Prettier config were made as reusable packages and use them in all other packages.
/pnpm-workspace-example
tsconfig.json
/packages
/apps
/app1
/app2
/shared
/components
Component1.tsx
Component2.tsx
/utils
validator.ts
/dev
/eslint-config-custom
/tsconfig
/prettier-config