@red-hat-developer-hub/backstage-plugin-openshift-image-registry 1.10.0 → 1.10.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 CHANGED
@@ -1,5 +1,22 @@
1
1
  ### Dependencies
2
2
 
3
+ ## 1.10.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 97534e9: Updated dependency `@types/node` to `18.19.68`.
8
+ - 4cf968f: Updated dependency `@janus-idp/shared-react` to `2.14.1`.
9
+ - 18547a0: Updated dependency `msw` to `1.3.5`.
10
+ - d59e940: Updated dependency `prettier` to `3.4.2`.
11
+ Updated dependency `@janus-idp/cli` to `1.19.1`.
12
+ - 414250a: Updated dependency `@testing-library/jest-dom` to `6.6.3`.
13
+
14
+ ## 1.10.1
15
+
16
+ ### Patch Changes
17
+
18
+ - b910e0b: bump @backstage/repo-tools to 0.10.0 and regenerate api report
19
+
3
20
  ## 1.10.0
4
21
 
5
22
  ### Minor Changes
package/app-config.yaml CHANGED
@@ -1,13 +1,13 @@
1
1
  proxy:
2
2
  endpoints:
3
3
  '/openshift-image-registry/api':
4
- target: ${OCP_API_ENDPOINT}
5
- headers:
6
- X-Requested-With: 'XMLHttpRequest'
7
- Authorization: Bearer ${OCP_API_TOKEN}
8
- changeOrigin: true
9
- # Change to "false" in case of using self hosted OpenShift cluster with a self-signed certificate
10
- secure: true
4
+ target: ${OCP_API_ENDPOINT}
5
+ headers:
6
+ X-Requested-With: 'XMLHttpRequest'
7
+ Authorization: Bearer ${OCP_API_TOKEN}
8
+ changeOrigin: true
9
+ # Change to "false" in case of using self hosted OpenShift cluster with a self-signed certificate
10
+ secure: true
11
11
 
12
12
  dynamicPlugins:
13
13
  frontend:
package/dist/index.d.ts CHANGED
@@ -2,9 +2,17 @@
2
2
  import * as react from 'react';
3
3
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
4
4
 
5
+ /**
6
+ * @public
7
+ * Openshift Image Registry Plugin
8
+ */
5
9
  declare const openshiftImageRegistryPlugin: _backstage_core_plugin_api.BackstagePlugin<{
6
10
  root: _backstage_core_plugin_api.RouteRef<undefined>;
7
11
  }, {}, {}>;
12
+ /**
13
+ * @public
14
+ * Openshift Image Registry Page
15
+ */
8
16
  declare const OpenshiftImageRegistryPage: () => react.JSX.Element;
9
17
 
