From 832ac05a90a7822866ee7cc11f7f1e96cf071f2d Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Wed, 3 Jun 2020 12:38:46 +0200 Subject: [PATCH] packages/core-api: just re-export ConfigReader from @backstage/config --- .../implementations/ConfigApi/ConfigReader.ts | 19 ------------------- .../apis/implementations/ConfigApi/index.ts | 2 +- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 packages/core-api/src/apis/implementations/ConfigApi/ConfigReader.ts diff --git a/packages/core-api/src/apis/implementations/ConfigApi/ConfigReader.ts b/packages/core-api/src/apis/implementations/ConfigApi/ConfigReader.ts deleted file mode 100644 index 8e0637fa22..0000000000 --- a/packages/core-api/src/apis/implementations/ConfigApi/ConfigReader.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright 2020 Spotify AB - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { ConfigReader as BaseConfigReader } from '@backstage/config'; - -export class ConfigReader extends BaseConfigReader {} diff --git a/packages/core-api/src/apis/implementations/ConfigApi/index.ts b/packages/core-api/src/apis/implementations/ConfigApi/index.ts index 8839cb948e..7c7f88a3e5 100644 --- a/packages/core-api/src/apis/implementations/ConfigApi/index.ts +++ b/packages/core-api/src/apis/implementations/ConfigApi/index.ts @@ -14,4 +14,4 @@ * limitations under the License. */ -export { ConfigReader } from './ConfigReader'; +export { ConfigReader } from '@backstage/config';