Mathbox React

July 19, 2026 · View on GitHub

React bindings for Mathbox.

Development

The project uses Yarn and includes two Yarn Workspaces:

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:

TypeRelease
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 from main (publishes to npm + creates the GitHub release).
  • pre-release — publish a throwaway 0.0.0-<sha> version under the preview npm tag from any branch, for testing before merge.