@backstage-community/plugin-quay-common 1.3.2
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 +32 -0
- package/README.md +11 -0
- package/dist/index.cjs.js +9 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.esm.js +2 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/permissions.cjs.js +15 -0
- package/dist/permissions.cjs.js.map +1 -0
- package/dist/permissions.esm.js +12 -0
- package/dist/permissions.esm.js.map +1 -0
- package/package.json +71 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# @backstage-community/plugin-quay-common
|
|
2
|
+
|
|
3
|
+
## 1.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 00c79ed: Migrated from [janus-idp/backstage-plugins](https://github.com/janus-idp/backstage-plugins).
|
|
8
|
+
|
|
9
|
+
## 1.3.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 0e6bfd3: feat: update Backstage to the latest version
|
|
14
|
+
|
|
15
|
+
Update to Backstage 1.32.5
|
|
16
|
+
|
|
17
|
+
## 1.3.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- 8244f28: chore(deps): update to backstage 1.32
|
|
22
|
+
|
|
23
|
+
## 1.2.0
|
|
24
|
+
|
|
25
|
+
### Minor Changes
|
|
26
|
+
|
|
27
|
+
- d9551ae: feat(deps): update to backstage 1.31
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- d9551ae: change deps to peer deps in common packages
|
|
32
|
+
- d9551ae: upgrade to yarn v3
|
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Quay Common plugin
|
|
2
|
+
|
|
3
|
+
Welcome to the quay-common plugin!
|
|
4
|
+
|
|
5
|
+
This plugin contains common utilities for the quay plugin.
|
|
6
|
+
|
|
7
|
+
# Quay plugin for Backstage
|
|
8
|
+
|
|
9
|
+
The Quay plugin displays the information about your container images within the Quay registry in your Backstage application.
|
|
10
|
+
|
|
11
|
+
For more information about Quay plugin, see the [Quay plugin documentation](https://github.com/backstage/community-plugins/tree/main/workspaces/quay/plugins/quay) on GitHub.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as _backstage_plugin_permission_common from '@backstage/plugin-permission-common';
|
|
2
|
+
|
|
3
|
+
declare const quayViewPermission: _backstage_plugin_permission_common.BasicPermission;
|
|
4
|
+
/**
|
|
5
|
+
* List of all permissions on permission polices.
|
|
6
|
+
*/
|
|
7
|
+
declare const quayPermissions: _backstage_plugin_permission_common.BasicPermission[];
|
|
8
|
+
|
|
9
|
+
export { quayPermissions, quayViewPermission };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var pluginPermissionCommon = require('@backstage/plugin-permission-common');
|
|
4
|
+
|
|
5
|
+
const quayViewPermission = pluginPermissionCommon.createPermission({
|
|
6
|
+
name: "quay.view.read",
|
|
7
|
+
attributes: {
|
|
8
|
+
action: "read"
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const quayPermissions = [quayViewPermission];
|
|
12
|
+
|
|
13
|
+
exports.quayPermissions = quayPermissions;
|
|
14
|
+
exports.quayViewPermission = quayViewPermission;
|
|
15
|
+
//# sourceMappingURL=permissions.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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\nexport const quayViewPermission = createPermission({\n name: 'quay.view.read',\n attributes: {\n action: 'read',\n },\n});\n\n/**\n * List of all permissions on permission polices.\n */\nexport const quayPermissions = [quayViewPermission];\n"],"names":["createPermission"],"mappings":";;;;AAiBO,MAAM,qBAAqBA,uCAAiB,CAAA;AAAA,EACjD,IAAM,EAAA,gBAAA;AAAA,EACN,UAAY,EAAA;AAAA,IACV,MAAQ,EAAA,MAAA;AAAA,GACV;AACF,CAAC,EAAA;AAKY,MAAA,eAAA,GAAkB,CAAC,kBAAkB;;;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createPermission } from '@backstage/plugin-permission-common';
|
|
2
|
+
|
|
3
|
+
const quayViewPermission = createPermission({
|
|
4
|
+
name: "quay.view.read",
|
|
5
|
+
attributes: {
|
|
6
|
+
action: "read"
|
|
7
|
+
}
|
|
8
|
+
});
|
|
9
|
+
const quayPermissions = [quayViewPermission];
|
|
10
|
+
|
|
11
|
+
export { quayPermissions, quayViewPermission };
|
|
12
|
+
//# sourceMappingURL=permissions.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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\nexport const quayViewPermission = createPermission({\n name: 'quay.view.read',\n attributes: {\n action: 'read',\n },\n});\n\n/**\n * List of all permissions on permission polices.\n */\nexport const quayPermissions = [quayViewPermission];\n"],"names":[],"mappings":";;AAiBO,MAAM,qBAAqB,gBAAiB,CAAA;AAAA,EACjD,IAAM,EAAA,gBAAA;AAAA,EACN,UAAY,EAAA;AAAA,IACV,MAAQ,EAAA,MAAA;AAAA,GACV;AACF,CAAC,EAAA;AAKY,MAAA,eAAA,GAAkB,CAAC,kBAAkB;;;;"}
|
package/package.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@backstage-community/plugin-quay-common",
|
|
3
|
+
"version": "1.3.2",
|
|
4
|
+
"main": "dist/index.cjs.js",
|
|
5
|
+
"types": "dist/index.d.ts",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public",
|
|
9
|
+
"main": "dist/index.cjs.js",
|
|
10
|
+
"module": "dist/index.esm.js",
|
|
11
|
+
"types": "dist/index.d.ts"
|
|
12
|
+
},
|
|
13
|
+
"backstage": {
|
|
14
|
+
"role": "common-library",
|
|
15
|
+
"supported-versions": "1.32.5",
|
|
16
|
+
"pluginId": "quay",
|
|
17
|
+
"pluginPackage": "@backstage-community/plugin-quay-common",
|
|
18
|
+
"pluginPackages": [
|
|
19
|
+
"@backstage-community/plugin-quay",
|
|
20
|
+
"@backstage-community/plugin-quay-common"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"author": "Red Hat",
|
|
24
|
+
"homepage": "https://red.ht/rhdh",
|
|
25
|
+
"bugs": "https://github.com/backstage/community-plugins/issues",
|
|
26
|
+
"maintainers": [
|
|
27
|
+
"@karthikjeeyar"
|
|
28
|
+
],
|
|
29
|
+
"keywords": [
|
|
30
|
+
"support:production",
|
|
31
|
+
"lifecycle:active",
|
|
32
|
+
"backstage",
|
|
33
|
+
"plugin"
|
|
34
|
+
],
|
|
35
|
+
"sideEffects": false,
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build": "backstage-cli package build",
|
|
38
|
+
"clean": "backstage-cli package clean",
|
|
39
|
+
"lint:check": "backstage-cli package lint",
|
|
40
|
+
"lint:fix": "backstage-cli package lint --fix",
|
|
41
|
+
"postpack": "backstage-cli package postpack",
|
|
42
|
+
"prepack": "backstage-cli package prepack",
|
|
43
|
+
"test": "backstage-cli package test --passWithNoTests --coverage",
|
|
44
|
+
"tsc": "tsc",
|
|
45
|
+
"prettier:check": "prettier --ignore-unknown --check .",
|
|
46
|
+
"prettier:fix": "prettier --ignore-unknown --write ."
|
|
47
|
+
},
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "https://github.com/backstage/community-plugins",
|
|
51
|
+
"directory": "workspaces/quay/plugins/quay-common"
|
|
52
|
+
},
|
|
53
|
+
"files": [
|
|
54
|
+
"dist"
|
|
55
|
+
],
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"@backstage/plugin-permission-common": "^0.8.1",
|
|
58
|
+
"react": "16.13.1 || ^17.0.0 || ^18.0.0"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@backstage/cli": "0.28.2",
|
|
62
|
+
"@backstage/plugin-permission-common": "^0.8.1",
|
|
63
|
+
"@spotify/prettier-config": "^15.0.0",
|
|
64
|
+
"@types/react": "^18.2.58",
|
|
65
|
+
"prettier": "3.3.3",
|
|
66
|
+
"react": "16.13.1 || ^17.0.0 || ^18.0.0",
|
|
67
|
+
"react-dom": "16.13.1 || ^17.0.0 || ^18.0.0",
|
|
68
|
+
"react-router-dom": "^6.0.0"
|
|
69
|
+
},
|
|
70
|
+
"module": "dist/index.esm.js"
|
|
71
|
+
}
|