Release Guide
Generated from
doc/release-guide.md. Edit the source file, then rerunnode jog-docs/scripts/sync-docs.mjs.
JOG Release Guide
Status
JOG currently treats GitHub Releases as the primary distribution channel for browser-ready artifacts.
There is no npm runtime package or CDN publish flow in this repo today. Npm packaging is intentionally deferred unless the current release-asset automation stops being sufficient.
What A Release Should Contain
Each GitHub Release should attach the built assets from dist/release/:
dist/release/JOG.min.jsdist/release/JOG.min.js.mapdist/release/jog-starter-index.htmldist/release/jog-starter-app.js
The renamed starter files are the minimal starter bundle that should ship beside the minified runtime.
Current Release Flow
- run
npm install - run
npm run build:release - verify the generated files in
dist/release/ - create or publish a GitHub Release
When a GitHub Release is published, .github/workflows/release-artifacts.yml builds the assets and uploads them automatically.
You can also run that workflow manually with workflow_dispatch to inspect the release artifact set without publishing a release.
For hosted static example guidance, including CSP and recommended browser-security headers for the current Notepad example, see notepad-hosting.md.
Documentation Site
The Docsy documentation site source now lives in jog-docs/.
GitHub Pages deployment is automated with .github/workflows/docs-pages.yml.
That workflow currently:
- installs the
jog-docs/npm dependencies - syncs canonical repo docs into the Docsy content tree
- builds Hugo with a repository-scoped Pages
baseURL - deploys the generated site to GitHub Pages
For this to publish publicly, the repository Pages settings still need to use GitHub Actions as the build and deployment source.
Pre-Release Checklist
Before publishing a public pre-release, verify all of this:
node test/run-v2-tests.jspassesnpm run build:releasehas been run against the currentmain- the checked-in
dist/anddist/release/assets match the current runtime - README.md, doc/developer-guide.md, doc/api-reference.md, and doc/roadmap.md reflect current implementation reality
- known partial areas are described plainly, especially accessibility, keyboard depth, and newer extension surfaces
- the release notes frame the build as pre-release software, not a stability promise
- the release notes draft in public-preview-release-notes-draft.md has been reviewed and adjusted for the exact release contents
Public Repo Checklist
Before flipping the repository public, confirm these owner decisions are closed:
- decide whether any local-only assets or documents should stay private
- keep dated internal review notes such as
doc/YYYY-MM-DD-*.mdout of the public repo unless they are intentionally rewritten as public-facing documentation - confirm CODE_OF_CONDUCT.md, SECURITY.md, issue templates, and the pull request template are present and reflect the current maintainer workflow
- confirm the main docs explain how contributors should build JOG-native composite controls, third-party wrappers, and new low-level controls
- use a pinned “Start here” GitHub Discussion as the primary onboarding entry, pointing new readers to the README, developer guide, roadmap, examples, and contribution rules
- review the draft text in start-here-discussion-draft.md and convert it into the first pinned discussion when the repo opens
These are not runtime concerns, but they are real launch concerns.
Non-Goals Today
- no npm package publishing
- no package-manager install story
- no CDN-specific bundle or manifest generation
Revisit Threshold
Reconsider npm packaging only if the current GitHub Release artifact flow becomes a real limitation for users or maintainers.