@backstage-community/plugin-jfrog-artifactory 1.31.1 → 2.0.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 CHANGED
@@ -1,5 +1,25 @@
1
1
  # @backstage-community/plugin-jfrog-artifactory
2
2
 
3
+ ## 2.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 0a13163: Backstage version bump to v1.54.7
8
+
9
+ ## 2.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - d790949: The JFrog Artifactory plugin now uses the New Frontend System as its default export. The JFrog Artifactory entity tab is registered automatically for entities with the `jfrog-artifactory/image-name` annotation.
14
+
15
+ **BREAKING**: Legacy frontend apps must import `JfrogArtifactoryPage` and `jfrogArtifactoryPlugin` from `@backstage-community/plugin-jfrog-artifactory/legacy`.
16
+
17
+ The NFS translations module is exported from `/translations`. `jfrogArtifactoryTranslations` and `jfrogArtifactoryTranslationRef` remain available from both `/translations` and `/alpha`.
18
+
19
+ ### Patch Changes
20
+
21
+ - 04cfb56: Updated dependency `@playwright/test` to `1.63.0`.
22
+
3
23
  ## 1.31.1
4
24
 
5
25
  ### Patch Changes
package/README.md CHANGED
@@ -59,14 +59,37 @@ proxy:
59
59
  target: 'https://<hostname2>'
60
60
  ```
61
61
 
62
- 1. Enable the **JFROG ARTIFACTORY** tab on the entity view page in `packages/app/src/components/catalog/EntityPage.tsx`:
62
+ 1. Wire the plugin into your Backstage app.
63
+
64
+ ##### New frontend system
65
+
66
+ If you are using Backstage's [new frontend system](https://backstage.io/docs/frontend-system/), add the default export and the translations module to your app `features` array. The JFrog Artifactory entity tab is registered automatically for entities with the `jfrog-artifactory/image-name` annotation.
67
+
68
+ ```ts
69
+ import jfrogArtifactoryPlugin from '@backstage-community/plugin-jfrog-artifactory';
70
+ import jfrogArtifactoryTranslationsModule from '@backstage-community/plugin-jfrog-artifactory/translations';
71
+
72
+ export const app = createApp({
73
+ features: [
74
+ // ...
75
+ jfrogArtifactoryPlugin,
76
+ jfrogArtifactoryTranslationsModule,
77
+ ],
78
+ });
79
+ ```
80
+
81
+ The NFS translations module is exported from `/translations`. `jfrogArtifactoryTranslations` and `jfrogArtifactoryTranslationRef` remain available from both `/translations` and `/alpha`.
82
+
83
+ ##### Legacy frontend system
84
+
85
+ If you are using the legacy frontend system, import the plugin from the `/legacy` subpath and enable the **JFROG ARTIFACTORY** tab in `packages/app/src/components/catalog/EntityPage.tsx`:
63
86
 
64
87
  ```ts title="packages/app/src/components/catalog/EntityPage.tsx"
65
88
  /* highlight-add-start */
66
89
  import {
67
90
  isJfrogArtifactoryAvailable,
68
91
  JfrogArtifactoryPage,
69
- } from '@backstage-community/plugin-jfrog-artifactory';
92
+ } from '@backstage-community/plugin-jfrog-artifactory/legacy';
70
93
 
71
94
  /* highlight-add-end */
72
95
 
@@ -86,6 +109,20 @@ proxy:
86
109
  );
87
110
  ```
88
111
 
112
+ Register translations in `packages/app/src/App.tsx`:
113
+
114
+ ```ts title="packages/app/src/App.tsx"
115
+ import { jfrogArtifactoryTranslations } from '@backstage-community/plugin-jfrog-artifactory/alpha';
116
+
117
+ const app = createApp({
118
+ __experimentalTranslations: {
119
+ availableLanguages: ['en', 'de', 'fr', 'it', 'es', 'ja'],
120
+ resources: [jfrogArtifactoryTranslations],
121
+ },
122
+ // ...
123
+ });
124
+ ```
125
+
89
126
  1. Annotate your entity with the following annotations:
90
127
 
91
128
  ```yaml title="catalog-info.yaml"
package/app-config.yaml CHANGED
@@ -10,9 +10,14 @@ proxy:
10
10
  dynamicPlugins:
11
11
  frontend:
12
12
  backstage-community.plugin-jfrog-artifactory:
13
+ translationResources:
14
+ - importName: jfrogArtifactoryTranslations
15
+ module: Alpha
16
+ ref: jfrogArtifactoryTranslationRef
13
17
  mountPoints:
14
18
  - mountPoint: entity.page.image-registry/cards
15
19
  importName: JfrogArtifactoryPage
20
+ module: Legacy
16
21
  config:
17
22
  layout:
18
23
  gridColumn: 1 / -1
