kubernetes-common: Exports types in a way that pleases the transpiler

Signed-off-by: Juan Lulkin <jmaiz@spotify.com>
This commit is contained in:
Juan Lulkin
2021-04-15 13:35:55 +02:00
parent 219313b29d
commit 99930d194c
2 changed files with 6 additions and 5 deletions
@@ -15,17 +15,18 @@
*/
import type {
FetchResponse,
KubernetesFetchError,
FetchResponse as FetchResponseCommon,
KubernetesFetchError as KubernetesFetchErrorCommon,
} from '@backstage/plugin-kubernetes-common';
export type {
FetchResponse,
KubernetesErrorTypes,
KubernetesFetchError,
KubernetesRequestBody,
} from '@backstage/plugin-kubernetes-common';
export type KubernetesFetchError = KubernetesFetchErrorCommon;
export type FetchResponse = FetchResponseCommon;
export type ClusterLocatorMethod =
| ConfigClusterLocatorMethod
| GKEClusterLocatorMethod;
+1 -1
View File
@@ -24,7 +24,7 @@
"dist"
],
"scripts": {
"build": "backstage-cli build --outputs cjs,types",
"build": "backstage-cli build",
"lint": "backstage-cli lint",
"test": "backstage-cli test",
"prepack": "backstage-cli prepack",