Say script/bootstrap pins node and yarn only when absent (refs #7)
check / check (push) Waiting to run

The README Entrypoints line and the TODO.md Completed Steps entry said
script/bootstrap installs a pinned node and yarn. It installs them at the
pinned versions only when they are missing and uses a node or yarn already
installed whatever its version, as its header comment says.

Model: opus-5-5
This commit is contained in:
2026-10-06 08:25:55 +00:00
parent 8125d4aebf
commit 9b0186c481
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -52,8 +52,9 @@ development workflow, and the Makefile targets are thin shims that call them. We
provide:
- `script/bootstrap` — install all development dependencies (go, Go module
download, a pinned node and yarn, and the prettier pinned in `package.json`
and `yarn.lock`); the linter is not installed on the host
download, node and yarn at pinned versions when absent, and the prettier
pinned in `package.json` and `yarn.lock`); a node or yarn already installed is
used whatever its version; the linter is not installed on the host
- `script/setup` — make a fresh clone ready for development: runs
`script/bootstrap`, then `script/install-precommit`
- `script/projectname` — print the project name (used for the Docker image tags)
+3 -2
View File
@@ -22,8 +22,9 @@ in the same commit, and fix the findings it surfaces
- 2026-10-06: Formatted Markdown with prettier: `script/fmt` writes and
`script/fmt-check` checks every Markdown file; prettier pinned in
`package.json` and `yarn.lock`, installed by `script/bootstrap` with a pinned
node and yarn; existing Markdown reformatted.
`package.json` and `yarn.lock`, installed by `script/bootstrap`, which
installs node and yarn at pinned versions when absent and otherwise uses the
ones already installed; existing Markdown reformatted.
- 2026-10-05: Brought the repo up to the standard layout: canonical
`.gitignore`, `.dockerignore` and `.editorconfig`; `lint` and `test` phases in
the `Dockerfile`, built by `script/lint` and `script/test`; canonical