package/dist/alpha.d.ts CHANGED
@@ -1,28 +1,2 @@
1
- import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
2
-
3
- /**
4
- * Translation reference for the JFrog Artifactory plugin.
5
- * @alpha
6
- */
7
- declare const jfrogArtifactoryTranslationRef: _backstage_frontend_plugin_api.TranslationRef<"plugin.jfrog-artifactory", {
8
- readonly "page.title": string;
9
- readonly "table.searchPlaceholder": string;
10
- readonly "table.pagination.showResults": string;
11
- readonly "table.pagination.rangeLabel": string;
12
- readonly "table.columns.version": string;
13
- readonly "table.columns.repositories": string;
14
- readonly "table.columns.manifest": string;
15
- readonly "table.columns.modified": string;
16
- readonly "table.columns.size": string;
17
- readonly "table.emptyContent.message": string;
18
- readonly "table.emptyContent.learnMore": string;
19
- readonly "manifest.sha256": string;
20
- }>;
21
-
22
- /**
23
- * Translation resources for the JFrog Artifactory plugin.
24
- * @alpha
25
- */
26
- declare const jfrogArtifactoryTranslations: _backstage_frontend_plugin_api.TranslationResource<"plugin.jfrog-artifactory">;
27
-
28
- export { jfrogArtifactoryTranslationRef, jfrogArtifactoryTranslations };
1
+ export { jfrogArtifactoryTranslationRef, jfrogArtifactoryTranslations } from './translations.js';
2
+ import '@backstage/frontend-plugin-api';
package/dist/alpha.esm.js CHANGED
@@ -1,3 +1,3 @@
1
- export { jfrogArtifactoryTranslations } from './translations/index.esm.js';
1
+ export { jfrogArtifactoryTranslations } from './translations.esm.js';
2
2
  export { jfrogArtifactoryTranslationRef } from './translations/ref.esm.js';
3
3
  //# sourceMappingURL=alpha.esm.js.map
@@ -1,5 +1,5 @@
1
1
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
2
- import '../translations/index.esm.js';
2
+ import '../translations.esm.js';
3
3
  import { jfrogArtifactoryTranslationRef } from '../translations/ref.esm.js';
4
4
 
