Continuous Integration

Building packages

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 a source field must be present. See below for details.”

Targets

Building documentation

In root directory:

pnpm docs

This builds a static documentation page to /docs using fliegdoc.

fliegdoc Documentation

Publishing packages

After adjusting package versions (TODO: find a way to automate this):

In root directory:

pnpm publish -r