BMAD-METHOD/tools/cli/installers/lib/core
jaredpohl 4389b802b3 fix: pin inquirer to v8.2.6 for CommonJS compatibility
inquirer v9+ is ESM-only which causes ERR_REQUIRE_ESM error when running
`npx bmad-method@alpha install` in CommonJS projects.

Changes:
- Pin inquirer to ^8.2.6 (last CommonJS-compatible version)
- Simplify require statements by removing unnecessary `.default` fallback

This fixes the following error:
```
Error [ERR_REQUIRE_ESM]: require() of ES Module inquirer not supported.
```

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-06 10:47:39 +11:00
..
config-collector.js fix: pin inquirer to v8.2.6 for CommonJS compatibility 2026-01-06 10:47:39 +11:00
custom-module-cache.js default accepted for installer quesitons 2025-12-15 12:55:57 +08:00
dependency-resolver.js we only need one yaml lib 2025-12-13 18:35:07 +08:00
detector.js v4 detection cleanup 2025-12-27 20:31:12 +08:00
ide-config-manager.js default accepted for installer quesitons 2025-12-15 12:55:57 +08:00
installer.js fix: pin inquirer to v8.2.6 for CommonJS compatibility 2026-01-06 10:47:39 +11:00
manifest-generator.js Mixed line endings (Windows CRLF problem) (#1222) 2025-12-31 14:44:53 +08:00
manifest.js core and custom modules all install through the same flow now 2025-12-15 19:16:03 +08:00