5
5
  const useTranslation = () => {
package/dist/index.d.ts CHANGED
@@ -1,20 +1,12 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
3
- import { Entity } from '@backstage/catalog-model';
1
+ import { FrontendPlugin } from '@backstage/frontend-plugin-api';
2
+ export { i as isJfrogArtifactoryAvailable } from './types/isJfrogArtifactoryAvailable.d-DsS_zPAm.js';
3
+ import '@backstage/catalog-model';
4
4
 
5
5
  /**
6
+ * JFrog Artifactory plugin for the New Frontend System.
7
+ *
6
8
  * @public
7
9
  */
8
- declare const jfrogArtifactoryPlugin: _backstage_core_plugin_api.BackstagePlugin<{
9
- root: _backstage_core_plugin_api.RouteRef<undefined>;
10
- }, {}, {}>;
11
- /**
12
- * @public
13
- */
14
- declare const JfrogArtifactoryPage: () => react_jsx_runtime.JSX.Element;
15
- /**
16
- * @public
17
- */
18
- declare const isJfrogArtifactoryAvailable: (entity: Entity) => boolean;
10
+ declare const jfrogArtifactoryPlugin: FrontendPlugin;
19
11
 
20
- export { JfrogArtifactoryPage, isJfrogArtifactoryAvailable, jfrogArtifactoryPlugin };
12
+ export { jfrogArtifactoryPlugin as default };
package/dist/index.esm.js CHANGED
@@ -1,2 +1,3 @@
1
- export { JfrogArtifactoryPage, isJfrogArtifactoryAvailable, jfrogArtifactoryPlugin } from './plugin.esm.js';
1
+ export { default } from './plugin.esm.js';
2
+ export { isJfrogArtifactoryAvailable } from './isJfrogArtifactoryAvailable.esm.js';
2
3
  //# 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":";"}
@@ -0,0 +1,8 @@
1
+ import { JFROG_ARTIFACTORY_ANNOTATION_IMAGE_NAME } from './components/useJfrogArtifactoryAppData.esm.js';
2
+
3
+ const isJfrogArtifactoryAvailable = (entity) => Boolean(
4
+ entity?.metadata.annotations?.[JFROG_ARTIFACTORY_ANNOTATION_IMAGE_NAME]
5
+ );
6
+
7
+ export { isJfrogArtifactoryAvailable };
8
+ //# sourceMappingURL=isJfrogArtifactoryAvailable.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isJfrogArtifactoryAvailable.esm.js","sources":["../src/isJfrogArtifactoryAvailable.ts"],"sourcesContent":["/*\n * Copyright 2026 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';\n\nimport { JFROG_ARTIFACTORY_ANNOTATION_IMAGE_NAME } from './components/useJfrogArtifactoryAppData';\n\n/**\n * Returns true when the entity has the JFrog Artifactory image-name annotation.\n *\n * @public\n */\nexport const isJfrogArtifactoryAvailable = (entity: Entity) =>\n Boolean(\n entity?.metadata.annotations?.[JFROG_ARTIFACTORY_ANNOTATION_IMAGE_NAME],\n );\n"],"names":[],"mappings":";;AAwBO,MAAM,2BAAA,GAA8B,CAAC,MAAA,KAC1C,OAAA;AAAA,EACE,MAAA,EAAQ,QAAA,CAAS,WAAA,GAAc,uCAAuC;AACxE;;;;"}
@@ -0,0 +1,23 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
3
+ export { i as isJfrogArtifactoryAvailable } from './types/isJfrogArtifactoryAvailable.d-DsS_zPAm.js';
4
+ import '@backstage/catalog-model';
5
+
6
+ /**
7
+ * JFrog Artifactory plugin (legacy frontend system)
8
+ *
9
+ * @public
10
+ * @remarks Prefer the default export from the package root for the new frontend system.
11
+ */
12
+ declare const jfrogArtifactoryPlugin: _backstage_core_plugin_api.BackstagePlugin<{
13
+ root: _backstage_core_plugin_api.RouteRef<undefined>;
14
+ }, {}, {}>;
15
+ /**
16
+ * JFrog Artifactory page (legacy frontend system)
17
+ *
18
+ * @public
19
+ * @remarks Prefer the default export from the package root for the new frontend system.
20
+ */
21
+ declare const JfrogArtifactoryPage: () => react_jsx_runtime.JSX.Element;
22
+
23
+ export { JfrogArtifactoryPage, jfrogArtifactoryPlugin };
@@ -0,0 +1,35 @@
1
+ import { createPlugin, createApiFactory, identityApiRef, configApiRef, discoveryApiRef, createComponentExtension } from '@backstage/core-plugin-api';
2
+ import { JfrogArtifactoryApiClient, jfrogArtifactoryApiRef } from './api/index.esm.js';
3
+ import { rootRouteRef } from './routes.esm.js';
4
+ export { isJfrogArtifactoryAvailable } from './isJfrogArtifactoryAvailable.esm.js';
5
+
6
+ const jfrogArtifactoryPlugin = createPlugin({
7
+ id: "jfrog-artifactory",
8
+ routes: {
9
+ root: rootRouteRef
10
+ },
11
+ apis: [
12
+ createApiFactory({
13
+ api: jfrogArtifactoryApiRef,
14
+ deps: {
15
+ discoveryApi: discoveryApiRef,
16
+ configApi: configApiRef,
17
+ identityApi: identityApiRef
18
+ },
19
+ factory: ({ discoveryApi, configApi, identityApi }) => new JfrogArtifactoryApiClient({ discoveryApi, configApi, identityApi })
20
+ })
21
+ ]
22
+ });
23
+ const JfrogArtifactoryPage = jfrogArtifactoryPlugin.provide(
24
+ createComponentExtension({
25
+ name: "JfrogArtifactoryPage",
26
+ component: {
27
+ lazy: () => import('./components/JfrogArtifactoryDashboardPage/index.esm.js').then(
28
+ (m) => m.JfrogArtifactoryDashboardPage
29
+ )
30
+ }
31
+ })
32
+ );
33
+
34
+ export { JfrogArtifactoryPage, jfrogArtifactoryPlugin };
35
+ //# sourceMappingURL=legacy.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"legacy.esm.js","sources":["../src/legacy.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\n/**\n * Legacy frontend system API surface for the JFrog Artifactory plugin.\n *\n * @packageDocumentation\n */\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 { rootRouteRef } from './routes';\n\n/**\n * JFrog Artifactory plugin (legacy frontend system)\n *\n * @public\n * @remarks Prefer the default export from the package root for the new frontend system.\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 * JFrog Artifactory page (legacy frontend system)\n *\n * @public\n * @remarks Prefer the default export from the package root for the new frontend system.\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 { isJfrogArtifactoryAvailable } from './isJfrogArtifactoryAvailable';\n"],"names":[],"mappings":";;;;;AAuCO,MAAM,yBAAyB,YAAA,CAAa;AAAA,EACjD,EAAA,EAAI,mBAAA;AAAA,EACJ,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM;AAAA,GACR;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,gBAAA,CAAiB;AAAA,MACf,GAAA,EAAK,sBAAA;AAAA,MACL,IAAA,EAAM;AAAA,QACJ,YAAA,EAAc,eAAA;AAAA,QACd,SAAA,EAAW,YAAA;AAAA,QACX,WAAA,EAAa;AAAA,OACf;AAAA,MACA,OAAA,EAAS,CAAC,EAAE,YAAA,EAAc,SAAA,EAAW,WAAA,EAAY,KAC/C,IAAI,yBAAA,CAA0B,EAAE,YAAA,EAAc,SAAA,EAAW,aAAa;AAAA,KACzE;AAAA;AAEL,CAAC;AAQM,MAAM,uBAAuB,sBAAA,CAAuB,OAAA;AAAA,EACzD,wBAAA,CAAyB;AAAA,IACvB,IAAA,EAAM,sBAAA;AAAA,IACN,SAAA,EAAW;AAAA,MACT,IAAA,EAAM,MACJ,OAAO,yDAA4C,CAAA,CAAE,IAAA;AAAA,QACnD,OAAK,CAAA,CAAE;AAAA;AACT;AACJ,GACD;AACH;;;;"}
@@ -1,38 +1,40 @@
1
- import { createPlugin, createApiFactory, identityApiRef, configApiRef, discoveryApiRef, createComponentExtension } from '@backstage/core-plugin-api';
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { ApiBlueprint, identityApiRef, configApiRef, discoveryApiRef, createFrontendPlugin } from '@backstage/frontend-plugin-api';
3
+ import { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';
2
4
  import { JfrogArtifactoryApiClient, jfrogArtifactoryApiRef } from './api/index.esm.js';
3
- import { JFROG_ARTIFACTORY_ANNOTATION_IMAGE_NAME } from './components/useJfrogArtifactoryAppData.esm.js';
5
+ import { isJfrogArtifactoryAvailable } from './isJfrogArtifactoryAvailable.esm.js';
4
6
  import { rootRouteRef } from './routes.esm.js';
5
7
 
6
- const jfrogArtifactoryPlugin = createPlugin({
7
- id: "jfrog-artifactory",
8
+ const jfrogArtifactoryApi = ApiBlueprint.make({
9
+ name: "jfrog-artifactory",
10
+ params: (defineParams) => defineParams({
11
+ api: jfrogArtifactoryApiRef,
12
+ deps: {
13
+ discoveryApi: discoveryApiRef,
14
+ configApi: configApiRef,
15
+ identityApi: identityApiRef
16
+ },
17
+ factory: ({ discoveryApi, configApi, identityApi }) => new JfrogArtifactoryApiClient({ discoveryApi, configApi, identityApi })
18
+ })
19
+ });
20
+ const jfrogArtifactoryEntityContent = EntityContentBlueprint.make({
21
+ name: "jfrog-artifactory",
22
+ params: {
23
+ path: "/jfrog-artifactory",
24
+ title: "Jfrog Artifactory",
25
+ routeRef: rootRouteRef,
26
+ filter: isJfrogArtifactoryAvailable,
27
+ loader: () => import('./components/JfrogArtifactoryDashboardPage/index.esm.js').then((m) => /* @__PURE__ */ jsx(m.JfrogArtifactoryDashboardPage, {}))
28
+ }
29
+ });
30
+ const jfrogArtifactoryPlugin = createFrontendPlugin({
31
+ pluginId: "jfrog-artifactory",
32
+ info: { packageJson: () => import('./plugins/jfrog-artifactory/package.json.esm.js') },
33
+ extensions: [jfrogArtifactoryApi, jfrogArtifactoryEntityContent],
8
34
  routes: {
9
35
  root: rootRouteRef
10
- },
11
- apis: [
12
- createApiFactory({
13
- api: jfrogArtifactoryApiRef,
14
- deps: {
15
- discoveryApi: discoveryApiRef,
16
- configApi: configApiRef,
17
- identityApi: identityApiRef
18
- },
19
- factory: ({ discoveryApi, configApi, identityApi }) => new JfrogArtifactoryApiClient({ discoveryApi, configApi, identityApi })
20
- })
21
- ]
36
+ }
22
37
  });
23
- const JfrogArtifactoryPage = jfrogArtifactoryPlugin.provide(
24
- createComponentExtension({
25
- name: "JfrogArtifactoryPage",
26
- component: {
27
- lazy: () => import('./components/JfrogArtifactoryDashboardPage/index.esm.js').then(
28
- (m) => m.JfrogArtifactoryDashboardPage
29
- )
30
- }
31
- })
32
- );
33
- const isJfrogArtifactoryAvailable = (entity) => Boolean(
34
- entity?.metadata.annotations?.[JFROG_ARTIFACTORY_ANNOTATION_IMAGE_NAME]
35
- );
36
38
 
37
- export { JfrogArtifactoryPage, isJfrogArtifactoryAvailable, jfrogArtifactoryPlugin };
39
+ export { jfrogArtifactoryPlugin as default };
38
40
  //# sourceMappingURL=plugin.esm.js.map
@@ -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\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,EAAA,EAAI,mBAAA;AAAA,EACJ,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM;AAAA,GACR;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,gBAAA,CAAiB;AAAA,MACf,GAAA,EAAK,sBAAA;AAAA,MACL,IAAA,EAAM;AAAA,QACJ,YAAA,EAAc,eAAA;AAAA,QACd,SAAA,EAAW,YAAA;AAAA,QACX,WAAA,EAAa;AAAA,OACf;AAAA,MACA,OAAA,EAAS,CAAC,EAAE,YAAA,EAAc,SAAA,EAAW,WAAA,EAAY,KAC/C,IAAI,yBAAA,CAA0B,EAAE,YAAA,EAAc,SAAA,EAAW,aAAa;AAAA,KACzE;AAAA;AAEL,CAAC;AAKM,MAAM,uBAAuB,sBAAA,CAAuB,OAAA;AAAA,EACzD,wBAAA,CAAyB;AAAA,IACvB,IAAA,EAAM,sBAAA;AAAA,IACN,SAAA,EAAW;AAAA,MACT,IAAA,EAAM,MACJ,OAAO,yDAA4C,CAAA,CAAE,IAAA;AAAA,QACnD,OAAK,CAAA,CAAE;AAAA;AACT;AACJ,GACD;AACH;AAKO,MAAM,2BAAA,GAA8B,CAAC,MAAA,KAC1C,OAAA;AAAA,EACE,MAAA,EAAQ,QAAA,CAAS,WAAA,GAAc,uCAAuC;AACxE;;;;"}
1
+ {"version":3,"file":"plugin.esm.js","sources":["../src/plugin.tsx"],"sourcesContent":["/*\n * Copyright 2026 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 {\n ApiBlueprint,\n configApiRef,\n createFrontendPlugin,\n discoveryApiRef,\n identityApiRef,\n type FrontendPlugin,\n} from '@backstage/frontend-plugin-api';\nimport { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';\n\nimport { JfrogArtifactoryApiClient, jfrogArtifactoryApiRef } from './api';\nimport { isJfrogArtifactoryAvailable } from './isJfrogArtifactoryAvailable';\nimport { rootRouteRef } from './routes';\n\nconst jfrogArtifactoryApi = ApiBlueprint.make({\n name: 'jfrog-artifactory',\n params: defineParams =>\n defineParams({\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\nconst jfrogArtifactoryEntityContent = EntityContentBlueprint.make({\n name: 'jfrog-artifactory',\n params: {\n path: '/jfrog-artifactory',\n title: 'Jfrog Artifactory',\n routeRef: rootRouteRef,\n filter: isJfrogArtifactoryAvailable,\n loader: () =>\n import('./components/JfrogArtifactoryDashboardPage').then(m => (\n <m.JfrogArtifactoryDashboardPage />\n )),\n },\n});\n\n/**\n * JFrog Artifactory plugin for the New Frontend System.\n *\n * @public\n */\nconst jfrogArtifactoryPlugin: FrontendPlugin = createFrontendPlugin({\n pluginId: 'jfrog-artifactory',\n info: { packageJson: () => import('../package.json') },\n extensions: [jfrogArtifactoryApi, jfrogArtifactoryEntityContent],\n routes: {\n root: rootRouteRef,\n },\n});\n\nexport default jfrogArtifactoryPlugin;\n"],"names":[],"mappings":";;;;;;;AA6BA,MAAM,mBAAA,GAAsB,aAAa,IAAA,CAAK;AAAA,EAC5C,IAAA,EAAM,mBAAA;AAAA,EACN,MAAA,EAAQ,kBACN,YAAA,CAAa;AAAA,IACX,GAAA,EAAK,sBAAA;AAAA,IACL,IAAA,EAAM;AAAA,MACJ,YAAA,EAAc,eAAA;AAAA,MACd,SAAA,EAAW,YAAA;AAAA,MACX,WAAA,EAAa;AAAA,KACf;AAAA,IACA,OAAA,EAAS,CAAC,EAAE,YAAA,EAAc,SAAA,EAAW,WAAA,EAAY,KAC/C,IAAI,yBAAA,CAA0B,EAAE,YAAA,EAAc,SAAA,EAAW,aAAa;AAAA,GACzE;AACL,CAAC,CAAA;AAED,MAAM,6BAAA,GAAgC,uBAAuB,IAAA,CAAK;AAAA,EAChE,IAAA,EAAM,mBAAA;AAAA,EACN,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,oBAAA;AAAA,IACN,KAAA,EAAO,mBAAA;AAAA,IACP,QAAA,EAAU,YAAA;AAAA,IACV,MAAA,EAAQ,2BAAA;AAAA,IACR,MAAA,EAAQ,MACN,OAAO,yDAA4C,CAAA,CAAE,IAAA,CAAK,CAAA,CAAA,qBACxD,GAAA,CAAC,CAAA,CAAE,6BAAA,EAAF,EAAgC,CAClC;AAAA;AAEP,CAAC,CAAA;AAOD,MAAM,yBAAyC,oBAAA,CAAqB;AAAA,EAClE,QAAA,EAAU,mBAAA;AAAA,EACV,MAAM,EAAE,WAAA,EAAa,MAAM,OAAO,iDAAiB,CAAA,EAAE;AAAA,EACrD,UAAA,EAAY,CAAC,mBAAA,EAAqB,6BAA6B,CAAA;AAAA,EAC/D,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM;AAAA;AAEV,CAAC;;;;"}
@@ -0,0 +1,136 @@
1
+ var name = "@backstage-community/plugin-jfrog-artifactory";
2
+ var version = "2.0.1";
3
+ var main = "src/index.ts";
4
+ var types = "src/index.ts";
5
+ var license = "Apache-2.0";
6
+ var publishConfig = {
7
+ access: "public"
8
+ };
9
+ var backstage = {
10
+ role: "frontend-plugin",
11
+ pluginId: "jfrog-artifactory",
12
+ pluginPackage: "@backstage-community/plugin-jfrog-artifactory",
13
+ pluginPackages: [
14
+ "@backstage-community/plugin-jfrog-artifactory"
15
+ ]
16
+ };
17
+ var exports$1 = {
18
+ ".": "./src/index.ts",
19
+ "./alpha": "./src/alpha.ts",
20
+ "./legacy": "./src/legacy.ts",
21
+ "./translations": "./src/translations/index.ts",
22
+ "./package.json": "./package.json"
23
+ };
24
+ var typesVersions = {
25
+ "*": {
26
+ alpha: [
27
+ "src/alpha.ts"
28
+ ],
29
+ legacy: [
30
+ "src/legacy.ts"
31
+ ],
32
+ translations: [
33
+ "src/translations/index.ts"
34
+ ],
35
+ "package.json": [
36
+ "package.json"
37
+ ]
38
+ }
39
+ };
40
+ var sideEffects = false;
41
+ var scripts = {
42
+ build: "backstage-cli package build",
43
+ clean: "backstage-cli package clean",
44
+ lint: "backstage-cli package lint",
45
+ postpack: "backstage-cli package postpack",
46
+ prepack: "backstage-cli package prepack",
47
+ start: "backstage-cli package start",
48
+ "start:legacy": "backstage-cli package start --entrypoint dev/legacy",
49
+ test: "backstage-cli package test --passWithNoTests --coverage",
50
+ tsc: "tsc"
51
+ };
52
+ var dependencies = {
53
+ "@backstage/catalog-model": "^1.10.0",
54
+ "@backstage/core-components": "^0.18.13",
55
+ "@backstage/core-plugin-api": "^1.12.9",
56
+ "@backstage/frontend-plugin-api": "^0.18.0",
57
+ "@backstage/plugin-app-react": "^0.2.6",
58
+ "@backstage/plugin-catalog-react": "^3.2.2",
59
+ "@backstage/ui": "^0.17.1",
60
+ filesize: "^11.0.0",
61
+ luxon: "^3.6.1",
62
+ "react-use": "^17.4.0"
63
+ };
64
+ var peerDependencies = {
65
+ react: "^16.13.1 || ^17.0.0 || ^18.0.0",
66
+ "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0"
67
+ };
68
+ var devDependencies = {
69
+ "@axe-core/playwright": "^4.11.0",
70
+ "@backstage/catalog-client": "^1.16.1",
71
+ "@backstage/cli": "^0.36.5",
72
+ "@backstage/dev-utils": "^1.1.26",
73
+ "@backstage/frontend-defaults": "^0.5.5",
74
+ "@backstage/plugin-catalog": "^2.0.8",
75
+ "@backstage/test-utils": "^1.7.21",
76
+ "@playwright/test": "1.63.0",
77
+ "@testing-library/dom": "^10.4.1",
78
+ "@testing-library/jest-dom": "^6.9.1",
79
+ "@testing-library/react": "^16.3.2",
80
+ "@types/luxon": "^3",
81
+ "@types/react": "^18.2.58",
82
+ "@types/react-dom": "^18.2.19",
83
+ "cross-fetch": "4.1.0",
84
+ "react-router-dom": "^6.26.2"
85
+ };
86
+ var files = [
87
+ "dist",
88
+ "config.d.ts",
89
+ "app-config.yaml"
90
+ ];
91
+ var scalprum = {
92
+ name: "backstage-community.plugin-jfrog-artifactory",
93
+ exposedModules: {
94
+ PluginRoot: "./src/index.ts",
95
+ Legacy: "./src/legacy.ts",
96
+ Alpha: "./src/alpha.ts"
97
+ }
98
+ };
99
+ var configSchema = "config.d.ts";
100
+ var repository = {
101
+ type: "git",
102
+ url: "https://github.com/backstage/community-plugins",
103
+ directory: "workspaces/jfrog-artifactory/plugins/jfrog-artifactory"
104
+ };
105
+ var keywords = [
106
+ "backstage",
107
+ "plugin"
108
+ ];
109
+ var bugs = "https://github.com/backstage/community-plugins/issues";
110
+ var author = "Red Hat";
111
+ var _package = {
112
+ name: name,
113
+ version: version,
114
+ main: main,
115
+ types: types,
116
+ license: license,
117
+ publishConfig: publishConfig,
118
+ backstage: backstage,
119
+ exports: exports$1,
120
+ typesVersions: typesVersions,
121
+ sideEffects: sideEffects,
122
+ scripts: scripts,
123
+ dependencies: dependencies,
124
+ peerDependencies: peerDependencies,
125
+ devDependencies: devDependencies,
126
+ files: files,
127
+ scalprum: scalprum,
128
+ configSchema: configSchema,
129
+ repository: repository,
130
+ keywords: keywords,
131
+ bugs: bugs,
132
+ author: author
133
+ };
134
+
135
+ export { author, backstage, bugs, configSchema, _package as default, dependencies, devDependencies, exports$1 as exports, files, keywords, license, main, name, peerDependencies, publishConfig, repository, scalprum, scripts, sideEffects, types, typesVersions, version };
136
+ //# sourceMappingURL=package.json.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"package.json.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,35 @@
1
+ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
2
+
3
+ /**
4
+ * Translation reference for the JFrog Artifactory plugin.
5
+ * @alpha
6
+ */
7
+ declare const jfrogArtifactoryTranslationRef: _backstage_frontend_plugin_api.TranslationRef<"plugin.jfrog-artifactory", {
8
+ readonly "page.title": string;
9
+ readonly "table.searchPlaceholder": string;
10
+ readonly "table.pagination.showResults": string;
11
+ readonly "table.pagination.rangeLabel": string;
12
+ readonly "table.columns.version": string;
13
+ readonly "table.columns.repositories": string;
14
+ readonly "table.columns.manifest": string;
15
+ readonly "table.columns.modified": string;
16
+ readonly "table.columns.size": string;
17
+ readonly "table.emptyContent.message": string;
18
+ readonly "table.emptyContent.learnMore": string;
19
+ readonly "manifest.sha256": string;
20
+ }>;
21
+
22
+ /**
23
+ * Translation resources for the JFrog Artifactory plugin.
24
+ * @alpha
25
+ */
26
+ declare const jfrogArtifactoryTranslations: _backstage_frontend_plugin_api.TranslationResource<"plugin.jfrog-artifactory">;
27
+
28
+ /**
29
+ * App module that automatically registers the JFrog Artifactory plugin translations.
30
+ *
31
+ * @public
32
+ */
33
+ declare const jfrogArtifactoryTranslationsModule: _backstage_frontend_plugin_api.FrontendModule;
34
+
35
+ export { jfrogArtifactoryTranslationsModule as default, jfrogArtifactoryTranslationRef, jfrogArtifactoryTranslations, jfrogArtifactoryTranslationsModule };
@@ -0,0 +1,28 @@
1
+ import { createTranslationResource, createFrontendModule } from '@backstage/frontend-plugin-api';
2
+ import { TranslationBlueprint } from '@backstage/plugin-app-react';
3
+ import { jfrogArtifactoryTranslationRef } from './translations/ref.esm.js';
4
+
5
+ const jfrogArtifactoryTranslations = createTranslationResource({
6
+ ref: jfrogArtifactoryTranslationRef,
7
+ translations: {
8
+ de: () => import('./translations/de.esm.js'),
9
+ fr: () => import('./translations/fr.esm.js'),
10
+ it: () => import('./translations/it.esm.js'),
11
+ es: () => import('./translations/es.esm.js'),
12
+ ja: () => import('./translations/ja.esm.js')
13
+ }
14
+ });
15
+ const jfrogArtifactoryTranslationsModule = createFrontendModule({
16
+ pluginId: "app",
17
+ extensions: [
18
+ TranslationBlueprint.make({
19
+ name: "jfrog-artifactory-translations",
20
+ params: {
21
+ resource: jfrogArtifactoryTranslations
22
+ }
23
+ })
24
+ ]
25
+ });
26
+
27
+ export { jfrogArtifactoryTranslationsModule as default, jfrogArtifactoryTranslationRef, jfrogArtifactoryTranslations, jfrogArtifactoryTranslationsModule };
28
+ //# sourceMappingURL=translations.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translations.esm.js","sources":["../src/translations/index.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 {\n createFrontendModule,\n createTranslationResource,\n} from '@backstage/frontend-plugin-api';\nimport { TranslationBlueprint } from '@backstage/plugin-app-react';\nimport { jfrogArtifactoryTranslationRef } from './ref';\n\n/**\n * Translation resources for the JFrog Artifactory plugin.\n * @alpha\n */\nexport const jfrogArtifactoryTranslations = createTranslationResource({\n ref: jfrogArtifactoryTranslationRef,\n translations: {\n de: () => import('./de'),\n fr: () => import('./fr'),\n it: () => import('./it'),\n es: () => import('./es'),\n ja: () => import('./ja'),\n },\n});\n\nexport { jfrogArtifactoryTranslationRef };\n\n/**\n * App module that automatically registers the JFrog Artifactory plugin translations.\n *\n * @public\n */\nexport const jfrogArtifactoryTranslationsModule = createFrontendModule({\n pluginId: 'app',\n extensions: [\n TranslationBlueprint.make({\n name: 'jfrog-artifactory-translations',\n params: {\n resource: jfrogArtifactoryTranslations,\n },\n }),\n ],\n});\n\nexport default jfrogArtifactoryTranslationsModule;\n"],"names":[],"mappings":";;;;AA0BO,MAAM,+BAA+B,yBAAA,CAA0B;AAAA,EACpE,GAAA,EAAK,8BAAA;AAAA,EACL,YAAA,EAAc;AAAA,IACZ,EAAA,EAAI,MAAM,OAAO,0BAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,0BAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,0BAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,0BAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,0BAAM;AAAA;AAE3B,CAAC;AASM,MAAM,qCAAqC,oBAAA,CAAqB;AAAA,EACrE,QAAA,EAAU,KAAA;AAAA,EACV,UAAA,EAAY;AAAA,IACV,qBAAqB,IAAA,CAAK;AAAA,MACxB,IAAA,EAAM,gCAAA;AAAA,MACN,MAAA,EAAQ;AAAA,QACN,QAAA,EAAU;AAAA;AACZ,KACD;AAAA;AAEL,CAAC;;;;"}
@@ -0,0 +1,10 @@
1
+ import { Entity } from '@backstage/catalog-model';
2
+
3
+ /**
4
+ * Returns true when the entity has the JFrog Artifactory image-name annotation.
5
+ *
6
+ * @public
7
+ */
8
+ declare const isJfrogArtifactoryAvailable: (entity: Entity) => boolean;
9
+
10
+ export { isJfrogArtifactoryAvailable as i };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-jfrog-artifactory",
3
- "version": "1.31.1",
3
+ "version": "2.0.1",
4
4
  "main": "./dist/index.esm.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "Apache-2.0",
@@ -13,10 +13,15 @@
13
13
  "pluginPackage": "@backstage-community/plugin-jfrog-artifactory",
14
14
  "pluginPackages": [
15
15
  "@backstage-community/plugin-jfrog-artifactory"
16
- ]
16
+ ],
17
+ "features": {
18
+ ".": "@backstage/FrontendPlugin",
19
+ "./translations": "@backstage/FrontendModule"
20
+ }
17
21
  },
18
22
  "exports": {
19
23
  ".": {
24
+ "backstage": "@backstage/FrontendPlugin",
20
25
  "import": "./dist/index.esm.js",
21
26
  "types": "./dist/index.d.ts",
22
27
  "default": "./dist/index.esm.js"
@@ -26,6 +31,17 @@
26
31
  "types": "./dist/alpha.d.ts",
27
32
  "default": "./dist/alpha.esm.js"
28
33
  },
34
+ "./legacy": {
35
+ "import": "./dist/legacy.esm.js",
36
+ "types": "./dist/legacy.d.ts",
37
+ "default": "./dist/legacy.esm.js"
38
+ },
39
+ "./translations": {
40
+ "backstage": "@backstage/FrontendModule",
41
+ "import": "./dist/translations.esm.js",
42
+ "types": "./dist/translations.d.ts",
43
+ "default": "./dist/translations.esm.js"
44
+ },
29
45
  "./package.json": "./package.json"
30
46
  },
31
47
  "typesVersions": {
@@ -33,6 +49,12 @@
33
49
  "alpha": [
34
50
  "dist/alpha.d.ts"
35
51
  ],
52
+ "legacy": [
53
+ "dist/legacy.d.ts"
54
+ ],
55
+ "translations": [
56
+ "dist/translations.d.ts"
57
+ ],
36
58
  "package.json": [
37
59
  "package.json"
38
60
  ]
@@ -46,6 +68,7 @@
46
68
  "postpack": "backstage-cli package postpack",
47
69
  "prepack": "backstage-cli package prepack",
48
70
  "start": "backstage-cli package start",
71
+ "start:legacy": "backstage-cli package start --entrypoint dev/legacy",
49
72
  "test": "backstage-cli package test --passWithNoTests --coverage",
50
73
  "tsc": "tsc"
51
74
  },
@@ -53,6 +76,8 @@
53
76
  "@backstage/catalog-model": "^1.10.0",
54
77
  "@backstage/core-components": "^0.18.13",
55
78
  "@backstage/core-plugin-api": "^1.12.9",
79
+ "@backstage/frontend-plugin-api": "^0.18.0",
80
+ "@backstage/plugin-app-react": "^0.2.6",
56
81
  "@backstage/plugin-catalog-react": "^3.2.2",
57
82
  "@backstage/ui": "^0.17.1",
58
83
  "filesize": "^11.0.0",
@@ -65,14 +90,19 @@
65
90
  },
