diff --git a/packages/cli/src/lib/version.ts b/packages/cli/src/lib/version.ts index d65e1e06d6..1cddf773f4 100644 --- a/packages/cli/src/lib/version.ts +++ b/packages/cli/src/lib/version.ts @@ -19,7 +19,8 @@ import semver from 'semver'; import { paths } from './paths'; import { Lockfile } from './versioning'; -/* eslint-disable import/no-extraneous-dependencies,monorepo/no-internal-import */ +/* eslint-disable monorepo/no-relative-import */ + /* This is a list of all packages used by the templates. If dependencies are added or removed, this list should be updated as well. @@ -33,16 +34,16 @@ Rollup will extract the value of the version field in each package at build time leaving any imports in place. */ -import { version as backendCommon } from '@backstage/backend-common/package.json'; -import { version as cli } from '@backstage/cli/package.json'; -import { version as config } from '@backstage/config/package.json'; -import { version as coreAppApi } from '@backstage/core-app-api/package.json'; -import { version as coreComponents } from '@backstage/core-components/package.json'; -import { version as corePluginApi } from '@backstage/core-plugin-api/package.json'; -import { version as devUtils } from '@backstage/dev-utils/package.json'; -import { version as testUtils } from '@backstage/test-utils/package.json'; -import { version as theme } from '@backstage/theme/package.json'; -import { version as scaffolderBackend } from '@backstage/plugin-scaffolder-backend/package.json'; +import { version as backendCommon } from '../../../../packages/backend-common/package.json'; +import { version as cli } from '../../../../packages/cli/package.json'; +import { version as config } from '../../../../packages/config/package.json'; +import { version as coreAppApi } from '../../../../packages/core-app-api/package.json'; +import { version as coreComponents } from '../../../../packages/core-components/package.json'; +import { version as corePluginApi } from '../../../../packages/core-plugin-api/package.json'; +import { version as devUtils } from '../../../../packages/dev-utils/package.json'; +import { version as testUtils } from '../../../../packages/test-utils/package.json'; +import { version as theme } from '../../../../packages/theme/package.json'; +import { version as scaffolderBackend } from '../../../../plugins/scaffolder-backend/package.json'; export const packageVersions: Record = { '@backstage/backend-common': backendCommon,