Development flow (watching for changes and re-building)

In root directory:

pnpm watch

CLI

parcel watch

Testing packages manually (REPL)

Install all pacakges in the workspace root (like the development dependencies, but without the -D argument). Then, simply run node in the root directory, and you can require() all packages.

Testing packages automatically (Jest-based unit tests)

Jest

jest

A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript. | ts-jest

ts-jest

In root directory:

pnpm test

or

pnpm exec jest