66
91
  "devDependencies": {
67
92
  "@axe-core/playwright": "^4.11.0",
93
+ "@backstage/catalog-client": "^1.16.1",
68
94
  "@backstage/cli": "^0.36.5",
69
95
  "@backstage/dev-utils": "^1.1.26",
96
+ "@backstage/frontend-defaults": "^0.5.5",
97
+ "@backstage/plugin-catalog": "^2.0.8",
70
98
  "@backstage/test-utils": "^1.7.21",
71
- "@playwright/test": "1.62.1",
99
+ "@playwright/test": "1.63.0",
72
100
  "@testing-library/dom": "^10.4.1",
73
101
  "@testing-library/jest-dom": "^6.9.1",
74
102
  "@testing-library/react": "^16.3.2",
75
103
  "@types/luxon": "^3",
104
+ "@types/react": "^18.2.58",
105
+ "@types/react-dom": "^18.2.19",
76
106
  "cross-fetch": "4.1.0",
77
107
  "react-router-dom": "^6.26.2"
78
108
  },
@@ -81,6 +111,14 @@
81
111
  "config.schema.json",
82
112
  "app-config.yaml"
83
113
  ],
114
+ "scalprum": {
115
+ "name": "backstage-community.plugin-jfrog-artifactory",
116
+ "exposedModules": {
117
+ "PluginRoot": "./src/index.ts",
118
+ "Legacy": "./src/legacy.ts",
119
+ "Alpha": "./src/alpha.ts"
120
+ }
121
+ },
84
122
  "configSchema": "config.schema.json",
