Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Starting point for a Typescript, React (v16.8.0+), Yarn & Lerna monorepo project with full setup for ESLint and Prettier.

A full-stack Next.js TypeScript template focused on functionality over UI, featuring Zustand, TanStack Query, and ESLint 9 support.
The React TypeScript Yarn Lerna Monorepo Boilerplate is a free, GitHub-hosted starter that combines Create React App, TypeScript, Yarn Workspaces, and Lerna into a three-package monorepo with ESLint, Prettier, and react-testing-library preconfigured.
This boilerplate scaffolds a monorepo consisting of three TypeScript packages: www (a Create React App application), shared (reusable React components), and utils (shared TypeScript functions). It is initialized with react-scripts v3.4.0 and React v16.8.0+, tested up to 16.13.1, and requires Node.js v10.15+. The project is maintained by michielbouw on GitHub and uses Yarn as its package manager with Lerna for managing multi-package releases.
yarn lint and yarn lint:fix scripts are included.yarn test runs the test runner in watch mode.yarn start runs the app at localhost:3000 with reload on edits, while yarn typecheck checks TypeScript compilation errors.yarn build outputs a minified, optimized production bundle with cacheable hashes, ready for deployment..eslint.json, package.json, and tsconfig.json from an existing package, then running yarn clean:update to reinitialize workspaces.shared package and simultaneously test them inside the www app without extra tooling.www), a shared component package (shared), and a utilities package (utils) in one repository, with linting and testing already configured.yarn lint and yarn typecheck.After cloning the repository, run yarn install to set up the workspaces. To add a new package, create a folder under the packages directory and copy the ESLint, package.json, and tsconfig files from an existing package, then run yarn clean:update. The www package is started with yarn start, which serves the app at http://localhost:3000 with live reload.
Yes, the repository is publicly available on GitHub under no stated license or pricing; you can clone or download it and use it as a starting point for your own projects.
Node.js v10.15+ is required, based on the setup instructions. You can install it from nodejs.org or use Node Version Manager (nvm).
It uses react-testing-library rather than Enzyme. The test runner is invoked with yarn test and runs in interactive watch mode.
Create a new folder under the packages directory, copy .eslint.json, package.json, and tsconfig.json from an existing package, then run yarn clean:update to clean and reinitialize the workspaces.
www is the Create React App TypeScript application, shared holds reusable React components, and utils contains shared TypeScript functions that can be imported across packages.
