@backstage-community/plugin-tekton 3.32.0 → 3.32.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/alpha.d.ts +51 -0
- package/dist/alpha.esm.js +19 -0
- package/dist/alpha.esm.js.map +1 -0
- package/package.json +33 -14
package/CHANGELOG.md
CHANGED
package/dist/alpha.d.ts
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import * as _backstage_catalog_model from '@backstage/catalog-model';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
5
|
+
import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* The Tekton backstage NFS plugin.
|
|
9
|
+
* @alpha
|
|
10
|
+
*/
|
|
11
|
+
declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{}, {}, {
|
|
12
|
+
"entity-content:tekton/tektonEntityContent": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
13
|
+
kind: "entity-content";
|
|
14
|
+
name: "tektonEntityContent";
|
|
15
|
+
config: {
|
|
16
|
+
path: string | undefined;
|
|
17
|
+
title: string | undefined;
|
|
18
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
19
|
+
group: string | false | undefined;
|
|
20
|
+
};
|
|
21
|
+
configInput: {
|
|
22
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
23
|
+
title?: string | undefined;
|
|
24
|
+
path?: string | undefined;
|
|
25
|
+
group?: string | false | undefined;
|
|
26
|
+
};
|
|
27
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
28
|
+
optional: true;
|
|
29
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
30
|
+
optional: true;
|
|
31
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
32
|
+
optional: true;
|
|
33
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
34
|
+
optional: true;
|
|
35
|
+
}>;
|
|
36
|
+
inputs: {};
|
|
37
|
+
params: {
|
|
38
|
+
defaultPath?: [Error: "Use the 'path' param instead"] | undefined;
|
|
39
|
+
path: string;
|
|
40
|
+
defaultTitle?: [Error: "Use the 'title' param instead"] | undefined;
|
|
41
|
+
title: string;
|
|
42
|
+
defaultGroup?: [Error: "Use the 'group' param instead"] | undefined;
|
|
43
|
+
group?: (string & {}) | "overview" | "documentation" | "development" | "deployment" | "operation" | "observability" | undefined;
|
|
44
|
+
loader: () => Promise<JSX.Element>;
|
|
45
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
|
|
46
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
|
|
47
|
+
};
|
|
48
|
+
}>;
|
|
49
|
+
}>;
|
|
50
|
+
|
|
51
|
+
export { _default as default };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { createFrontendPlugin } from '@backstage/frontend-plugin-api';
|
|
3
|
+
import { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';
|
|
4
|
+
|
|
5
|
+
const tektonEntityContent = EntityContentBlueprint.make({
|
|
6
|
+
name: "tektonEntityContent",
|
|
7
|
+
params: {
|
|
8
|
+
path: "/tekton",
|
|
9
|
+
title: "Tekton",
|
|
10
|
+
loader: () => import('./components/Router.esm.js').then((m) => /* @__PURE__ */ jsx(m.Router, {}))
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
var alpha = createFrontendPlugin({
|
|
14
|
+
pluginId: "tekton",
|
|
15
|
+
extensions: [tektonEntityContent]
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { alpha as default };
|
|
19
|
+
//# sourceMappingURL=alpha.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alpha.esm.js","sources":["../src/alpha.tsx"],"sourcesContent":["/*\n * Copyright 2025 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { createFrontendPlugin } from '@backstage/frontend-plugin-api';\nimport { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';\n\nconst tektonEntityContent = EntityContentBlueprint.make({\n name: 'tektonEntityContent',\n params: {\n path: '/tekton',\n title: 'Tekton',\n loader: () => import('./components/Router').then(m => <m.Router />),\n },\n});\n\n/**\n * The Tekton backstage NFS plugin.\n * @alpha\n */\nexport default createFrontendPlugin({\n pluginId: 'tekton',\n extensions: [tektonEntityContent],\n});\n"],"names":[],"mappings":";;;;AAkBA,MAAM,mBAAA,GAAsB,uBAAuB,IAAA,CAAK;AAAA,EACtD,IAAA,EAAM,qBAAA;AAAA,EACN,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,SAAA;AAAA,IACN,KAAA,EAAO,QAAA;AAAA,IACP,MAAA,EAAQ,MAAM,OAAO,4BAAqB,CAAA,CAAE,IAAA,CAAK,CAAA,CAAA,qBAAK,GAAA,CAAC,CAAA,CAAE,MAAA,EAAF,EAAS,CAAE;AAAA;AAEtE,CAAC,CAAA;AAMD,YAAe,oBAAA,CAAqB;AAAA,EAClC,QAAA,EAAU,QAAA;AAAA,EACV,UAAA,EAAY,CAAC,mBAAmB;AAClC,CAAC,CAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-tekton",
|
|
3
|
-
"version": "3.32.
|
|
4
|
-
"main": "dist/index.esm.js",
|
|
5
|
-
"types": "dist/index.d.ts",
|
|
3
|
+
"version": "3.32.1",
|
|
4
|
+
"main": "./dist/index.esm.js",
|
|
5
|
+
"types": "./dist/index.d.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"publishConfig": {
|
|
8
|
-
"access": "public"
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./dist/index.esm.js",
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"default": "./dist/index.esm.js"
|
|
15
|
+
},
|
|
16
|
+
"./alpha": {
|
|
17
|
+
"backstage": "@backstage/FrontendPlugin",
|
|
18
|
+
"import": "./dist/alpha.esm.js",
|
|
19
|
+
"types": "./dist/alpha.d.ts",
|
|
20
|
+
"default": "./dist/alpha.esm.js"
|
|
21
|
+
},
|
|
22
|
+
"./package.json": "./package.json"
|
|
23
|
+
},
|
|
24
|
+
"typesVersions": {
|
|
25
|
+
"*": {
|
|
26
|
+
"alpha": [
|
|
27
|
+
"dist/alpha.d.ts"
|
|
28
|
+
],
|
|
29
|
+
"package.json": [
|
|
30
|
+
"package.json"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
11
33
|
},
|
|
12
34
|
"backstage": {
|
|
13
35
|
"role": "frontend-plugin",
|
|
@@ -16,7 +38,10 @@
|
|
|
16
38
|
"pluginPackages": [
|
|
17
39
|
"@backstage-community/plugin-tekton",
|
|
18
40
|
"@backstage-community/plugin-tekton-common"
|
|
19
|
-
]
|
|
41
|
+
],
|
|
42
|
+
"features": {
|
|
43
|
+
"./alpha": "@backstage/FrontendPlugin"
|
|
44
|
+
}
|
|
20
45
|
},
|
|
21
46
|
"sideEffects": [
|
|
22
47
|
"./**/*.css",
|
|
@@ -38,6 +63,7 @@
|
|
|
38
63
|
"@backstage/catalog-model": "^1.7.6",
|
|
39
64
|
"@backstage/core-components": "^0.18.3",
|
|
40
65
|
"@backstage/core-plugin-api": "^1.12.0",
|
|
66
|
+
"@backstage/frontend-plugin-api": "^0.13.1",
|
|
41
67
|
"@backstage/plugin-catalog-react": "^1.21.3",
|
|
42
68
|
"@backstage/plugin-kubernetes-common": "^0.9.8",
|
|
43
69
|
"@backstage/plugin-kubernetes-react": "^0.5.13",
|
|
@@ -102,12 +128,5 @@
|
|
|
102
128
|
"@divyanshiGupta"
|
|
103
129
|
],
|
|
104
130
|
"author": "Red Hat",
|
|
105
|
-
"typesVersions": {
|
|
106
|
-
"*": {
|
|
107
|
-
"package.json": [
|
|
108
|
-
"package.json"
|
|
109
|
-
]
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
131
|
"module": "./dist/index.esm.js"
|
|
113
132
|
}
|