BMAD-METHOD/tools/cli/lib
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
..
agent quick flow updates to aid discovery and implementation 2025-12-27 10:40:23 +08:00
activation-builder.js feat: add documentation website with Docusaurus build pipeline (#1177) 2025-12-23 23:01:36 +08:00
agent-analyzer.js feat: add documentation website with Docusaurus build pipeline (#1177) 2025-12-23 23:01:36 +08:00
agent-party-generator.js feat: add documentation website with Docusaurus build pipeline (#1177) 2025-12-23 23:01:36 +08:00
cli-utils.js custom install module cached 2025-12-07 20:46:09 -06:00
config.js we only need one yaml lib 2025-12-13 18:35:07 +08:00
file-ops.js feat: add documentation website with Docusaurus build pipeline (#1177) 2025-12-23 23:01:36 +08:00
platform-codes.js we only need one yaml lib 2025-12-13 18:35:07 +08:00
project-root.js feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00
ui.js fix: pin inquirer to v8.2.6 for CommonJS compatibility 2026-01-06 10:47:39 +11:00
xml-handler.js feat: add documentation website with Docusaurus build pipeline (#1177) 2025-12-23 23:01:36 +08:00
xml-to-markdown.js feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00
yaml-format.js we only need one yaml lib 2025-12-13 18:35:07 +08:00
yaml-xml-builder.js feat: add documentation website with Docusaurus build pipeline (#1177) 2025-12-23 23:01:36 +08:00