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
@@ -32,7 +32,9 @@ import pickBy from 'lodash/pickBy';
import { runOutput, targetPaths } from '@backstage/cli-common';
import { transforms } from './transforms';
const { version } = require('../../../package.json') as { version: string };
import yn from 'yn';
import { hasReactDomClient } from './hasReactDomClient';
import { createWorkspaceLinkingPlugins } from './linkWorkspaces';
@@ -32,6 +32,7 @@ const { dependencies: cliDependencies, devDependencies: cliDevDependencies } =
dependencies: Record<string, string>;
devDependencies: Record<string, string>;
};
import {
BuildOptions,
buildPackages,