In root directory:
pnpm build
This, in turn, calls parcel build packages/*
. This, then, builds all packages in ./packages
according to their documentation. The packages have targets specified through their package.json
files (using source
, main
, module
, and types
, as per https://parceljs.org/features/targets/#package.json%23source).
“Entries may also be directories, in which case a
package.json
file containing asource
field must be present. See below for details.”
In root directory:
pnpm docs
This builds a static documentation page to /docs
using fliegdoc
.
After adjusting package versions (TODO: find a way to automate this):
In root directory:
pnpm publish -r
package versions in subpackages' package.json
files get replaced automatically in the published version
requires a clean git tree