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
+39 -6
View File
@@ -2994,12 +2994,19 @@ __metadata:
"@backstage/cli-common": "workspace:^"
"@backstage/cli-node": "workspace:^"
"@backstage/errors": "workspace:^"
"@backstage/release-manifests": "workspace:^"
"@backstage/test-utils": "workspace:^"
"@manypkg/get-packages": "npm:^1.1.3"
"@types/fs-extra": "npm:^11.0.0"
"@types/semver": "npm:^7"
chalk: "npm:^4.0.0"
cleye: "npm:^2.3.0"
fs-extra: "npm:^11.2.0"
minimatch: "npm:^10.2.1"
msw: "npm:^1.0.0"
ora: "npm:^5.3.0"
replace-in-file: "npm:^7.1.0"
semver: "npm:^7.5.3"
bin:
cli-module-migrate: bin/cli-module-migrate
languageName: unknown
@@ -3010,7 +3017,25 @@ __metadata:
resolution: "@backstage/cli-module-new@workspace:packages/cli-module-new"
dependencies:
"@backstage/cli": "workspace:^"
"@backstage/cli-common": "workspace:^"
"@backstage/cli-node": "workspace:^"
"@backstage/errors": "workspace:^"
"@types/fs-extra": "npm:^11.0.0"
"@types/inquirer": "npm:^8"
"@types/lodash": "npm:^4.14.151"
"@types/recursive-readdir": "npm:^2.2.4"
chalk: "npm:^4.0.0"
cleye: "npm:^2.3.0"
fs-extra: "npm:^11.2.0"
handlebars: "npm:^4.7.3"
inquirer: "npm:^8.2.0"
lodash: "npm:^4.17.21"
ora: "npm:^5.3.0"
recursive-readdir: "npm:^2.2.2"
semver: "npm:^7.5.3"
yaml: "npm:^2.0.0"
zod: "npm:^3.25.76"
zod-validation-error: "npm:^4.0.2"
bin:
cli-module-new: bin/cli-module-new
languageName: unknown
@@ -3021,7 +3046,10 @@ __metadata:
resolution: "@backstage/cli-module-test-jest@workspace:packages/cli-module-test-jest"
dependencies:
"@backstage/cli": "workspace:^"
"@backstage/cli-common": "workspace:^"
"@backstage/cli-node": "workspace:^"
peerDependencies:
jest-cli: ^29.0.0 || ^30.0.0
bin:
cli-module-test-jest: bin/cli-module-test-jest
languageName: unknown
@@ -3032,7 +3060,12 @@ __metadata:
resolution: "@backstage/cli-module-translations@workspace:packages/cli-module-translations"
dependencies:
"@backstage/cli": "workspace:^"
"@backstage/cli-common": "workspace:^"
"@backstage/cli-node": "workspace:^"
"@types/fs-extra": "npm:^11.0.0"
cleye: "npm:^2.3.0"
fs-extra: "npm:^11.2.0"
ts-morph: "npm:^24.0.0"
bin:
cli-module-translations: bin/cli-module-translations
languageName: unknown
@@ -21642,7 +21675,7 @@ __metadata:
languageName: node
linkType: hard
"@types/inquirer@npm:^8.1.3":
"@types/inquirer@npm:^8, @types/inquirer@npm:^8.1.3":
version: 8.2.12
resolution: "@types/inquirer@npm:8.2.12"
dependencies:
@@ -22416,7 +22449,7 @@ __metadata:
languageName: node
linkType: hard
"@types/recursive-readdir@npm:^2.2.0":
"@types/recursive-readdir@npm:^2.2.0, @types/recursive-readdir@npm:^2.2.4":
version: 2.2.4
resolution: "@types/recursive-readdir@npm:2.2.4"
dependencies:
@@ -22513,10 +22546,10 @@ __metadata:
languageName: node
linkType: hard
"@types/semver@npm:^7.1.0":
version: 7.7.0
resolution: "@types/semver@npm:7.7.0"
checksum: 10/ee4514c6c852b1c38f951239db02f9edeea39f5310fad9396a00b51efa2a2d96b3dfca1ae84c88181ea5b7157c57d32d7ef94edacee36fbf975546396b85ba5b
"@types/semver@npm:^7, @types/semver@npm:^7.1.0":
version: 7.7.1
resolution: "@types/semver@npm:7.7.1"
checksum: 10/8f09e7e6ca3ded67d78ba7a8f7535c8d9cf8ced83c52e7f3ac3c281fe8c689c3fe475d199d94390dc04fc681d51f2358b430bb7b2e21c62de24f2bee2c719068
languageName: node
linkType: hard