kubernetes-common: Exports types in a way that pleases the transpiler
Signed-off-by: Juan Lulkin <jmaiz@spotify.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user