remove backend-common

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2024-08-28 11:21:14 +02:00
parent 18369c1895
commit 094eaa367b
136 changed files with 193 additions and 12592 deletions
+1 -1
View File
@@ -43,7 +43,7 @@
"test": "backstage-cli package test"
},
"dependencies": {
"@backstage/backend-common": "workspace:^",
"@backstage/backend-common": "^0.25.0",
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/catalog-client": "workspace:^",
"@backstage/catalog-model": "workspace:^",
@@ -14,7 +14,6 @@
* limitations under the License.
*/
import { CacheClient } from '@backstage/backend-common';
import {
cloudflareAccessSignInResolvers,
createCloudflareAccessAuthenticator,
@@ -25,6 +24,7 @@ import {
} from '@backstage/plugin-auth-node';
import { createAuthProviderIntegration } from '../createAuthProviderIntegration';
import { AuthHandler } from '../types';
import { CacheService } from '@backstage/backend-plugin-api';
/**
* CloudflareAccessClaims
@@ -145,10 +145,10 @@ export const cfAccess = createAuthProviderIntegration({
};
/**
* CacheClient object that was configured for the Backstage backend,
* Cache service object that was configured for the Backstage backend,
* should be provided via the backend auth plugin.
*/
cache?: CacheClient;
cache?: CacheService;
}) {
return createProxyAuthProviderFactory({
authenticator: createCloudflareAccessAuthenticator({