Skip to content

chore: stop committing dist/, publish WIP releases via CI only - #10

Merged
k0stik merged 5 commits into
mainfrom
chore/SOF-7942-1
Aug 19, 2026
Merged

chore: stop committing dist/, publish WIP releases via CI only#10
k0stik merged 5 commits into
mainfrom
chore/SOF-7942-1

Conversation

@k0stik

@k0stik k0stik commented Aug 17, 2026

Copy link
Copy Markdown
Member

Summary

  • Stop committing dist/ build output to git; it's now gitignored.
  • Add CI-only WIP release workflow (.github/workflows/release-wip.yml): pushing a commit with [release] builds, packs, and publishes a GitHub pre-release tarball tagged wip-<short-sha>.
  • Add scheduled cleanup workflow (.github/workflows/cleanup-wip-releases.yml) that removes stale wip-* pre-releases whose commit is no longer any branch's tip (never touches non-prerelease releases).
  • Bump this package's own @mat3ra/* dependencies to their released WIP tarball URLs.
  • Add RELEASING.md documenting the CI-only release process.

Part of the repo-wide rollout to stop committing dist/ across @mat3ra/* packages (companion PR: mat3ra/actions#43).

Test plan

  • CI release workflow ran successfully on this branch and published a wip-* pre-release tarball
  • Local build/typecheck passes against bumped dependencies

k0stik added 3 commits August 17, 2026 15:49
Mirrors the rollout on the rest of the stack: dist/ gitignored,
pre-commit hook no longer force-adds dist, and
.github/workflows/release-wip.yml + cleanup-wip-releases.yml wire up
mat3ra/actions' composite actions. Bumps ade, cove, code, esse, ide,
made, mode, prode, standata, utils, wode to their WIP release
tarballs. @mat3ra/jode stays on its registry pin - jode itself wasn't
migrated in this rollout (its own build breaks against current
@mat3ra/code independent of this change), so there's no WIP tarball
to point at yet.

Fixes a type error surfaced by the newer @mat3ra/made: `new
Material(m)` now requires a stricter MaterialConfig shape (lattice
became non-optional), but `m` here is already deliberately untyped
(JoveWebappMaterialSchema = Record<string, any>, since jove receives
material data dynamically from whatever app embeds it) - casts to
match that existing "shape is unknown" intent. RELEASING.md documents
the CI-only publish path.
mat3ra/actions is being made public, so callers no longer need to
checkout it and invoke the composite action locally; call the
workflow_call reusable workflow directly instead.

[release]
k0stik added 2 commits August 18, 2026 13:07
Full explanation (why this exists, tag scheme, EINTEGRITY gotcha,
cleanup policy) now lives in one place instead of duplicated near-
identically across 22 repos.
…ndata, utils, wode at published versions

All twelve merged and published clean, superseding the WIP tarball
URLs and the stale jode registry pin (2026.7.11-0 -> 2026.8.19-1, now
that jode's real fix has been merged).

Also add pretest: jove's own test suite (tests/exports.tests.ts) reads
its own dist/exports.js and dist/exports.d.ts directly - same pattern
as ive#7. Verified: rm -rf dist && npm test now builds automatically
and all 8 tests pass.

[release]
@k0stik
k0stik merged commit b70f98d into main Aug 19, 2026
5 checks passed
@k0stik
k0stik deleted the chore/SOF-7942-1 branch August 19, 2026 13:58
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.

2 participants