Commit f4b9989
1164148-7-eng
fix: migrate CLI runtime to pnpm and fix multiple bugs
BREAKING CHANGE: Migrate from npm to pnpm package manager
- Remove package-lock.json, add pnpm-lock.yaml
- Update CI workflows to use pnpm install --frozen-lockfile
- Add packageManager field to package.json
- Add missing peer dependencies (tslib, ajv, ajv-formats, spectral-core, spectral-formatters)
Bug fixes (4 issues):
fix #2018: Watch mode crash - isLocalTemplate not a function
- src/utils/generate/watcher.ts: Call isLocalTemplate() as standalone
function instead of thisArg.isLocalTemplate()
fix #2026: AsyncAPI document double-stringified in ZIP output
- src/domains/services/archiver.service.ts: Only stringify input
if it is an object, not already a string
fix #2017: Duplicate AsyncAPI specification loading
- src/apps/cli/commands/generate/fromTemplate.ts: Reuse result from
loadAsyncAPIInput() instead of calling load() again
fix #2021: UnparsedCommand warnings in test logs
- src/apps/cli/commands/config/versions.ts: Add explicit static id
- src/apps/cli/commands/convert.ts: Add explicit static id
- src/apps/cli/internal/base.ts: Suppress non-critical CLIError warnings
/claim #2018 /claim #2026 /claim #2017 /claim #20211 parent 2e6967c commit f4b9989
File tree
10 files changed
+17514
-28437
lines changed- .github/workflows
- src
- apps/cli
- commands
- config
- generate
- internal
- domains/services
- utils/generate
10 files changed
+17514
-28437
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
71 | | - | |
| 70 | + | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
| |||
0 commit comments