folio uses the Bun and Node versions in mise.toml.
bun install
bun run checkcheck runs oxlint and oxfmt, the typecheck, the package build and the tests.
bun run fix applies the linter's and formatter's fixes.
This site
The site folder builds this manual with folio's own source:
bun run site # serve it while editing
bun run build:site # build the package, then the site into site/dist.github/workflows/site.yml builds the site on every pull request and deploys
it to folio.rising.sh on a push to master.
Release
- Set
versioninpackage.json. - Start
.github/release-notes.mdwithfolio X.Y.Z is out. - Update the install URL in
README.mdanddocs/getting-started.md. - Merge, then push the tag
vX.Y.Z.
The release workflow refuses a tag that does not match package.json. It checks
the package, packs it, installs the tarball in an empty project, and attaches
the tarball to the tag's GitHub release.