https://github.com/pavanpodila/monorepo
A working configuration using Lerna, TypeScript and Create-React-App for a monorepo project.
https://github.com/pavanpodila/monorepo
create-react-app lerna react typescript
Last synced: about 2 months ago
JSON representation
A working configuration using Lerna, TypeScript and Create-React-App for a monorepo project.
- Host: GitHub
- URL: https://github.com/pavanpodila/monorepo
- Owner: pavanpodila
- Created: 2019-02-28T14:06:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-22T03:50:57.000Z (over 3 years ago)
- Last Synced: 2025-02-12T14:57:04.944Z (4 months ago)
- Topics: create-react-app, lerna, react, typescript
- Language: TypeScript
- Size: 362 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# monorepo
A working configuration consisting of:'
- [x] TypeScript
- [x] Lerna
- [x] Monorepo
- [x] Cross-linked packages
- [x] Create-React-App for the app container# Notes
Ensure you do this in the `tsconfig.json` for your projects.
- `jsx: preserve` for the **app** projects.
- `jsx: react` for the **library** projects.Else TypeScript will complain for `"Module not Found"`
Every library project should have the following in the `package.json`. This allows
type resolution for TypeScript and runtime resolution for webpack.```
"types": "build/index.d.ts",
"main": "build/index.js",
```