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:
@@ -37,6 +37,7 @@
|
||||
"@backstage/config": "workspace:^",
|
||||
"@backstage/config-loader": "workspace:^",
|
||||
"@backstage/errors": "workspace:^",
|
||||
"@backstage/module-federation-common": "workspace:^",
|
||||
"@manypkg/get-packages": "^1.1.3",
|
||||
"@module-federation/enhanced": "^0.21.6",
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.2",
|
||||
@@ -51,6 +52,7 @@
|
||||
"chalk": "^4.0.0",
|
||||
"chokidar": "^3.5.3",
|
||||
"cleye": "^2.3.0",
|
||||
"cross-spawn": "^7.0.6",
|
||||
"ctrlc-windows": "^2.1.0",
|
||||
"esbuild-loader": "^4.4.2",
|
||||
"eslint-rspack-plugin": "^4.2.1",
|
||||
@@ -67,6 +69,7 @@
|
||||
"postcss": "^8.1.0",
|
||||
"postcss-import": "^16.1.0",
|
||||
"react-dev-utils": "^12.0.0-next.60",
|
||||
"rollup": "^4.27.3",
|
||||
"rollup-plugin-dts": "^6.1.0",
|
||||
"rollup-plugin-esbuild": "^6.1.1",
|
||||
"rollup-plugin-postcss": "^4.0.0",
|
||||
@@ -74,6 +77,7 @@
|
||||
"shell-quote": "^1.8.1",
|
||||
"tar": "^7.5.6",
|
||||
"ts-checker-rspack-plugin": "^1.1.5",
|
||||
"ts-morph": "^24.0.0",
|
||||
"webpack": "^5.105.4",
|
||||
"webpack-dev-server": "^5.2.3",
|
||||
"yn": "^4.0.0"
|
||||
@@ -81,14 +85,10 @@
|
||||
"devDependencies": {
|
||||
"@backstage/backend-test-utils": "workspace:^",
|
||||
"@backstage/cli": "workspace:^",
|
||||
"@backstage/module-federation-common": "workspace:^",
|
||||
"@types/fs-extra": "^11.0.0",
|
||||
"@types/lodash": "^4.14.151",
|
||||
"@types/npm-packlist": "^3.0.0",
|
||||
"@types/shell-quote": "^1.7.5",
|
||||
"cross-spawn": "^7.0.6",
|
||||
"rollup": "^4.27.3",
|
||||
"ts-morph": "^24.0.0"
|
||||
"@types/shell-quote": "^1.7.5"
|
||||
},
|
||||
"bin": "bin/cli-module-build"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
## API Report File for "@backstage/cli-module-build"
|
||||
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { CliModule } from '@backstage/cli-node';
|
||||
|
||||
// Warning: (ae-missing-release-tag) "buildPlugin" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
const buildPlugin: CliModule;
|
||||
export { buildPlugin };
|
||||
export default buildPlugin;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user