Skip to content

feat(release): ship watch.mjs with the reference assets - #6

Merged
jonit-dev merged 1 commit into
mainfrom
feat/watch-release-asset
Nov 5, 2026
Merged

jonit-dev merged 1 commit into
mainfrom
feat/watch-release-asset

Conversation

@jonit-dev

Copy link
Copy Markdown
Collaborator

An installed game project reads releases/latest/download/ for the reference data. The gameplay watcher rides along in the same release as watch.mjs, so the authoring layer can fetch and run it with no checkout of this repository.

  • scripts/validate.mjs --release copies scripts/watch.mjs into .release/.
  • tests/library.spec.mjs pins the asset set and that the copy is byte-identical to the source.

Verified: npm test 44/44.

⚠️ npm run release:assets over the whole library is red on main too, before this change: the carmageddon row fetches Dethrace-labs/dethrace, which now answers 403 ("Please ask the owner to check their account"), so no release can publish until that row moves. The asset copy itself is proven by the fixture test.

An installed game project reads releases/latest/download/ for the reference
data. The gameplay watcher rides along in the same release as watch.mjs, so
the authoring layer can fetch and run it with no checkout of this repo.

--release copies scripts/watch.mjs into .release/; the fixture test pins the
asset set and that the copy is byte-identical to the source.
@jonit-dev
jonit-dev merged commit ef93636 into main Nov 5, 2026
1 check failed
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.

1 participant