10
18
  export { OpenshiftImageRegistryPage, openshiftImageRegistryPlugin };
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.esm.js","sources":["../src/plugin.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 */\n\nimport {\n configApiRef,\n createApiFactory,\n createPlugin,\n createRoutableExtension,\n discoveryApiRef,\n identityApiRef,\n} from '@backstage/core-plugin-api';\n\nimport {\n OpenshiftImageRegistryApiClient,\n openshiftImageRegistryApiRef,\n} from './api';\nimport { rootRouteRef } from './routes';\n\nexport const openshiftImageRegistryPlugin = createPlugin({\n id: 'openshift-image-registry',\n routes: {\n root: rootRouteRef,\n },\n apis: [\n createApiFactory({\n api: openshiftImageRegistryApiRef,\n deps: {\n discoveryApi: discoveryApiRef,\n configApi: configApiRef,\n identityApi: identityApiRef,\n },\n factory: ({ discoveryApi, configApi, identityApi }) =>\n new OpenshiftImageRegistryApiClient({\n discoveryApi,\n configApi,\n identityApi,\n }),\n }),\n ],\n});\n\nexport const OpenshiftImageRegistryPage = openshiftImageRegistryPlugin.provide(\n createRoutableExtension({\n name: 'OpenshiftImageRegistryPage',\n component: () => import('./components/OcirPage').then(m => m.OcirPage),\n mountPoint: rootRouteRef,\n }),\n);\n"],"names":[],"mappings":";;;;AA+BO,MAAM,+BAA+B,YAAa,CAAA;AAAA,EACvD,EAAI,EAAA,0BAAA;AAAA,EACJ,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,YAAA;AAAA,GACR;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,gBAAiB,CAAA;AAAA,MACf,GAAK,EAAA,4BAAA;AAAA,MACL,IAAM,EAAA;AAAA,QACJ,YAAc,EAAA,eAAA;AAAA,QACd,SAAW,EAAA,YAAA;AAAA,QACX,WAAa,EAAA,cAAA;AAAA,OACf;AAAA,MACA,OAAA,EAAS,CAAC,EAAE,YAAA,EAAc,WAAW,WAAY,EAAA,KAC/C,IAAI,+BAAgC,CAAA;AAAA,QAClC,YAAA;AAAA,QACA,SAAA;AAAA,QACA,WAAA;AAAA,OACD,CAAA;AAAA,KACJ,CAAA;AAAA,GACH;AACF,CAAC,EAAA;AAEM,MAAM,6BAA6B,4BAA6B,CAAA,OAAA;AAAA,EACrE,uBAAwB,CAAA;AAAA,IACtB,IAAM,EAAA,4BAAA;AAAA,IACN,SAAA,EAAW,MAAM,OAAO,oCAAuB,EAAE,IAAK,CAAA,CAAA,CAAA,KAAK,EAAE,QAAQ,CAAA;AAAA,IACrE,UAAY,EAAA,YAAA;AAAA,GACb,CAAA;AACH;;;;"}
1
+ {"version":3,"file":"plugin.esm.js","sources":["../src/plugin.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 */\n\nimport {\n configApiRef,\n createApiFactory,\n createPlugin,\n createRoutableExtension,\n discoveryApiRef,\n identityApiRef,\n} from '@backstage/core-plugin-api';\n\nimport {\n OpenshiftImageRegistryApiClient,\n openshiftImageRegistryApiRef,\n} from './api';\nimport { rootRouteRef } from './routes';\n\n/**\n * @public\n * Openshift Image Registry Plugin\n */\nexport const openshiftImageRegistryPlugin = createPlugin({\n id: 'openshift-image-registry',\n routes: {\n root: rootRouteRef,\n },\n apis: [\n createApiFactory({\n api: openshiftImageRegistryApiRef,\n deps: {\n discoveryApi: discoveryApiRef,\n configApi: configApiRef,\n identityApi: identityApiRef,\n },\n factory: ({ discoveryApi, configApi, identityApi }) =>\n new OpenshiftImageRegistryApiClient({\n discoveryApi,\n configApi,\n identityApi,\n }),\n }),\n ],\n});\n\n/**\n * @public\n * Openshift Image Registry Page\n */\nexport const OpenshiftImageRegistryPage = openshiftImageRegistryPlugin.provide(\n createRoutableExtension({\n name: 'OpenshiftImageRegistryPage',\n component: () => import('./components/OcirPage').then(m => m.OcirPage),\n mountPoint: rootRouteRef,\n }),\n);\n"],"names":[],"mappings":";;;;AAmCO,MAAM,+BAA+B,YAAa,CAAA;AAAA,EACvD,EAAI,EAAA,0BAAA;AAAA,EACJ,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,YAAA;AAAA,GACR;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,gBAAiB,CAAA;AAAA,MACf,GAAK,EAAA,4BAAA;AAAA,MACL,IAAM,EAAA;AAAA,QACJ,YAAc,EAAA,eAAA;AAAA,QACd,SAAW,EAAA,YAAA;AAAA,QACX,WAAa,EAAA,cAAA;AAAA,OACf;AAAA,MACA,OAAA,EAAS,CAAC,EAAE,YAAA,EAAc,WAAW,WAAY,EAAA,KAC/C,IAAI,+BAAgC,CAAA;AAAA,QAClC,YAAA;AAAA,QACA,SAAA;AAAA,QACA,WAAA;AAAA,OACD,CAAA;AAAA,KACJ,CAAA;AAAA,GACH;AACF,CAAC,EAAA;AAMM,MAAM,6BAA6B,4BAA6B,CAAA,OAAA;AAAA,EACrE,uBAAwB,CAAA;AAAA,IACtB,IAAM,EAAA,4BAAA;AAAA,IACN,SAAA,EAAW,MAAM,OAAO,oCAAuB,EAAE,IAAK,CAAA,CAAA,CAAA,KAAK,EAAE,QAAQ,CAAA;AAAA,IACrE,UAAY,EAAA,YAAA;AAAA,GACb,CAAA;AACH;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@red-hat-developer-hub/backstage-plugin-openshift-image-registry",
3
- "version": "1.10.0",
3
+ "version": "1.10.2",
4
4
  "main": "dist/index.esm.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "Apache-2.0",
@@ -41,7 +41,7 @@
41
41
  "@backstage/theme": "^0.5.7",
42
42
  "@emotion/styled": "^11.13.0",
43
43
  "@ianvs/prettier-plugin-sort-imports": "^4.3.1",
44
- "@janus-idp/shared-react": "2.11.1",
44
+ "@janus-idp/shared-react": "2.14.1",
45
45
  "@material-ui/core": "^4.9.13",
46
46
  "@material-ui/icons": "^4.11.3",
47
47
  "@material-ui/lab": "^4.0.0-alpha.45",
@@ -49,26 +49,25 @@
49
49
  },
50
50
  "peerDependencies": {
51
51
  "react": "^16.13.1 || ^17.0.0 || ^18.0.0",
52
- "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0"
52
+ "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
53
+ "react-router-dom": "^6.0.0"
53
54
  },
54
55
  "devDependencies": {
55
56
  "@backstage/cli": "0.27.1",
56
57
  "@backstage/core-app-api": "1.15.0",
57
58
  "@backstage/dev-utils": "1.1.1",
58
59
  "@backstage/test-utils": "1.6.0",
59
- "@janus-idp/cli": "1.16.0",
60
+ "@janus-idp/cli": "1.19.1",
61
+ "@mui/icons-material": "^6.1.6",
60
62
  "@redhat-developer/red-hat-developer-hub-theme": "0.4.0",
61
63
  "@spotify/prettier-config": "^15.0.0",
62
- "@testing-library/jest-dom": "6.4.8",
64
+ "@testing-library/jest-dom": "6.6.3",
63
65
  "@testing-library/react": "14.3.1",
64
66
  "@testing-library/user-event": "14.5.2",
65
- "@types/node": "18.19.33",
67
+ "@types/node": "18.19.68",
66
68
  "cross-fetch": "4.0.0",
67
- "msw": "1.3.3",
68
- "prettier": "3.3.3",
69
- "react": "^18.3.1",
70
- "react-dom": "^18.3.1",
71
- "react-router-dom": "^6.26.2"
69
+ "msw": "1.3.5",
70
+ "prettier": "3.4.2"
72
71
  },
73
72
  "files": [
74
73
  "dist",