Repository navigation
feat: M6 release prep: CI, visual tests, README, licences - #9
Merged
Merged
Conversation
Contributor
|
🎉 This PR is included in version 0.1.0-rc.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Contributor
|
🎉 This PR is included in version 0.1.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #8 (M5).
.github/workflows/ci.yml):checkjob: install → unit tests → typecheck → build → CLI smoke.e2ejob: runs in the Playwright v1.63 container, covering the viewer e2e, visual regression and the CLI delivered-file and live-serve e2e.VISUAL=1. Regenerate them withvisual:update(Docker) or CI's update-visual run.npx skills add hyamero/stackmap), CLI, diagram format, viewer features, development, credits (archify, Cocoon AI, ELK, Geist, Simple Icons). It includes screenshots taken from a real delivered file.LICENSE(MIT, with archify's notice for the adapted skill text)THIRD_PARTY_NOTICES.mdcovering everything shipped in the viewer and CLI bundles, plus the elkjs runtime dependency and the full OFL text@hyamero/stackmapnow has metadata,publishConfig.access: public, and aprepackstep that copies the README, LICENSE and notices in.binfor a./-prefixed path; that's fixed and pinned by a test.npx stackmap validate/deliverwork from it.Not done here (needs you):
npm publish(frompackages/cli, runbun publishsoworkspace:ranges are rewritten), and av0.1.0tag and release.Found by the first CI run: Linux Chromium snaps every glyph advance to whole pixels and skips kerning, so text is up to about 6% wider than on macOS. Card-fit could therefore pass a title that truncates on Linux.
measureTextnow takes the larger of the kerned fractional width and the Linux snapped width (plus 1px for hinting). Unit tests are pinned to widths CI observed, and the card-fit e2e now checks the dangerous direction on every platform.CI is green (test · typecheck · build, e2e · visual).