Upwell

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

src/ (types, validation, decision engine, versions, rollout)
schemas/ (JSON Schemas)
controller.ts
react/
ui/
expo-updates/
simulation/
android/ (Kotlin, Play Core)
ios/ (Swift, StoreKit)
plugin/ (config plugin)
example/ (example app)

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 changelog

Engine 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 build

Pages 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.

On this page