@backstage-community/plugin-tekton-common 1.5.0 → 1.7.0

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @janus-idp/backstage-plugin-tekton-common
2
2
 
3
+ ## 1.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - d5a2be5: Update Kubernetes plugin dependencies
8
+
9
+ ## 1.6.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 48e0647: Use Kubernetes plugin permissions for Tekton plugin, remove tekton-specific permissions from tekton-common plugin
14
+
3
15
  ## 1.5.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.cjs.js CHANGED
@@ -1,11 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var annotations = require('./annotations.cjs.js');
4
- var permissions = require('./permissions.cjs.js');
5
4
 
6
5
 
7
6
 
8
7
  exports.TektonAnnotations = annotations.TektonAnnotations;
9
- exports.tektonPermissions = permissions.tektonPermissions;
10
- exports.tektonViewPermission = permissions.tektonViewPermission;
11
8
  //# sourceMappingURL=index.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- import * as _backstage_plugin_permission_common from '@backstage/plugin-permission-common';
2
-
3
1
  /**
4
2
  * Annotations to enable or configure the Tekton plugin.
5
3
  *
@@ -16,17 +14,4 @@ declare enum TektonAnnotations {
16
14
  CICD = "tekton.dev/cicd"
17
15
  }
18
16
 
19
- /**
20
- * Permission to view tekton resources.
21
- *
22
- * @public
23
- */
24
- declare const tektonViewPermission: _backstage_plugin_permission_common.BasicPermission;
25
- /**
26
- * List of all permissions on permission polices.
27
- *
28
- * @public
29
- */
30
- declare const tektonPermissions: _backstage_plugin_permission_common.BasicPermission[];
31
-
32
- export { TektonAnnotations, tektonPermissions, tektonViewPermission };
17
+ export { TektonAnnotations };
package/dist/index.esm.js CHANGED
@@ -1,3 +1,2 @@
1
1
  export { TektonAnnotations } from './annotations.esm.js';
2
- export { tektonPermissions, tektonViewPermission } from './permissions.esm.js';
3
2
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-tekton-common",
3
3
  "description": "Common functionalities for the tekton plugin",
4
- "version": "1.5.0",
4
+ "version": "1.7.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "backstage": {
15
15
  "role": "common-library",
16
- "supported-versions": "1.35.0",
16
+ "supported-versions": "1.36.0",
17
17
  "pluginId": "tekton",
18
18
  "pluginPackage": "@backstage-community/plugin-tekton",
19
19
  "pluginPackages": [
@@ -1,15 +0,0 @@
1
- 'use strict';
2
-
3
- var pluginPermissionCommon = require('@backstage/plugin-permission-common');
4
-
5
- const tektonViewPermission = pluginPermissionCommon.createPermission({
6
- name: "tekton.view.read",
7
- attributes: {
8
- action: "read"
9
- }
10
- });
11
- const tektonPermissions = [tektonViewPermission];
12
-
13
- exports.tektonPermissions = tektonPermissions;
14
- exports.tektonViewPermission = tektonViewPermission;
15
- //# sourceMappingURL=permissions.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"permissions.cjs.js","sources":["../src/permissions.ts"],"sourcesContent":["/*\n * Copyright 2024 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 { createPermission } from '@backstage/plugin-permission-common';\n\n/**\n * Permission to view tekton resources.\n *\n * @public\n */\nexport const tektonViewPermission = createPermission({\n name: 'tekton.view.read',\n attributes: {\n action: 'read',\n },\n});\n\n/**\n * List of all permissions on permission polices.\n *\n * @public\n */\nexport const tektonPermissions = [tektonViewPermission];\n"],"names":["createPermission"],"mappings":";;;;AAsBO,MAAM,uBAAuBA,uCAAiB,CAAA;AAAA,EACnD,IAAM,EAAA,kBAAA;AAAA,EACN,UAAY,EAAA;AAAA,IACV,MAAQ,EAAA;AAAA;AAEZ,CAAC;AAOY,MAAA,iBAAA,GAAoB,CAAC,oBAAoB;;;;;"}
@@ -1,12 +0,0 @@
1
- import { createPermission } from '@backstage/plugin-permission-common';
2
-
3
- const tektonViewPermission = createPermission({
4
- name: "tekton.view.read",
5
- attributes: {
6
- action: "read"
7
- }
8
- });
9
- const tektonPermissions = [tektonViewPermission];
10
-
11
- export { tektonPermissions, tektonViewPermission };
12
- //# sourceMappingURL=permissions.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"permissions.esm.js","sources":["../src/permissions.ts"],"sourcesContent":["/*\n * Copyright 2024 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 { createPermission } from '@backstage/plugin-permission-common';\n\n/**\n * Permission to view tekton resources.\n *\n * @public\n */\nexport const tektonViewPermission = createPermission({\n name: 'tekton.view.read',\n attributes: {\n action: 'read',\n },\n});\n\n/**\n * List of all permissions on permission polices.\n *\n * @public\n */\nexport const tektonPermissions = [tektonViewPermission];\n"],"names":[],"mappings":";;AAsBO,MAAM,uBAAuB,gBAAiB,CAAA;AAAA,EACnD,IAAM,EAAA,kBAAA;AAAA,EACN,UAAY,EAAA;AAAA,IACV,MAAQ,EAAA;AAAA;AAEZ,CAAC;AAOY,MAAA,iBAAA,GAAoB,CAAC,oBAAoB;;;;"}