@backstage-community/plugin-jfrog-artifactory 1.10.2 → 1.10.4
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 +12 -0
- package/dist/index.d.ts +9 -0
- package/dist/plugin.esm.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
### Dependencies
|
|
2
2
|
|
|
3
|
+
## 1.10.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 378ca22: Clean up api report warnings and remove unnecessary files
|
|
8
|
+
|
|
9
|
+
## 1.10.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- a6e850f: Updated dependency `msw` to `1.3.5`.
|
|
14
|
+
|
|
3
15
|
## 1.10.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -3,10 +3,19 @@ import * as react from 'react';
|
|
|
3
3
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
4
4
|
import { Entity } from '@backstage/catalog-model';
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
6
9
|
declare const jfrogArtifactoryPlugin: _backstage_core_plugin_api.BackstagePlugin<{
|
|
7
10
|
root: _backstage_core_plugin_api.RouteRef<undefined>;
|
|
8
11
|
}, {}, {}>;
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
9
15
|
declare const JfrogArtifactoryPage: () => react.JSX.Element;
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
10
19
|
declare const isJfrogArtifactoryAvailable: (entity: Entity) => boolean;
|
|
11
20
|
|
|
12
21
|
export { JfrogArtifactoryPage, isJfrogArtifactoryAvailable, jfrogArtifactoryPlugin };
|
package/dist/plugin.esm.js.map
CHANGED
|
@@ -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 */\nimport { Entity } from '@backstage/catalog-model';\nimport {\n configApiRef,\n createApiFactory,\n createComponentExtension,\n createPlugin,\n discoveryApiRef,\n identityApiRef,\n} from '@backstage/core-plugin-api';\n\nimport { JfrogArtifactoryApiClient, jfrogArtifactoryApiRef } from './api';\nimport { JFROG_ARTIFACTORY_ANNOTATION_IMAGE_NAME } from './components/useJfrogArtifactoryAppData';\nimport { rootRouteRef } from './routes';\n\nexport const jfrogArtifactoryPlugin = createPlugin({\n id: 'jfrog-artifactory',\n routes: {\n root: rootRouteRef,\n },\n apis: [\n createApiFactory({\n api: jfrogArtifactoryApiRef,\n deps: {\n discoveryApi: discoveryApiRef,\n configApi: configApiRef,\n identityApi: identityApiRef,\n },\n factory: ({ discoveryApi, configApi, identityApi }) =>\n new JfrogArtifactoryApiClient({ discoveryApi, configApi, identityApi }),\n }),\n ],\n});\n\nexport const JfrogArtifactoryPage = jfrogArtifactoryPlugin.provide(\n createComponentExtension({\n name: 'JfrogArtifactoryPage',\n component: {\n lazy: () =>\n import('./components/JfrogArtifactoryDashboardPage').then(\n m => m.JfrogArtifactoryDashboardPage,\n ),\n },\n }),\n);\n\nexport const isJfrogArtifactoryAvailable = (entity: Entity) =>\n Boolean(\n entity?.metadata.annotations?.[JFROG_ARTIFACTORY_ANNOTATION_IMAGE_NAME],\n );\n"],"names":[],"mappings":";;;;;
|
|
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 */\nimport { Entity } from '@backstage/catalog-model';\nimport {\n configApiRef,\n createApiFactory,\n createComponentExtension,\n createPlugin,\n discoveryApiRef,\n identityApiRef,\n} from '@backstage/core-plugin-api';\n\nimport { JfrogArtifactoryApiClient, jfrogArtifactoryApiRef } from './api';\nimport { JFROG_ARTIFACTORY_ANNOTATION_IMAGE_NAME } from './components/useJfrogArtifactoryAppData';\nimport { rootRouteRef } from './routes';\n\n/**\n * @public\n */\nexport const jfrogArtifactoryPlugin = createPlugin({\n id: 'jfrog-artifactory',\n routes: {\n root: rootRouteRef,\n },\n apis: [\n createApiFactory({\n api: jfrogArtifactoryApiRef,\n deps: {\n discoveryApi: discoveryApiRef,\n configApi: configApiRef,\n identityApi: identityApiRef,\n },\n factory: ({ discoveryApi, configApi, identityApi }) =>\n new JfrogArtifactoryApiClient({ discoveryApi, configApi, identityApi }),\n }),\n ],\n});\n\n/**\n * @public\n */\nexport const JfrogArtifactoryPage = jfrogArtifactoryPlugin.provide(\n createComponentExtension({\n name: 'JfrogArtifactoryPage',\n component: {\n lazy: () =>\n import('./components/JfrogArtifactoryDashboardPage').then(\n m => m.JfrogArtifactoryDashboardPage,\n ),\n },\n }),\n);\n\n/**\n * @public\n */\nexport const isJfrogArtifactoryAvailable = (entity: Entity) =>\n Boolean(\n entity?.metadata.annotations?.[JFROG_ARTIFACTORY_ANNOTATION_IMAGE_NAME],\n );\n"],"names":[],"mappings":";;;;;AAgCO,MAAM,yBAAyB,YAAa,CAAA;AAAA,EACjD,EAAI,EAAA,mBAAA;AAAA,EACJ,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,YAAA;AAAA,GACR;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,gBAAiB,CAAA;AAAA,MACf,GAAK,EAAA,sBAAA;AAAA,MACL,IAAM,EAAA;AAAA,QACJ,YAAc,EAAA,eAAA;AAAA,QACd,SAAW,EAAA,YAAA;AAAA,QACX,WAAa,EAAA,cAAA;AAAA,OACf;AAAA,MACA,OAAS,EAAA,CAAC,EAAE,YAAA,EAAc,SAAW,EAAA,WAAA,EACnC,KAAA,IAAI,yBAA0B,CAAA,EAAE,YAAc,EAAA,SAAA,EAAW,aAAa,CAAA;AAAA,KACzE,CAAA;AAAA,GACH;AACF,CAAC,EAAA;AAKM,MAAM,uBAAuB,sBAAuB,CAAA,OAAA;AAAA,EACzD,wBAAyB,CAAA;AAAA,IACvB,IAAM,EAAA,sBAAA;AAAA,IACN,SAAW,EAAA;AAAA,MACT,IAAM,EAAA,MACJ,OAAO,yDAA4C,CAAE,CAAA,IAAA;AAAA,QACnD,OAAK,CAAE,CAAA,6BAAA;AAAA,OACT;AAAA,KACJ;AAAA,GACD,CAAA;AACH,EAAA;AAKa,MAAA,2BAAA,GAA8B,CAAC,MAC1C,KAAA,OAAA;AAAA,EACE,MAAA,EAAQ,QAAS,CAAA,WAAA,GAAc,uCAAuC,CAAA;AACxE;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-jfrog-artifactory",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.4",
|
|
4
4
|
"main": "dist/index.esm.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"@testing-library/jest-dom": "6.6.2",
|
|
55
55
|
"@testing-library/react": "14.3.1",
|
|
56
56
|
"@testing-library/user-event": "14.5.2",
|
|
57
|
-
"@types/node": "18.19.
|
|
57
|
+
"@types/node": "18.19.64",
|
|
58
58
|
"cross-fetch": "4.0.0",
|
|
59
|
-
"msw": "1.3.
|
|
59
|
+
"msw": "1.3.5",
|
|
60
60
|
"react-router-dom": "^6.26.2"
|
|
61
61
|
},
|
|
62
62
|
"files": [
|