Fix incorrect relative package.json paths in cli-module-build

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-14 16:06:33 +01:00
parent 7c8bb02ffe
commit 72457cfe98
2 changed files with 2 additions and 2 deletions
@@ -32,7 +32,7 @@ import pickBy from 'lodash/pickBy';
import { runOutput, targetPaths } from '@backstage/cli-common';
import { transforms } from './transforms';
const { version } = require('../../../../package.json') as { version: string };
const { version } = require('../../../package.json') as { version: string };
import yn from 'yn';
import { hasReactDomClient } from './hasReactDomClient';
import { createWorkspaceLinkingPlugins } from './linkWorkspaces';
@@ -28,7 +28,7 @@ import partition from 'lodash/partition';
import { run, targetPaths } from '@backstage/cli-common';
const { dependencies: cliDependencies, devDependencies: cliDevDependencies } =
require('../../../../package.json') as {
require('../../../package.json') as {
dependencies: Record<string, string>;
devDependencies: Record<string, string>;
};