chore(ci): Update package json with workspace range for dev dependencies and fix badge.ts to add new options to router

Signed-off-by: Rbillon59 <r.billon@celonis.com>
This commit is contained in:
Rbillon59
2023-03-22 17:21:35 +01:00
parent 9f2279ce06
commit 997e2ec732
4 changed files with 20 additions and 104 deletions
+9
View File
@@ -7,7 +7,10 @@ import { CatalogApi } from '@backstage/catalog-client';
import { Config } from '@backstage/config';
import { Entity } from '@backstage/catalog-model';
import express from 'express';
import { IdentityApi } from '@backstage/plugin-auth-node';
import { Logger } from 'winston';
import { PluginEndpointDiscovery } from '@backstage/backend-common';
import { TokenManager } from '@backstage/backend-common';
// @public (undocumented)
export interface Badge {
@@ -112,5 +115,11 @@ export interface RouterOptions {
config: Config;
// (undocumented)
discovery: PluginEndpointDiscovery;
// (undocumented)
identity: IdentityApi;
// (undocumented)
logger: Logger;
// (undocumented)
tokenManager: TokenManager;
}
```
+4 -4
View File
@@ -50,11 +50,11 @@
"yn": "^4.0.0"
},
"devDependencies": {
"@backstage/catalog-client": "^1.3.1",
"@backstage/catalog-client": "workspace:^",
"@backstage/cli": "workspace:^",
"@backstage/core-app-api": "^1.5.0",
"@backstage/dev-utils": "^1.0.12",
"@backstage/test-utils": "^1.2.5",
"@backstage/core-app-api": "workspace:^",
"@backstage/dev-utils": "workspace:^",
"@backstage/test-utils": "workspace:^",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",