cheogram-www

created pr with cheogram-www/dev.1 on 2026-11-09T16:06:01Z · by 3c31bc8c
cmds
checkout latest patchset:
ssh pr.pico.sh pull cheogram-www:dev | git am -3
checkout specific patchset revision:
ssh pr.pico.sh pull cheogram-www:dev [rev] | git am -3
add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh cheogram-www:dev
add comment to patch request:
ssh pr.pico.sh comment cheogram-www:dev "lgtm!"

Patchset cheogram-www/dev.1 on 2026-11-09T16:06:01Z · commit af442ba

Make dev runnable
Eric Roberts 2026-11-09T16:04:09Z
react-img-placeholder throws errors in dev when there's no src or no
unitless width/height specified, which is behaviour we depend on and
works fine in production.

I forked it and am pointing to my fork which simply removes those
checks.

Then added dev to scripts so you can do npm run dev. There's probably
other issues with dev, but this makes things run at all, which is nice
when I want to work on CSS.
Semantic diff summary
0 added, 0 modified, 0 signature changed, 0 removed across 0 analyzed files (1 file skipped: unsupported file type)
+2 -1 package.json #
......@@ -41,7 +41,7 @@
4141 "react-dom": "<= 18.2.0",
4242 "react-draggable": "^4.5.0",
4343 "react-hotkeys-hook": "^5.3.3",
44- "react-img-placeholder": "^0.1.5",
44+ "react-img-placeholder": "github:ericroberts/react-img-placeholder",
4545 "react-router": "^7.9.3",
4646 "react-virtuoso": "^4.18.6",
4747 "sasl-scram-sha-1": "^1.3.0",
......@@ -59,6 +59,7 @@
5959 "readable-stream": "3.6.2"
6060 },
6161 "scripts": {
62+ "dev": "vite",
6263 "build": "npm run format:check ; npm test && tsc -b && vite build",
6364 "test": "vitest run --reporter=dot",
6465 "test:e2e": "node scripts/e2e.mjs --headed",
Back to top