85
123
  "repository": {
86
124
  "type": "git",
@@ -1,16 +0,0 @@
1
- import { createTranslationResource } from '@backstage/core-plugin-api/alpha';
2
- import { jfrogArtifactoryTranslationRef } from './ref.esm.js';
3
-
4
- const jfrogArtifactoryTranslations = createTranslationResource({
5
- ref: jfrogArtifactoryTranslationRef,
6
- translations: {
7
- de: () => import('./de.esm.js'),
8
- fr: () => import('./fr.esm.js'),
9
- it: () => import('./it.esm.js'),
10
- es: () => import('./es.esm.js'),
11
- ja: () => import('./ja.esm.js')
12
- }
13
- });
14
-
15
- export { jfrogArtifactoryTranslationRef, jfrogArtifactoryTranslations };
16
- //# sourceMappingURL=index.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.esm.js","sources":["../../src/translations/index.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 { createTranslationResource } from '@backstage/core-plugin-api/alpha';\nimport { jfrogArtifactoryTranslationRef } from './ref';\n\n/**\n * Translation resources for the JFrog Artifactory plugin.\n * @alpha\n */\nexport const jfrogArtifactoryTranslations = createTranslationResource({\n ref: jfrogArtifactoryTranslationRef,\n translations: {\n de: () => import('./de'),\n fr: () => import('./fr'),\n it: () => import('./it'),\n es: () => import('./es'),\n ja: () => import('./ja'),\n },\n});\n\nexport { jfrogArtifactoryTranslationRef };\n"],"names":[],"mappings":";;;AAsBO,MAAM,+BAA+B,yBAAA,CAA0B;AAAA,EACpE,GAAA,EAAK,8BAAA;AAAA,EACL,YAAA,EAAc;AAAA,IACZ,EAAA,EAAI,MAAM,OAAO,aAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,aAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,aAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,aAAM,CAAA;AAAA,IACvB,EAAA,EAAI,MAAM,OAAO,aAAM;AAAA;AAE3B,CAAC;;;;"}