{"repo":"michielbouw/react-typescript-yarn-lerna-monorepo-eslint-prettier-boilerplate","free":true,"listed":false,"github":"https://github.com/michielbouw/react-typescript-yarn-lerna-monorepo-eslint-prettier-boilerplate","clone":"git clone https://github.com/michielbouw/react-typescript-yarn-lerna-monorepo-eslint-prettier-boilerplate.git","description":"Starting point for a Typescript, React (v16.8.0-alpha.0), Yarn & Lerna monorepo project with full setup for ESLint and Prettier.","language":"TypeScript","stars":55,"topics":["react","typescript","typescript-boilerplate","react-boilerplate","eslint","eslint-config","eslint-config-prettier","prettier","prettier-eslint","create-react-app"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"React (v16.8.0+), Typescript, Yarn & Lerna Monorepo Starting point for a Typescript, React (v16.8.0+, tested up to v16.13.1 ), Yarn & Lerna monorepo project with full setup for ESLint and Prettier. Stack This project is initialized with Create React App consisting of: - TypeScript - React (v16.8.0+, tested up to v16.13.1 ) - react-scripts (react-scripts v3+, tested up to v3.4.0 , from createReactApp) - react-testing-library (not Enzyme) - Yarn Workspaces (multiple packages architecture) - Lerna (tool for managing the monorepo packages) - SASS/SCSS - ESLint (instead of deprecated TSLint) - Prettier Content The project now consists of 3 packages. - www : create-react-app with TypeScript (react v16.13.1+, react-scripts v3.4.0) - shared : react components with TypeScript (react v16.13.1+) - utils : shared functions with TypeScript Get Started Make sure you run Node.js v10.15+ To install check (Node.js installation or Node Version Manager installation). Clone or copy this repo or yarn install Note: this project is initialized with Yarn. Adding / removing packages To add a new package create a new folder in under packages and copy the .eslint.json , package.json , tsconfig.json from another similar project in here. After that you can setup your project how you like it. (you can also extend the custom scripts from the main package.json or already include in as dependency for another package). After changing the packages run yarn clean:update to clean & reinit the workspaces. After c","default_branch":null,"files":null,"tree":[],"storefront":"/r/michielbouw","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/michielbouw/react-typescript-yarn-lerna-monorepo-eslint-prettier-boilerplate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}