BMAD-METHOD/tools/cli/installers/lib
jheyworth 6198add5bd fix: resolve npm install peer dependency issues
Comprehensive fix for installer failures related to Astro/Starlight peer dependencies:

1. Update @astrojs/starlight from 0.37.0 to 0.37.5 (latest stable)
2. Add .npmrc with legacy-peer-deps to prevent peer dependency warnings
3. Update module installer to use --legacy-peer-deps flag for external modules

This resolves issues where:
- npm shows peer dependency warnings that users interpret as failures
- External module installations fail due to strict peer dependency checking
- Different npm versions handle peer dependencies inconsistently

Technical note: Starlight 0.37.x requires astro@^5.5.0, which is compatible
with astro@5.16.0 (^5.5.0 means >=5.5.0 <6.0.0). The issue was npm's warning
display, not actual incompatibility.

Fixes: Installation errors reported in v6.0.0-Beta.2

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-30 15:37:42 +00:00
..
core fix custom module instalation 2026-01-28 22:55:54 -08:00
custom feat: add documentation website with Docusaurus build pipeline (#1177) 2025-12-23 23:01:36 +08:00
ide no double agent files and .agent.md file extensions. 2026-01-27 23:08:26 -08:00
modules fix: resolve npm install peer dependency issues 2026-01-30 15:37:42 +00:00
message-loader.js installation intro and outtro custom messages, configurable in install-messages.yaml 2025-12-23 21:43:29 +08:00