Merge pull request #10114 from backstage/rugvip/apply-cli-fix

apply fix from 0.71.1 to master
This commit is contained in:
Patrik Oldsberg
2022-03-11 13:35:09 +01:00
committed by GitHub
3 changed files with 23 additions and 11 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Applied the fix from version `0.15.3` of this package, which is part of the `v0.71.1` release of Backstage.
+6
View File
@@ -1,5 +1,11 @@
# @backstage/cli
## 0.15.3
### Patch Changes
- Fixed an issue where the CLI would try and fail to require the `package.json` of other Backstage packages, like `@backstage/dev-utils/package.json`.
## 0.15.2
### Patch Changes
+12 -11
View File
@@ -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<string, string> = {
'@backstage/backend-common': backendCommon,