* fix: Undeclared dependencies
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* chore: Rationalize package versions
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* chore: Remove old react app remnants
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* feat: Conversion to pnpm
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: Circular deps #0
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: common package circular dependencies
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* chore: Move history and undo/redo to excalidraw/excalidraw
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* feat: AppState broken up across package boundaries
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: renderElement and binding type racionalization
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: Refactor linearElementEditor to not use types outside the package
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* chore: Do not import self barrel file
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: All circular dependencies except core
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* feat: Bump pnpm to 11
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: SASS deprecation warnings
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: Polynomial regular expression used on uncontrolled data
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: Vercel deploy
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* feat: excalidraw/history package
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: Polynomial regex in SVG payload decoding
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: emit the internal packages' types from the editor again
The editor advertises ./common/*, ./element/*, ./history/*, ./math/* and
./utils/* type subpaths, but without the path aliases tsc treats those
packages as external libraries and no longer emits them. Include their
sources in the editor's type build, and drop the relative cross-package
import that made element/ come out half-emitted.
* feat: export the history classes of the editor's API from the entry
onIncrement hands out StoreIncrement subclasses and applyDeltas takes
StoreDelta, so export them next to CaptureUpdateAction. Hosts then need no
dependency of their own on @excalidraw/history.
* chore: refuse to publish packages with npm or yarn
Only pnpm publish rewrites workspace:* dependencies and applies
publishConfig.exports, so a package published with another client can't be
installed.
---------
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
GitHub's hosted runners differ from run to run (region, CPU), so a commit's
timings only compare with timings from the same runner.
- The perf job builds the commit and master before the push and loads both
alternately (`yarn stats:compare --base <commit> --iterations 6`), instead of
waiting for staging; without staging there's nothing to cancel, so every merge
gets its run.
- `perf.mjs --base` takes a commit: checked out into a temporary worktree with its
own dependencies, built and served like this checkout. `--out *.json` writes both
builds' loads; `--wait-for` is gone. One unrecorded warm-up load per build, and
the runner's CPU in the environment.
- `post.mjs` sends the commit time (the admin orders runs by it) and the base
build; perf runs need one.
Claude Opus 5.5 (xhigh)
- ubuntu-latest now resolves to the 26.04 image, where Playwright 1.58 cannot install Chromium, so the first Performance run failed at Install
- a fixed image also keeps the runs comparable across runner upgrades
Claude Opus 5.5 (xhigh)
- `Stats` workflow on master: posts the production build's file sizes (raw, gzip, Brotli; initial load vs. lazy; bytes per source package) and, once staging serves the commit, its page-load and pan/zoom measurements to the Excalidraw+ backend; OSS_STATS_TOKEN lives in the master-only `stats` environment
- `scripts/stats/`: bundle-stats Vite plugin and wrapper config (`yarn stats:bundle`), the Playwright runner (`yarn stats:perf`) and the poster
- `yarn stats:compare`: builds the checkout, serves it with `vite preview` and compares it with staging (alternating loads, Mann-Whitney U test); prints a table or writes CSV with `--out`
- `excalidraw:app-start` mark in the app's entry, ending the runs' "HTML + JS" phase
- `playwright` 1.58.2 dev dependency (installs no browsers by itself)
Claude Opus 5.5 (xhigh)