The simple-pie monorepo is based on the core concepts of the Turbo Monorepo handbook.
role | tool |
---|---|
package manager | npm |
workspace manager | npm workspaces |
orchestration tool | Turborepo |
The monorepo is split into apps
and packages
.
apps
- for separate applications and E2E tests (homepage)packages
- for shared packages (internal and external)
simple-pie-project
├─ config
├─ docs
├─ apps
│ ├─ homepage
│ └─ homepage-legacy
└─ packages
├─ pie-math
├─ simple-pie
└─ react-simple-pie
packages/pie-math
includes all calculations (business logic).
packages/simple-pie
and packages/react-simple-pie
are external and are published to npm.
They don't include any calculations and they are just "transport" packages (read more in package-publishing.md).
flowchart TD
PM[packages/pie-math] --> SP
PM --> RSP[packages/react-simple-pie]
SP[packages/simple-pie] --> HL[apps/homepage-legacy]
RSP --> HL
SP -.-> NPM([📦 npm])
RSP -.-> NPM