pcbjam/scripts/deploy
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Gergő Törcsvári 8ee8db69e6
feat: standalone download-consent gate + truthful loading states (standalone-load-ux 0001/0002)
Cold loads on versioned CDN deploys now show a consent card (editor MB +
symbol/footprint lib figures, downloaded-now vs on-demand) and wait for OK
before any big fetch; warm loads skip it and show truthful stages (loading
from cache / Compiling / Starting KiCad) instead of the first-download line.

- wasm-assets: resolveWasmMeta (bundle/ver/sizes), download-completion marker
  keyed by content-addressed bundle/ver, update wording, auto-download opt-out,
  HEAD size fallback
- boot: manifest raw size as the progress total (fixes the br/gzip
  Content-Length mismatch), marker written after download+instantiate succeed
- cdn-source: syncState() — IDB warmth peek + sizes.json cold sums
- synced-source: syncState() from the backend envelope's sync refs (private
  platform); remote-source passes libSchema.sync through
- publish-wasm: manifest schema 2 with per-bundle sizes (registry-persisted,
  reuse + snapshot modes); publish-libs: sizes.json sibling key + top-up mode
- fixed 4 stale unit tests (bundle mapping, session-identity email)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011CC8aAnUUHcnHy3QCJtUwb
2026-07-29 07:48:25 +02:00
..
lib perf(deploy): parallelize publish-wasm brotli (q11) across files 2026-07-28 12:56:10 +02:00
build-demo.mjs feat(deploy/site): serve the apex from the same Pages project, no redirect rule 2026-07-27 14:34:16 +02:00
build-editor.mjs standalone-hardening 0006: redirect non-editor routes to the mgmt app 2026-07-16 17:24:37 +02:00
dev-demo.mjs feat(libs): eeschema symbol-chooser footprint selector + preview via publish-time fp-index 2026-07-07 21:09:21 +02:00
publish-content.mjs feat(demo): demo.pcbjam.com deploy — versioned WASM CDN + static gallery + tag CI 2026-06-19 11:39:09 +02:00
publish-libs.ts feat: standalone download-consent gate + truthful loading states (standalone-load-ux 0001/0002) 2026-07-29 07:48:25 +02:00
publish-models.ts feat(3d): lazy 3D model delivery R2→IDB→WASM 2026-07-02 11:35:36 +02:00
publish-wasm.mjs feat: standalone download-consent gate + truthful loading states (standalone-load-ux 0001/0002) 2026-07-29 07:48:25 +02:00
upload-models-r2.sh feat(3d): live models CDN — 10.0.3 publish wiring + wrl→step fallback 2026-07-02 11:35:37 +02:00
wasm-cache-hash.mjs plugins 0002: kicad_tools --ipc356 + --fab-components fab exporters 2026-07-27 14:01:30 +02:00