Skip to content

fix(packaging): ship wire-ci CI templates in the npm tarball - #115

Open
56phil wants to merge 1 commit into
danielvm-git:mainfrom
56phil:fix/wire-ci-templates
Open

fix(packaging): ship wire-ci CI templates in the npm tarball#115
56phil wants to merge 1 commit into
danielvm-git:mainfrom
56phil:fix/wire-ci-templates

Conversation

@56phil

@56phil 56phil commented Aug 24, 2026

Copy link
Copy Markdown

Summary

.npmignore excluded docs/ wholesale, so the npm package dropped docs/templates/ci/github/*.yml — the exact files wire-ci's verify gate and self-test require. The templates exist in the repo but never reached installed users, so every wire-ci run emitted SKIP — no bundled template and bash scripts/wire-ci.sh --self-test failed against the package.

Change

  • .npmignore: docs/docs/* + !docs/templates/ — ships the 20K docs/templates/ (the four CI templates + the AGENTS.md Reach template that seed-conventions and verify-install.sh reference at runtime) while still excluding the 1.3 MB of docs prose/images.
  • scripts/test-install-helpers.js: extend the existing BUG-2026-08-07 .npmignore regression guard with a real npm pack --dry-run assertion that all four CI templates and docs/templates/AGENTS.md are present in the tarball — a pattern check alone cannot model gitignore negation.

Verification

  • bash scripts/wire-ci.sh --self-test → PASS (was FAIL against the package).
  • bash scripts/run-skill-verify.sh wire-ci → 3 PASS, 0 FAIL (was 2 FAIL).
  • npm pack --dry-run lists all four docs/templates/ci/github/*.yml files.
  • bash scripts/test-install-helpers.sh → ALL PASS.

Closes #113.

.npmignore excluded docs/ wholesale, so the npm package dropped
docs/templates/ci/github/*.yml — the exact files wire-ci's verify gate
and self-test require. The templates exist in the repo but never reached
installed users, so every wire-ci run emitted 'SKIP — no bundled
template'.

Un-ignore docs/templates/ (20K: the four CI templates + the AGENTS.md
Reach template seed-conventions references at runtime) and extend
test-install-helpers.js with a real npm pack --dry-run assertion that
the templates are present in the tarball, so a future .npmignore edit
cannot silently drop them again.

Closes danielvm-git#113
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

wire-ci ships no CI templates: docs/templates/ci/ missing from repo and package — skill's verify gate fails

1 participant