@@ -1,5 +0,0 @@
|
||||
---
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
Update reference if a package is moved to `@backstage-community` scope
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/backend-dynamic-feature-service': patch
|
||||
---
|
||||
|
||||
Use `PackageRole` type explicitly
|
||||
@@ -240,7 +240,9 @@ export interface NewBackendPluginInstaller {
|
||||
export type ScannedPluginManifest = BackstagePackageJson &
|
||||
Required<Pick<BackstagePackageJson, 'main'>> &
|
||||
Required<Pick<BackstagePackageJson, 'backstage'>> & {
|
||||
backstage: Required<BackstagePackageJson['backstage']>;
|
||||
backstage: {
|
||||
role: PackageRole;
|
||||
};
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { BackstagePackageJson } from '@backstage/cli-node';
|
||||
import { BackstagePackageJson, PackageRole } from '@backstage/cli-node';
|
||||
|
||||
/**
|
||||
* @public
|
||||
@@ -30,5 +30,7 @@ export interface ScannedPluginPackage {
|
||||
export type ScannedPluginManifest = BackstagePackageJson &
|
||||
Required<Pick<BackstagePackageJson, 'main'>> &
|
||||
Required<Pick<BackstagePackageJson, 'backstage'>> & {
|
||||
backstage: Required<BackstagePackageJson['backstage']>;
|
||||
backstage: {
|
||||
role: PackageRole;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -17,6 +17,7 @@ export interface BackstagePackageJson {
|
||||
// (undocumented)
|
||||
backstage?: {
|
||||
role?: PackageRole;
|
||||
moved?: string;
|
||||
};
|
||||
// (undocumented)
|
||||
bundled?: boolean;
|
||||
|
||||
@@ -23,6 +23,7 @@ Commands:
|
||||
migrate [command]
|
||||
versions:bump [options]
|
||||
versions:check [options]
|
||||
versions:migrate [options]
|
||||
clean
|
||||
build-workspace [options] <workspace-dir> [packages...]
|
||||
create-github-app <github-org>
|
||||
@@ -600,6 +601,7 @@ Options:
|
||||
--pattern <glob>
|
||||
--release <version|next|main>
|
||||
--skip-install
|
||||
--skip-migrate
|
||||
-h, --help
|
||||
```
|
||||
|
||||
@@ -612,3 +614,13 @@ Options:
|
||||
--fix
|
||||
-h, --help
|
||||
```
|
||||
|
||||
### `backstage-cli versions:migrate`
|
||||
|
||||
```
|
||||
Usage: backstage-cli versions:migrate [options]
|
||||
|
||||
Options:
|
||||
--pattern <glob>
|
||||
-h, --help
|
||||
```
|
||||
|
||||
@@ -27,16 +27,12 @@ const DEP_TYPES = [
|
||||
'optionalDependencies',
|
||||
] as const;
|
||||
|
||||
// Package data as returned by `yarn info`. This is an uncomplete type fullfilling the required needs in the CLI
|
||||
// Package data as returned by `yarn info`
|
||||
export type YarnInfoInspectData = {
|
||||
name: string;
|
||||
'dist-tags': Record<string, string>;
|
||||
versions: string[];
|
||||
time: { [version: string]: string };
|
||||
backstage?: {
|
||||
role?: string;
|
||||
moved?: string;
|
||||
};
|
||||
};
|
||||
|
||||
// Possible `yarn info` output
|
||||
|
||||
Reference in New Issue
Block a user