Contributing
Set up the repository, run the tests, and work on the docs.
Upwell is MIT licensed and developed on GitHub. Issues and pull requests are welcome.
The repository
Library
The root is an npm workspace; run these from it:
npm install
npm test # engine table tests, controller, hooks, UI, plugin
npm run lint && npm run typecheck
npx changeset # describe your change for the changelogEngine changes start with a table test in packages/core/src/__tests__. decide() is pure, so
every rule can be covered without a device. @upwell/core has no dependencies and its tests run
in plain Node; upwell depends on it and re-exports everything it exports.
Android native code needs JDK 21 for Gradle. iOS native code is compiled in CI on macOS.
Docs
This site is a Fumadocs app in apps/docs/, deployed separately from the
library. It has its own install, outside the workspace.
cd apps/docs
npm install
npm run dev # http://localhost:3000/docs
npm run buildPages are MDX files in apps/docs/content/docs, and meta.json files set the sidebar order. Every page
has an "Open in GitHub" link, so fixing a typo is one click away.