Skip to content

deptno/typescript-monorepo-cra-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typescript-monorepo-cra-example

<ComponentA>

🙉 TypeScript Monorepo Sample
Required TypeScript@3 above

Create monorepo with create-react-app

Prerequisition

create-react-app, yarn

Create monorepo

$ create-react-app typescript-monorepo/packages/react-app --react-scripts=react-scripts-ts
$ cd typescript-monorepo
$ rm -r packages/react-app/node_modules

Create component

Edit react-app

$ yarn
$ yarn build:packages
$ yarn start

Related