chadtmiller.com/hud
A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts
place.hud.hudkit 0.5.0 Latest 5 packages
0
0
# The workspace's pages, as `just check` and `just lint` check them:
# svelte-check, which fails on any warning, over types made from HUD's
# lexicons; each component using only its own layer and those below
# (harness/layers.mjs); every text colour at WCAG AA on what it is
# drawn on, in light and dark (harness/contrast.mjs); the renderer and
# the shell drawn on a server and hydrated in a browser's document,
# Grain's screens alike both ways (web/renderer/test/ssr.mjs) and a
# frame alike at every width (web/shell/test/ssr.mjs); and the shell's
# unit tests; and the top-level domains a bare domain is linked by, the
# same list in the server's, the web's, HUDKit's and the Android kit's
# copies (scripts/tlds.mjs). The packages are kept between runs and
# installed again only when the lockfile changes.
image: node:24.22.1
# A pre-flight: the merge queue takes a pull into a batch only once this
# has passed at its head. It takes seconds.
queue: first
runners: [runner.knotless.dev]
# Every push to main, and pulls into it or a feature/ branch, at their
# heads merged with their base, that change the pages, the lexicons their
# types are made from, the checks, or this file. A pull changing none
# passes at once, noted as skipped.
on:
push: {refs: [refs/heads/main]}
pull:
base: [refs/heads/main, refs/heads/feature/*]
paths: [web/**, schemas/**, harness/layers.mjs, harness/contrast.mjs, harness/contrast.json, scripts/tlds.mjs, crates/hud-core/src/richtext/tlds.rs, ios/HUDKit/Sources/HUDKit/Data/TLDs.swift, android/hudkit/src/main/java/place/hud/kit/data/Tlds.kt, .knotless/workflows/web.yml, .knotless/uses.lock]
cache: [web/node_modules]
steps:
- uses: chadtmiller.com/steps/npm-ci@1
name: packages
with: {dir: web}
- name: layers
run: node harness/layers.mjs
- name: contrast
run: node harness/contrast.mjs
- name: svelte-check
run: cd web && npm run check
- name: ssr
run: cd web && npm run ssr
- name: unit
run: cd web && npm run unit
# The packages as npm gets them: no module in them imports a `.ts` file,
# which an app's bundler cannot find there (0.4.0's renderer did).
- name: package
run: |
cd web && npm run package
if grep -rnE "(from|import\\() *['\"]\\.\\.?/[^'\"]+\\.ts['\"]" --include=*.js renderer/dist shared/dist shell/dist; then
echo "a packaged module imports a .ts file"; exit 1
fi
- name: tlds
run: node scripts/tlds.mjs --check