Repository navigation
0008 workspace
github-actions[bot] edited this page Nov 17, 2026
·
1 revision
Status: accepted · Implementation: skeleton · Date: 2026-11-17
Built: the workspace, the three packages, Biome (Markdown excluded: it breaks the frontmatter of these records) and Vitest. packages/core holds one rule so far.
ADR 0007 gives librelifts an Expo app and an Electron shell around its web build. The rules of the program (when a weight goes up, when it deloads) are the part most worth testing, and they should not depend on a UI framework to run.
One repository, one pnpm workspace:
| Path | What it is |
|---|---|
apps/app |
The Expo app: iOS, Android and web. |
apps/desktop |
The Electron shell. It loads the web build of apps/app. |
packages/core |
The rules of the program, in plain TypeScript. No React, no React Native. |
-
packages/coreis consumed as TypeScript source; it has no build step. - Tooling: pnpm, TypeScript, Biome for linting and formatting, Vitest for
packages/core. - Packages that Expo manages are installed with
npx expo install, so their versions match the SDK.
- The rules are tested once, quickly, without a simulator, and every platform runs the same code.
- Anything that needs a platform API (storage, timers, notifications) stays out of
packages/coreand is passed in. - A workspace adds a little setup to Metro and Electron compared with a single package.
Generated from docs/ on dev. Edit the docs there; changes made on the wiki are overwritten.
- Development
- Parity with StrongLifts
- Workflow
-
Decisions
- 0001 Decisions are recorded as ADRs
- 0002 Apache License 2.0
- 0003 Parity with StrongLifts, everything free
- 0004 iOS, Android and web
- 0005 Local-first; accounts and sync later through Spotcraft
- 0006 openweight for import and export, not for storage
- 0007 One Expo app, wrapped in Electron for desktop
- 0008 A pnpm workspace with app, desktop and core
- 0009 The website is static Astro in apps/website
- 0010 The website is hosted on GitHub Pages at librelifts.app
- 0011 docs/ is for developers and is mirrored to the wiki
- 0012 Changes land on dev by fast-forward; main is the last release