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:
@@ -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>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user