1.0.1 • Published 7 years ago
frontend-monorepo v1.0.1
- CLI
- Electron UI
- Common
Setup
On the project root:
yarn installDeveloping
Everything is watched/hot reloaded. You don't need to worry about anything
CLI
cd packages/cli
yarn linkUI
cd packages/ui
yarn dev:electronOn another shell:
yarn start:electronOr you can develop for browser:
yarn dev:browserThis will automatically open your browser
Common
Just add code there and import it on any other package/app.
If this package/app lives inside the monorepo (just like UI and CLI), you will always get the latest code version on your imports.
Tools
Anything installed here will be available for the other packages inside the monorepo. Good things to be here: compilers (typescript), test runners (jest), linters (tslint), semantic-versioning stuff, etc.
1.0.1
7 years ago