static

My tools

Timer & Tracker

Farnsworth CW Trainer

Life in weeks

Learn Foreign Language — in-progress language practice workspace.

Development

nvm use 22
pnpm -r install
pnpm build
pnpm dev:all

This repo is a pnpm workspace. To work on any app:

  1. Enable pnpm via Corepack once: corepack enable pnpm
  2. Use Node 22+ (run nvm use to respect .nvmrc, Vite 7 requires 20.19+)
  3. Install everything from the repo root: pnpm install
  4. Dev servers:
    • Single app: pnpm dev:farnsworth, pnpm dev:sporttimer, pnpm dev:life, or pnpm dev:language
    • All apps together: pnpm dev:all
  5. Build every app at once: pnpm run -r build (or ./build_all.sh)

Shared library (packages/shared)

Testing Production Builds Locally

Source code: https://github.com/neilhan/static To test a production build locally (avoiding CORS issues), navigate to the app directory and run:

npx serve dist

This will serve the built files over HTTP at http://localhost:3000 (or another port if 3000 is busy).


Last updated: 2025-12-01 13:13 PT