Commit Graph
2 Commits
Author SHA1 Message Date
David DyerandClaude Sonnet 5 375407245c Fix dist script: point it at build:sass, not the removed build script
npm run dist called "npm run build", but that script had been renamed
to "build:sass" without updating the reference, so dist errored out
before ever running scripts/build-dist.js.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-01 22:07:42 -04:00
David DyerandClaude Sonnet 5 2145094e55 Add Sass build pipeline and production deploy script
- Move hand-authored CSS into src/scss/styles.scss, compiled to the
  tracked styles.css via `npm run build` (sass, no source maps).
- Add package.json/package-lock.json with dev tooling: sass, and a
  `dev` script running php + sass --watch + browser-sync together.
- Add scripts/build-dist.js (npm run dist): assembles an allowlisted,
  production-only copy of the site into dist/ (gitignored) for pushing
  to hosting — excludes node_modules, src/, package files, and the
  live db/fitz.sqlite while including config.php.
- .gitignore: ignore node_modules/, styles.css.map, and dist/.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-01 18:21:01 -04:00