Skip to content

chore(www): fix format failures; sharp install robustness - #31

Merged
csfh merged 2 commits into
mainfrom
chore/www-format-sharp
Oct 8, 2026
Merged

csfh merged 2 commits into
mainfrom
chore/www-format-sharp

Conversation

@csfh

@csfh csfh commented Oct 8, 2026

Copy link
Copy Markdown
Owner
  • Format www/SITE.md and www/src/docs/std-reference.ts (whitespace/quote style only; both failed npm run format on a clean tree).
  • scripts/gate web: set SHARP_IGNORE_GLOBAL_LIBVIPS=1 for the dependency install and note it in www/README.md. On hosts with a system libvips, sharp otherwise tries a source build and npm install fails.

Verified: scripts/gate web from a clean node_modules (Node 22) exits 0.

🤖 Generated with Claude Code

…em libvips

Format SITE.md and std-reference.ts (whitespace/quote style only) so
`scripts/gate web` is green. Set SHARP_IGNORE_GLOBAL_LIBVIPS for the gate's
npm install and document it in www/README.md: on hosts with a system
libvips, sharp otherwise attempts a source build and the install fails.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Deploying echo with  Cloudflare Pages  Cloudflare Pages

Latest commit: 668c9d8
Status: ✅  Deploy successful!
Preview URL: https://94011350.echo-1eh.pages.dev
Branch Preview URL: https://chore-www-format-sharp.echo-1eh.pages.dev

View logs

`npm install` in the gate rewrote the lockfile (dropped `libc` fields, added
hasInstallScript). That was incidental; keep the lockfile as on main.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@csfh
csfh merged commit ba65cff into main Oct 8, 2026
2 checks passed
@csfh
csfh deleted the chore/www-format-sharp branch October 8, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant