Mathbox React
July 19, 2026 · View on GitHub
React bindings for Mathbox.
Development
The project uses Yarn and includes two Yarn Workspaces:
- mathbox-react The actual package code, pbulished to NPM
- examples Examples using
mathbox-react.
See individual package.json files for available commands. In general, commands should be run via yarn, not npm. E.g., yarn install or yarn lint.
Releasing
Releases are automated with semantic-release. The published version and changelog are derived from the Conventional Commit titles of the pull requests merged since the previous release (each PR is squash-merged, so its title becomes the commit message; the Lint PR check enforces the format).
Which commit types cut a release:
| Type | Release |
|---|---|
feat: | minor |
fix:, perf:, refactor:, revert:, build: | patch |
feat!: / BREAKING CHANGE: | major |
docs:, test:, ci:, style:, chore: | none |
Dependency updates follow the same rules: Renovate is configured for semantic commits, so bumps to runtime dependencies are titled fix(deps): (releasing a patch) while dev/tooling bumps are chore(deps): (no release).
To publish, trigger the Releases (Semantic & Pre-release) workflow from the Actions tab (workflow_dispatch):
semantic-release— cut a real release frommain(publishes to npm + creates the GitHub release).pre-release— publish a throwaway0.0.0-<sha>version under thepreviewnpm tag from any branch, for testing before merge.