Merge branch 'master' into feat/add-devtools-extension
This commit is contained in:
@@ -1,5 +1,35 @@
|
||||
# @backstage/plugin-devtools-backend
|
||||
|
||||
## 0.5.11-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 05f60e1: Refactored constructor parameter properties to explicit property declarations for compatibility with TypeScript's `erasableSyntaxOnly` setting. This internal refactoring maintains all existing functionality while ensuring TypeScript compilation compatibility.
|
||||
- Updated dependencies
|
||||
- @backstage/backend-defaults@0.13.1-next.0
|
||||
- @backstage/config-loader@1.10.6-next.0
|
||||
- @backstage/config@1.3.6-next.0
|
||||
- @backstage/plugin-permission-node@0.10.6-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/cli-common@0.1.15
|
||||
- @backstage/errors@1.2.7
|
||||
- @backstage/types@1.2.2
|
||||
- @backstage/plugin-devtools-common@0.1.19-next.0
|
||||
- @backstage/plugin-permission-common@0.9.3-next.0
|
||||
|
||||
## 0.5.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-defaults@0.13.0
|
||||
- @backstage/config-loader@1.10.5
|
||||
- @backstage/config@1.3.5
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-devtools-common@0.1.18
|
||||
- @backstage/plugin-permission-common@0.9.2
|
||||
- @backstage/plugin-permission-node@0.10.5
|
||||
|
||||
## 0.5.10-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-devtools-backend",
|
||||
"version": "0.5.10-next.1",
|
||||
"version": "0.5.11-next.0",
|
||||
"backstage": {
|
||||
"role": "backend-plugin",
|
||||
"pluginId": "devtools",
|
||||
|
||||
@@ -37,10 +37,13 @@ import { LoggerService } from '@backstage/backend-plugin-api';
|
||||
|
||||
/** @public */
|
||||
export class DevToolsBackendApi {
|
||||
public constructor(
|
||||
private readonly logger: LoggerService,
|
||||
private readonly config: Config,
|
||||
) {}
|
||||
private readonly logger: LoggerService;
|
||||
private readonly config: Config;
|
||||
|
||||
public constructor(logger: LoggerService, config: Config) {
|
||||
this.logger = logger;
|
||||
this.config = config;
|
||||
}
|
||||
|
||||
public async listExternalDependencyDetails(): Promise<ExternalDependency[]> {
|
||||
const result: ExternalDependency[] = [];
|
||||
|
||||
@@ -108,11 +108,19 @@ export class Lockfile {
|
||||
return new Lockfile(packages, data, legacy);
|
||||
}
|
||||
|
||||
private readonly packages: Map<string, LockfileQueryEntry[]>;
|
||||
private readonly data: LockfileData;
|
||||
private readonly legacy: boolean;
|
||||
|
||||
private constructor(
|
||||
private readonly packages: Map<string, LockfileQueryEntry[]>,
|
||||
private readonly data: LockfileData,
|
||||
private readonly legacy: boolean = false,
|
||||
) {}
|
||||
packages: Map<string, LockfileQueryEntry[]>,
|
||||
data: LockfileData,
|
||||
legacy: boolean = false,
|
||||
) {
|
||||
this.packages = packages;
|
||||
this.data = data;
|
||||
this.legacy = legacy;
|
||||
}
|
||||
|
||||
/** Get the entries for a single package in the lockfile */
|
||||
get(name: string): LockfileQueryEntry[] | undefined {
|
||||
|
||||
Reference in New Issue
Block a user