Fix Prettier formatting and run yarn dedupe

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-14 15:44:54 +01:00
parent 329f394d82
commit f51e4df2d1
4 changed files with 16 additions and 46 deletions
@@ -50,9 +50,7 @@ export function resolveBundlingPaths(options: BundlingPathsOptions) {
targetHtml = resolvePath(targetDir, `${entry}.html`);
if (!fs.pathExistsSync(targetHtml)) {
/* eslint-disable-next-line no-restricted-syntax */
targetHtml = require.resolve(
'@backstage/cli/templates/serve_index.html',
);
targetHtml = require.resolve('@backstage/cli/templates/serve_index.html');
}
}
@@ -27,13 +27,11 @@ import partition from 'lodash/partition';
import { run, targetPaths } from '@backstage/cli-common';
const {
dependencies: cliDependencies,
devDependencies: cliDevDependencies,
} = require('../../../../package.json') as {
dependencies: Record<string, string>;
devDependencies: Record<string, string>;
};
const { dependencies: cliDependencies, devDependencies: cliDevDependencies } =
require('../../../../package.json') as {
dependencies: Record<string, string>;
devDependencies: Record<string, string>;
};
import {
BuildOptions,
buildPackages,
+6 -2
View File
@@ -47,9 +47,13 @@ const frontendPluginApi = v('../../../frontend-plugin-api/package.json');
const frontendTestUtils = v('../../../frontend-test-utils/package.json');
const testUtils = v('../../../test-utils/package.json');
const scaffolderNode = v('../../../../plugins/scaffolder-node/package.json');
const scaffolderNodeTestUtils = v('../../../../plugins/scaffolder-node-test-utils/package.json');
const scaffolderNodeTestUtils = v(
'../../../../plugins/scaffolder-node-test-utils/package.json',
);
const authBackend = v('../../../../plugins/auth-backend/package.json');
const authBackendModuleGuestProvider = v('../../../../plugins/auth-backend-module-guest-provider/package.json');
const authBackendModuleGuestProvider = v(
'../../../../plugins/auth-backend-module-guest-provider/package.json',
);
const catalogNode = v('../../../../plugins/catalog-node/package.json');
const theme = v('../../../theme/package.json');
const types = v('../../../types/package.json');