Format Markdown with prettier in make fmt and make fmt-check (closes #19)
check / check (push) Waiting to run

script/fmt and script/fmt-check run prettier over every Markdown file
again, next to gofmt. prettier is pinned by hash through package.json
and yarn.lock, copied from the prompts repo with .prettierrc and
.prettierignore, and is never installed on a host: a new prettier stage
of the Dockerfile installs it into a digest-pinned node image, and both
scripts build that stage and run it with the repository mounted. CI
checks the Markdown in a markdown stage that the build stage waits on.
Because make fmt-check now runs docker, the Dockerfile runs gofmt
directly in its lint stage instead. All Markdown is reformatted.

Model: opus-5-5
This commit is contained in:
2026-10-04 12:55:03 +00:00
parent c9c8b1d06c
commit 56fd779f7a
12 changed files with 1176 additions and 1224 deletions
+656 -735
View File
File diff suppressed because it is too large Load Diff