No description
Find a file
2026-06-19 01:45:00 +00:00
.github/workflows feat: support Hucode server-web update metadata 2026-06-09 20:44:48 +01:00
public chore: refresh Hucode update metadata for v0.0.33 2026-06-19 01:45:00 +00:00
scripts fix: report VS Code product versions in updates 2026-06-18 23:33:25 +01:00
src chore: refresh Hucode update metadata for v0.0.33 2026-06-19 01:45:00 +00:00
test fix: report VS Code product versions in updates 2026-06-18 23:33:25 +01:00
.gitignore feat: enable Hucode update metadata deployment 2026-05-28 23:50:43 +01:00
.node-version feat: enable Hucode update metadata deployment 2026-05-28 23:50:43 +01:00
AGENTS.md feat: support Hucode server-web update metadata 2026-06-09 20:44:48 +01:00
eslint.config.js fix: harden release refresh automation 2026-05-29 01:01:42 +01:00
lefthook.yml ci: enforce local lint and formatting checks 2026-05-29 00:25:23 +01:00
mise.toml ci: automate Hucode release metadata refresh 2026-05-29 00:15:18 +01:00
package.json fix: harden release refresh automation 2026-05-29 01:01:42 +01:00
pnpm-lock.yaml test: cover release refresh contracts 2026-05-29 00:36:32 +01:00
pnpm-workspace.yaml ci: enforce local lint and formatting checks 2026-05-29 00:25:23 +01:00
README.md feat: publish per-version release notes 2026-06-08 09:03:12 +01:00
tsconfig.json fix: harden release refresh automation 2026-05-29 01:01:42 +01:00
tsconfig.node.json fix: harden release refresh automation 2026-05-29 01:01:42 +01:00
wrangler.jsonc ci: enforce local lint and formatting checks 2026-05-29 00:25:23 +01:00

Hucode Updates

Update metadata service for Hucode releases.

Stack

  • Node.js 22+
  • pnpm 11
  • pinact
  • TypeScript
  • Cloudflare Workers static assets with Worker fallback

mise reads Node.js from .node-version and installs pnpm 11 and pinact from mise.toml.

pnpm is configured in pnpm-workspace.yaml with minimumReleaseAge: 10080, which only allows dependency versions that have been published for at least seven days.

Commands

mise install
pnpm install
pnpm refresh
pnpm lint
pnpm format
pnpm check
pnpm dev
pnpm deploy

pnpm refresh fetches GitHub release metadata, updates the generated release manifest, writes static update responses for older known release commits, and writes per-version release notes from GitHub release bodies to public/release-notes/{version}.md. Set GITHUB_TOKEN when running it locally to use authenticated GitHub API requests and avoid lower unauthenticated rate limits. pnpm check runs linting, formatting checks, type checks, and tests.

Release notes are served from static assets:

https://updates.hucode.dev/release-notes/0.0.20.md

Release Refresh

The Refresh release data GitHub Actions workflow can be run manually or triggered from jimeh/hucode after release assets are uploaded:

gh api \
  --method POST \
  /repos/jimeh/hucode-updates/dispatches \
  -f event_type=hucode-release-published

The caller needs a token with write access to jimeh/hucode-updates.

The workflow commits refreshed metadata with grafana/github-api-commit-action, so commits are created through GitHub's API and signed by GitHub. It mints a release bot GitHub App token from these repository settings:

  • Variable: RELEASE_BOT_CLIENT_ID
  • Secret: RELEASE_BOT_PRIVATE_KEY

Manual backfill for existing releases uses the same refresh path:

GITHUB_TOKEN="$(gh auth token)" pnpm refresh
pnpm check