Skip to content

feat: fleet Node .gitignore template - #449

Merged
Shinrai merged 2 commits into
nextfrom
feat/fleet-node-gitignore
Nov 8, 2026
Merged

Shinrai merged 2 commits into
nextfrom
feat/fleet-node-gitignore

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Adds the fleet Node .gitignore template (examples/gitignore/Node.gitignore + README) and the bin/-is-build-output rule in package-layout.md.

Resolves #429

@cldmv-bot cldmv-bot Bot added ! feature → next v4 flow: contributor PR targeting the next integration branch type: feature Implements new functionality — a PR or issue that adds a feature type: documentation Relates to docs, README updates, guides, or inline code comments labels Nov 8, 2026
examples/gitignore/Node.gitignore is one managed block: GitHub's
Node.gitignore verbatim (github/gitignore@6bb5af7a1b05), then CLDMV
conventions (tmp/, trash/, root coverage/ and logs, dist/, types/,
/bin/), editor and OS files, OS duplicate and backup names, and the AI
tool files from droidsock plus the ones seen elsewhere in the fleet,
anchored to the repo root. Repo-specific entries go below the marker.

package-layout: bin/ only holds CLI build output from src/bin/.
AGENT-SCAFFOLDING: add the fleet block when scaffolding a Node repo.

Fixes #429
@Shinrai
Shinrai force-pushed the feat/fleet-node-gitignore branch from 2ffe77c to 4347283 Compare November 8, 2026 07:28
@Shinrai
Shinrai merged commit a50bc1f into next Nov 8, 2026
14 checks passed
@cldmv-bot
cldmv-bot Bot deleted the feat/fleet-node-gitignore branch November 8, 2026 21:35
cldmv-bot Bot added a commit that referenced this pull request Nov 8, 2026
# v4.36.0 — 2026-11-08

Minor release with a fleet Node `.gitignore` template and the fixes that get the GitHub Pages site building again. Every Pages build had failed since v4.35.0 because the README template docs quoted Liquid-style double-brace tokens. The template now uses single-brace tokens, and `docs/` builds with Jekyll 4 from a workflow in this repo, so pages that quote GitHub Actions expressions show them as written.

## Features

- **Fleet Node `.gitignore` template.** [examples/gitignore/Node.gitignore](../../examples/gitignore/Node.gitignore) is one managed block, between `# >>> CLDMV fleet (Node) >>>` and `# <<< CLDMV fleet <<<`, that every Node repo copies to the top of its `.gitignore`. It holds GitHub's upstream Node.gitignore verbatim, the CLDMV conventions (`tmp/`, `trash/`, root `coverage/` and `logs`, `dist/`, `types/`, `/bin/`, the vitest-runner coverage scratch folders), editor and OS files including `.vscode/` and `.idea/`, OS duplicate names and backups, and the AI and agent tool files, anchored to the repo root so names like `/prompts/` never hide a source folder. Repo-specific lines go below the closing marker. [The README](../../examples/gitignore/README.md) covers listing tracked files the block now matches (`git ls-files -ci --exclude-standard`) and untracking or moving them. Resolves [#429](#429). ([#449](#449))
- **`bin/` holds only build output.** [package-layout.md](../conventions/package-layout.md) now says a CLI's source lives in `src/bin/<name>.mjs` and tsup builds it, into `bin/` for a bundled build or `dist/bin/` when `dist/` mirrors `src/`, with `"bin"` in `package.json` pointing at the built file. Nothing in `bin/` is hand-written or committed, and vendored binaries live outside it. ([#449](#449))

## Bug Fixes

- **Single-brace README template tokens.** [README.template.md](../../examples/readme/README.template.md) and [readme-format.md](../conventions/readme-format.md) wrote placeholders as double-brace tokens. That is Liquid syntax, and the classic Pages build ran every doc through Liquid, so the docs that quoted the tokens failed the build. All 115 tokens are now single-brace (`{repo}`, `{description}`, …), the docs show them as inline code, and the leftover-token check is `grep -nE '\{[a-z_0-9]+\}' README.md`. `.configs/.prettierrc` turns off embedded code formatting for `README.template.md` so Prettier leaves the tokens in its code samples alone. ([#451](#451))
- **Pages builds with Jekyll 4.** The classic "deploy from a branch" build is pinned to Jekyll 3.10, which runs Liquid even inside code spans, so a doc quoting `${{ … }}` rendered it blank. The new `local-pages.yml` workflow builds `docs/` with Jekyll 4.4 in the official `ruby:4.0` container and deploys it with `actions/deploy-pages`. `docs/_config.yml` sets `render_with_liquid: false` for every page and keeps the classic build's theme, Markdown and plugin settings, and `docs/Gemfile` pins the plugins the classic build loaded implicitly. The built site has the same files as the classic build. ([#452](#452))

## Upgrade notes

- No caller changes needed. Repos adopt the `.gitignore` block as they are swept (CLDMV/packrat#8); a repo with hand-written files in `bin/` should move them to `src/bin/` and build them. Consumers that copied the README template should switch their placeholders to single braces the next time they regenerate a README.
- This repo's Pages source is now "GitHub Actions" (Settings → Pages), which `local-pages.yml` needs.



<details>
<summary>👥 Contributors</summary>

- @Shinrai

</details>

<!-- co-authors -->

Co-authored-by: Shinrai <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

! feature → next v4 flow: contributor PR targeting the next integration branch type: documentation Relates to docs, README updates, guides, or inline code comments type: feature Implements new functionality — a PR or issue that adds a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant