To start, you'll need NodeJS 14 or Lando installed (prefix commands with lando
).
The development and release process heavily lean into common NPM scripts, the only commands you need to care about are;
npm i
to install dependencies.npm test
to run tests.npm version ...
to create a new version.npm publish
to publish.
The sole exception is the release readiness check. This is run automatically by the CI, and can be run locally with;
npm run release-readiness
API documentation is derived from source using API Extractor and API Documenter. Entities tagged with @public
will be included in API generated documentation.
Generation occurs automatically when pnpm version
is run.
Generally speaking, all releases should first traverse through alpha
, beta
, and rc
(release candidate) to catch missed bugs and gather feedback as appropriate. Aside from this however, there are a few steps that MUST always be done.
- Make sure
CHANGELOG.md
is up to date. - Update version via
npm
likenpm version 3.0.0
ornpm version patch
. npm publish
.- Create release on GitHub from tag made by
npm version
.
A Lando configuration is included in this repo.