Use the specified version of Node for this project:
nvm use
If you get an error that the version of node is not installed, run:
nvm install $(cat .nvmrc)
npm startWatch packages for updates to code and documentation, triggering builds of both on change.
npm run bootstrapInstall dependencies for each package.
npm run buildBuild each package.
npm run packagePrepare each package for distribution.
npm run docgenGenerate documentation for each package.
npm testRun tests for all packages.
See CONTRIBUTING.md.
The generation of our documentation website is a three part process:
jsii must be run within each package (this is done by running npm run build from the project base dir). This produces a .jsii in the root of each package.scripts/docgen.js should be run to gather each package's .jsii file and to export markdown documentation for each package into the site/docs directory.This process can be made easier by running two processes in separate terminals:
npm start which concurrently runs two operations:jsii builds on changes to packages' README.md or lib/*.ts files.scripts/docgen.js to run on changes to packages' .jsii files.npm run website which starts the Jekyll server. It is assumed that Jekyll has been previously installed on the system. See Jekyll's documentation for more information.