BMAD-METHOD/src/core-skills/bmad-module/scripts/lib
pbean 6d49cc505b feat(bmad-module): manifest-driven copy plan with canonical path rewriting
Replace the flat copy-list staging with a manifest-driven copy plan:

- buildCopyPlan maps declared skills/agents/commands and string-typed
  Claude-Code surfaces into canonical install slots, copies conventional
  top-level metadata, and drops anything not covered (no more leaking of
  tools/, website/, .github/, etc.).
- rewriteManifestPaths emits a plugin.json whose paths point at the
  canonical post-install locations, keeping the on-disk manifest
  self-consistent inside _bmad/<code>/.
- stageCopyPlan stages the plan plus synthesized files (rewritten
  plugin.json) into the tmp dir for the atomic swap.

install.mjs and update.mjs switch to the new plan/skillDestDirs flow and
drop the now-unused copy-list helpers.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-28 19:20:35 -07:00
..
vendor fix(bmad-module): make skill self-contained so it works after npx install 2026-05-23 17:29:46 -07:00
bmad-dir.mjs feat/bmad-module: community module manager skill created 2026-05-22 13:19:05 -07:00
exit.mjs fix(bmad-module): make skill self-contained so it works after npx install 2026-05-23 17:29:46 -07:00
frontmatter.mjs fix(bmad-module): make skill self-contained so it works after npx install 2026-05-23 17:29:46 -07:00
fs-safe.mjs feat(bmad-module): manifest-driven copy plan with canonical path rewriting 2026-05-28 19:20:35 -07:00
install-plan.mjs feat(bmad-module): manifest-driven copy plan with canonical path rewriting 2026-05-28 19:20:35 -07:00
manifest-ops.mjs fix(bmad-module): make skill self-contained so it works after npx install 2026-05-23 17:29:46 -07:00
plugin-json.mjs fix(bmad-module): make skill self-contained so it works after npx install 2026-05-23 17:29:46 -07:00
semver-lite.mjs fix(bmad-module): make skill self-contained so it works after npx install 2026-05-23 17:29:46 -07:00
source.mjs feat/bmad-module: community module manager skill created 2026-05-22 13:19:05 -07:00