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');
+4 -34
View File
@@ -24933,14 +24933,7 @@ __metadata:
languageName: node
linkType: hard
"ansi-styles@npm:^6.1.0, ansi-styles@npm:^6.2.1":
version: 6.2.1
resolution: "ansi-styles@npm:6.2.1"
checksum: 10/70fdf883b704d17a5dfc9cde206e698c16bcd74e7f196ab821511651aee4f9f76c9514bdfa6ca3a27b5e49138b89cb222a28caf3afe4567570139577f991df32
languageName: node
linkType: hard
"ansi-styles@npm:^6.2.3":
"ansi-styles@npm:^6.1.0, ansi-styles@npm:^6.2.1, ansi-styles@npm:^6.2.3":
version: 6.2.3
resolution: "ansi-styles@npm:6.2.3"
checksum: 10/c49dad7639f3e48859bd51824c93b9eb0db628afc243c51c3dd2410c4a15ede1a83881c6c7341aa2b159c4f90c11befb38f2ba848c07c66c9f9de4bcd7cb9f30
@@ -32595,14 +32588,7 @@ __metadata:
languageName: node
linkType: hard
"get-east-asian-width@npm:^1.0.0":
version: 1.2.0
resolution: "get-east-asian-width@npm:1.2.0"
checksum: 10/c9b280e7c7c67fb89fa17e867c4a9d1c9f1321aba2a9ee27bff37fb6ca9552bccda328c70a80c1f83a0e39ba1b7e3427e60f47823402d19e7a41b83417ec047a
languageName: node
linkType: hard
"get-east-asian-width@npm:^1.3.1, get-east-asian-width@npm:^1.5.0":
"get-east-asian-width@npm:^1.0.0, get-east-asian-width@npm:^1.3.1, get-east-asian-width@npm:^1.5.0":
version: 1.5.0
resolution: "get-east-asian-width@npm:1.5.0"
checksum: 10/60bc34cd1e975055ab99f0f177e31bed3e516ff7cee9c536474383954a976abaa6b94a51d99ad158ef1e372790fa096cab7d07f166bb0778f6587954c0fbe946
@@ -32989,20 +32975,13 @@ __metadata:
languageName: node
linkType: hard
"globals@npm:^17.0.0":
"globals@npm:^17.0.0, globals@npm:^17.3.0":
version: 17.4.0
resolution: "globals@npm:17.4.0"
checksum: 10/ffad244617e94efcb3da72b7beefc941167c21316148ce378f322db7af72db06468f370e23224b3c7b17b5173a7c75b134e5e7b0949f2828519054a76892508d
languageName: node
linkType: hard
"globals@npm:^17.3.0":
version: 17.3.0
resolution: "globals@npm:17.3.0"
checksum: 10/44ba2b7db93eb6a2531dfba09219845e21f2e724a4f400eb59518b180b7d5bcf7f65580530e3d3023d7dc2bdbacf5d265fd87c393f567deb9a2b0472b51c9d5e
languageName: node
linkType: hard
"globalthis@npm:^1.0.1, globalthis@npm:^1.0.3, globalthis@npm:^1.0.4":
version: 1.0.4
resolution: "globalthis@npm:1.0.4"
@@ -34945,16 +34924,7 @@ __metadata:
languageName: node
linkType: hard
"is-fullwidth-code-point@npm:^5.0.0":
version: 5.0.0
resolution: "is-fullwidth-code-point@npm:5.0.0"
dependencies:
get-east-asian-width: "npm:^1.0.0"
checksum: 10/8dfb2d2831b9e87983c136f5c335cd9d14c1402973e357a8ff057904612ed84b8cba196319fabedf9aefe4639e14fe3afe9d9966d1d006ebeb40fe1fed4babe5
languageName: node
linkType: hard
"is-fullwidth-code-point@npm:^5.1.0":
"is-fullwidth-code-point@npm:^5.0.0, is-fullwidth-code-point@npm:^5.1.0":
version: 5.1.0
resolution: "is-fullwidth-code-point@npm:5.1.0"
dependencies: