Fix CI failures: dependencies, API reports, and create-app versions

- Move runtime dependencies from devDependencies to dependencies in
  cli-module-build, cli-module-auth, cli-module-migrate, cli-module-new,
  cli-module-test-jest, and cli-module-translations
- Fix relative package.json paths in cli-module-build
- Downgrade rollup in cli-module-build to ^4.27.3 to match the CLI
- Downgrade eslint-webpack-plugin to ^4.2.0 to prevent @types/eslint v9
- Add CLI module packages to create-app version helper
- Add allow-warnings for CLI module packages in API reports
- Generate API report files for all CLI module packages

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-14 16:44:50 +01:00
parent 506da6b8be
commit 86509de5c8
22 changed files with 268 additions and 20 deletions
+20 -2
View File
@@ -32,10 +32,28 @@
"test": "backstage-cli package test"
},
"dependencies": {
"@backstage/cli-node": "workspace:^"
"@backstage/cli-common": "workspace:^",
"@backstage/cli-node": "workspace:^",
"@backstage/errors": "workspace:^",
"chalk": "^4.0.0",
"cleye": "^2.3.0",
"fs-extra": "^11.2.0",
"handlebars": "^4.7.3",
"inquirer": "^8.2.0",
"lodash": "^4.17.21",
"ora": "^5.3.0",
"recursive-readdir": "^2.2.2",
"semver": "^7.5.3",
"yaml": "^2.0.0",
"zod": "^3.25.76",
"zod-validation-error": "^4.0.2"
},
"devDependencies": {
"@backstage/cli": "workspace:^"
"@backstage/cli": "workspace:^",
"@types/fs-extra": "^11.0.0",
"@types/inquirer": "^8",
"@types/lodash": "^4.14.151",
"@types/recursive-readdir": "^2.2.4"
},
"bin": "bin/cli-module-new"
}
+13
View File
@@ -0,0 +1,13 @@
## API Report File for "@backstage/cli-module-new"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import { CliModule } from '@backstage/cli-node';
// @public (undocumented)
const _default: CliModule;
export default _default;
// (No @packageDocumentation comment for this package)
```