Example of how to use a TypeScript monorepo that supports development against internal package dependencies without requiring a build step.
This primarily relies on tsx
and user conditions in a package.json's conditional exports.
npm install
npm run dev -w app
- Navigate to http://localhost:5173
If you want to run against the component's build then run npm run build -w components
followed by npm run dev:build -w app
.