πŸ™‰ TypeScript@3 monorepo example CRA version
Branch: master
Clone or download
Latest commit 52bdcd7 Aug 15, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets πŸ™‰ Aug 14, 2018
packages fix links, link -> add to package.json Aug 15, 2018
.gitignore πŸ™‰ Aug 14, 2018
README.md add related Aug 15, 2018
package.json πŸ™‰ Aug 14, 2018
yarn.lock πŸ™‰ Aug 14, 2018

README.md

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