Fix Prettier formatting and run yarn dedupe
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user