@backstage-community/plugin-jfrog-artifactory 1.22.0 → 1.23.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 +6 -0
- package/dist/alpha.d.ts +27 -0
- package/dist/alpha.esm.js +3 -0
- package/dist/alpha.esm.js.map +1 -0
- package/dist/components/JfrogArtifactoryRepository/JfrogArtifactoryRepository.esm.js +15 -8
- package/dist/components/JfrogArtifactoryRepository/JfrogArtifactoryRepository.esm.js.map +1 -1
- package/dist/components/JfrogArtifactoryRepository/tableHeading.esm.js +7 -7
- package/dist/components/JfrogArtifactoryRepository/tableHeading.esm.js.map +1 -1
- package/dist/hooks/useTranslation.esm.js +10 -0
- package/dist/hooks/useTranslation.esm.js.map +1 -0
- package/dist/translations/de.esm.js +22 -0
- package/dist/translations/de.esm.js.map +1 -0
- package/dist/translations/es.esm.js +22 -0
- package/dist/translations/es.esm.js.map +1 -0
- package/dist/translations/fr.esm.js +22 -0
- package/dist/translations/fr.esm.js.map +1 -0
- package/dist/translations/index.esm.js +15 -0
- package/dist/translations/index.esm.js.map +1 -0
- package/dist/translations/it.esm.js +22 -0
- package/dist/translations/it.esm.js.map +1 -0
- package/dist/translations/ref.esm.js +32 -0
- package/dist/translations/ref.esm.js.map +1 -0
- package/package.json +27 -13
package/CHANGELOG.md
CHANGED
package/dist/alpha.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as _backstage_core_plugin_api_alpha from '@backstage/core-plugin-api/alpha';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Translation reference for the JFrog Artifactory plugin.
|
|
5
|
+
* @alpha
|
|
6
|
+
*/
|
|
7
|
+
declare const jfrogArtifactoryTranslationRef: _backstage_core_plugin_api_alpha.TranslationRef<"plugin.jfrog-artifactory", {
|
|
8
|
+
readonly "page.title": string;
|
|
9
|
+
readonly "table.searchPlaceholder": string;
|
|
10
|
+
readonly "table.labelRowsSelect": string;
|
|
11
|
+
readonly "table.columns.version": string;
|
|
12
|
+
readonly "table.columns.repositories": string;
|
|
13
|
+
readonly "table.columns.manifest": string;
|
|
14
|
+
readonly "table.columns.modified": string;
|
|
15
|
+
readonly "table.columns.size": string;
|
|
16
|
+
readonly "table.emptyContent.message": string;
|
|
17
|
+
readonly "table.emptyContent.learnMore": string;
|
|
18
|
+
readonly "manifest.sha256": string;
|
|
19
|
+
}>;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Translation resources for the JFrog Artifactory plugin.
|
|
23
|
+
* @alpha
|
|
24
|
+
*/
|
|
25
|
+
declare const jfrogArtifactoryTranslations: _backstage_core_plugin_api_alpha.TranslationResource<"plugin.jfrog-artifactory">;
|
|
26
|
+
|
|
27
|
+
export { jfrogArtifactoryTranslationRef, jfrogArtifactoryTranslations };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alpha.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
-
import { useState } from 'react';
|
|
2
|
+
import { useState, useMemo } from 'react';
|
|
3
3
|
import { useAsync } from 'react-use';
|
|
4
4
|
import { Progress, Table, Link } from '@backstage/core-components';
|
|
5
5
|
import { useApi } from '@backstage/core-plugin-api';
|
|
6
6
|
import { makeStyles, Box, Chip } from '@material-ui/core';
|
|
7
7
|
import { jfrogArtifactoryApiRef } from '../../api/index.esm.js';
|
|
8
|
-
import { useStyles,
|
|
8
|
+
import { useStyles, getColumns } from './tableHeading.esm.js';
|
|
9
9
|
import { formatByteSize, formatDate } from '../../utils.esm.js';
|
|
10
|
+
import { useTranslation } from '../../hooks/useTranslation.esm.js';
|
|
10
11
|
|
|
11
12
|
const useLocalStyles = makeStyles({
|
|
12
13
|
chip: {
|
|
@@ -22,13 +23,15 @@ function JfrogArtifactoryRepository({ image, target }) {
|
|
|
22
23
|
const jfrogArtifactoryClient = useApi(jfrogArtifactoryApiRef);
|
|
23
24
|
const classes = useStyles();
|
|
24
25
|
const localClasses = useLocalStyles();
|
|
26
|
+
const { t } = useTranslation();
|
|
25
27
|
const [edges, setEdges] = useState([]);
|
|
26
|
-
const titleprop =
|
|
28
|
+
const titleprop = t("page.title", { image });
|
|
27
29
|
const { loading } = useAsync(async () => {
|
|
28
30
|
const tagsResponse = await jfrogArtifactoryClient.getTags(image, target);
|
|
29
31
|
setEdges(tagsResponse.data.versions.edges);
|
|
30
32
|
return tagsResponse;
|
|
31
33
|
});
|
|
34
|
+
const columns = useMemo(() => getColumns(t), [t]);
|
|
32
35
|
if (loading) {
|
|
33
36
|
return /* @__PURE__ */ jsx(Progress, {});
|
|
34
37
|
}
|
|
@@ -39,7 +42,7 @@ function JfrogArtifactoryRepository({ image, target }) {
|
|
|
39
42
|
last_modified: formatDate(edge.node.modified),
|
|
40
43
|
size: formatByteSize(Number(edge.node.size)),
|
|
41
44
|
manifest_digest: /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", alignItems: "center" }, children: [
|
|
42
|
-
/* @__PURE__ */ jsx(Chip, { label: "sha256", className: localClasses.chip }),
|
|
45
|
+
/* @__PURE__ */ jsx(Chip, { label: t("manifest.sha256"), className: localClasses.chip }),
|
|
43
46
|
shortHash
|
|
44
47
|
] }),
|
|
45
48
|
repositories: `${edge.node.repos.length} | ${edge.node.repos.map((repo) => repo.name).join("| ")}`
|
|
@@ -53,10 +56,14 @@ function JfrogArtifactoryRepository({ image, target }) {
|
|
|
53
56
|
data,
|
|
54
57
|
columns,
|
|
55
58
|
emptyContent: /* @__PURE__ */ jsxs("div", { className: classes.empty, children: [
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
"."
|
|
59
|
-
] })
|
|
59
|
+
t("table.emptyContent.message"),
|
|
60
|
+
"\xA0",
|
|
61
|
+
/* @__PURE__ */ jsx(Link, { to: "https://backstage.io/", children: t("table.emptyContent.learnMore") })
|
|
62
|
+
] }),
|
|
63
|
+
localization: {
|
|
64
|
+
toolbar: { searchPlaceholder: t("table.searchPlaceholder") },
|
|
65
|
+
pagination: { labelRowsSelect: t("table.labelRowsSelect") }
|
|
66
|
+
}
|
|
60
67
|
}
|
|
61
68
|
) });
|
|
62
69
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JfrogArtifactoryRepository.esm.js","sources":["../../../src/components/JfrogArtifactoryRepository/JfrogArtifactoryRepository.tsx"],"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 { useState } from 'react';\nimport { useAsync } from 'react-use';\n\nimport { Link, Progress, Table } from '@backstage/core-components';\nimport { useApi } from '@backstage/core-plugin-api';\n\nimport { Box, Chip, makeStyles } from '@material-ui/core';\n\nimport { jfrogArtifactoryApiRef } from '../../api';\nimport { Edge } from '../../types';\nimport {
|
|
1
|
+
{"version":3,"file":"JfrogArtifactoryRepository.esm.js","sources":["../../../src/components/JfrogArtifactoryRepository/JfrogArtifactoryRepository.tsx"],"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 { useState, useMemo } from 'react';\nimport { useAsync } from 'react-use';\n\nimport { Link, Progress, Table } from '@backstage/core-components';\nimport { useApi } from '@backstage/core-plugin-api';\n\nimport { Box, Chip, makeStyles } from '@material-ui/core';\n\nimport { jfrogArtifactoryApiRef } from '../../api';\nimport { Edge } from '../../types';\nimport { getColumns, useStyles } from './tableHeading';\nimport { formatByteSize, formatDate } from '../../utils';\nimport { useTranslation } from '../../hooks/useTranslation';\n\nconst useLocalStyles = makeStyles({\n chip: {\n margin: 0,\n marginRight: '.2em',\n height: '1.5em',\n '& > span': {\n padding: '.3em',\n },\n },\n});\n\nexport function JfrogArtifactoryRepository({ image, target }: RepositoryProps) {\n const jfrogArtifactoryClient = useApi(jfrogArtifactoryApiRef);\n const classes = useStyles();\n const localClasses = useLocalStyles();\n const { t } = useTranslation();\n const [edges, setEdges] = useState<Edge[]>([]);\n const titleprop = t('page.title', { image } as Record<string, string>);\n\n const { loading } = useAsync(async () => {\n const tagsResponse = await jfrogArtifactoryClient.getTags(image, target);\n\n setEdges(tagsResponse.data.versions.edges);\n\n return tagsResponse;\n });\n\n const columns = useMemo(() => getColumns(t), [t]);\n\n if (loading) {\n return <Progress />;\n }\n\n const data = edges?.map((edge: Edge) => {\n const shortHash = edge.node.files\n .find(manifest => manifest.name === 'manifest.json')\n ?.sha256.substring(0, 12);\n return {\n name: edge.node.name,\n last_modified: formatDate(edge.node.modified),\n size: formatByteSize(Number(edge.node.size)),\n manifest_digest: (\n <Box sx={{ display: 'flex', alignItems: 'center' }}>\n <Chip label={t('manifest.sha256')} className={localClasses.chip} />\n {shortHash}\n </Box>\n ),\n repositories:\n `${edge.node.repos.length}` +\n ' | ' +\n `${edge.node.repos.map(repo => repo.name).join('| ')}`,\n };\n });\n\n return (\n <div style={{ border: '1px solid #ddd' }}>\n <Table\n title={titleprop}\n options={{ paging: true, padding: 'dense' }}\n data={data}\n columns={columns}\n emptyContent={\n <div className={classes.empty}>\n {t('table.emptyContent.message')} \n <Link to=\"https://backstage.io/\">\n {t('table.emptyContent.learnMore')}\n </Link>\n </div>\n }\n localization={{\n toolbar: { searchPlaceholder: t('table.searchPlaceholder') },\n pagination: { labelRowsSelect: t('table.labelRowsSelect') },\n }}\n />\n </div>\n );\n}\n\ninterface RepositoryProps {\n image: string;\n target?: string;\n}\n"],"names":[],"mappings":"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"}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import makeStyles from '@material-ui/core/styles/makeStyles';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const getColumns = (t) => [
|
|
4
4
|
{
|
|
5
|
-
title: "
|
|
5
|
+
title: t("table.columns.version"),
|
|
6
6
|
field: "name",
|
|
7
7
|
type: "string",
|
|
8
8
|
highlight: true
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
|
-
title: "
|
|
11
|
+
title: t("table.columns.repositories"),
|
|
12
12
|
field: "repositories",
|
|
13
13
|
type: "string"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
|
-
title: "
|
|
16
|
+
title: t("table.columns.manifest"),
|
|
17
17
|
field: "manifest_digest",
|
|
18
18
|
type: "string"
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
|
-
title: "
|
|
21
|
+
title: t("table.columns.modified"),
|
|
22
22
|
field: "last_modified",
|
|
23
23
|
type: "date"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
|
-
title: "
|
|
26
|
+
title: t("table.columns.size"),
|
|
27
27
|
field: "size",
|
|
28
28
|
type: "string"
|
|
29
29
|
}
|
|
@@ -36,5 +36,5 @@ const useStyles = makeStyles((theme) => ({
|
|
|
36
36
|
}
|
|
37
37
|
}));
|
|
38
38
|
|
|
39
|
-
export {
|
|
39
|
+
export { getColumns, useStyles };
|
|
40
40
|
//# sourceMappingURL=tableHeading.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tableHeading.esm.js","sources":["../../../src/components/JfrogArtifactoryRepository/tableHeading.tsx"],"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 { TableColumn } from '@backstage/core-components';\n\nimport makeStyles from '@material-ui/core/styles/makeStyles';\n\nexport const
|
|
1
|
+
{"version":3,"file":"tableHeading.esm.js","sources":["../../../src/components/JfrogArtifactoryRepository/tableHeading.tsx"],"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 { TableColumn } from '@backstage/core-components';\nimport { TranslationFunction } from '@backstage/core-plugin-api/alpha';\nimport { jfrogArtifactoryTranslationRef } from '../../translations';\n\nimport makeStyles from '@material-ui/core/styles/makeStyles';\n\nexport const getColumns = (\n t: TranslationFunction<typeof jfrogArtifactoryTranslationRef.T>,\n): TableColumn[] => [\n {\n title: t('table.columns.version'),\n field: 'name',\n type: 'string',\n highlight: true,\n },\n {\n title: t('table.columns.repositories'),\n field: 'repositories',\n type: 'string',\n },\n {\n title: t('table.columns.manifest'),\n field: 'manifest_digest',\n type: 'string',\n },\n {\n title: t('table.columns.modified'),\n field: 'last_modified',\n type: 'date',\n },\n {\n title: t('table.columns.size'),\n field: 'size',\n type: 'string',\n },\n];\n\nexport const useStyles = makeStyles(theme => ({\n empty: {\n padding: theme.spacing(2),\n display: 'flex',\n justifyContent: 'center',\n },\n}));\n"],"names":[],"mappings":";;AAqBa,MAAA,UAAA,GAAa,CACxB,CACkB,KAAA;AAAA,EAClB;AAAA,IACE,KAAA,EAAO,EAAE,uBAAuB,CAAA;AAAA,IAChC,KAAO,EAAA,MAAA;AAAA,IACP,IAAM,EAAA,QAAA;AAAA,IACN,SAAW,EAAA;AAAA,GACb;AAAA,EACA;AAAA,IACE,KAAA,EAAO,EAAE,4BAA4B,CAAA;AAAA,IACrC,KAAO,EAAA,cAAA;AAAA,IACP,IAAM,EAAA;AAAA,GACR;AAAA,EACA;AAAA,IACE,KAAA,EAAO,EAAE,wBAAwB,CAAA;AAAA,IACjC,KAAO,EAAA,iBAAA;AAAA,IACP,IAAM,EAAA;AAAA,GACR;AAAA,EACA;AAAA,IACE,KAAA,EAAO,EAAE,wBAAwB,CAAA;AAAA,IACjC,KAAO,EAAA,eAAA;AAAA,IACP,IAAM,EAAA;AAAA,GACR;AAAA,EACA;AAAA,IACE,KAAA,EAAO,EAAE,oBAAoB,CAAA;AAAA,IAC7B,KAAO,EAAA,MAAA;AAAA,IACP,IAAM,EAAA;AAAA;AAEV;AAEa,MAAA,SAAA,GAAY,WAAW,CAAU,KAAA,MAAA;AAAA,EAC5C,KAAO,EAAA;AAAA,IACL,OAAA,EAAS,KAAM,CAAA,OAAA,CAAQ,CAAC,CAAA;AAAA,IACxB,OAAS,EAAA,MAAA;AAAA,IACT,cAAgB,EAAA;AAAA;AAEpB,CAAE,CAAA;;;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
|
|
2
|
+
import '../translations/index.esm.js';
|
|
3
|
+
import { jfrogArtifactoryTranslationRef } from '../translations/ref.esm.js';
|
|
4
|
+
|
|
5
|
+
const useTranslation = () => {
|
|
6
|
+
return useTranslationRef(jfrogArtifactoryTranslationRef);
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export { useTranslation };
|
|
10
|
+
//# sourceMappingURL=useTranslation.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTranslation.esm.js","sources":["../../src/hooks/useTranslation.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 useTranslationRef,\n TranslationFunction,\n TranslationRef,\n} from '@backstage/core-plugin-api/alpha';\nimport { jfrogArtifactoryTranslationRef } from '../translations';\n\ntype JfrogArtifactoryMessages =\n typeof jfrogArtifactoryTranslationRef extends TranslationRef<\n string,\n infer TMessages extends { [x: string]: string }\n >\n ? TMessages\n : never;\n\n/**\n * @alpha\n */\nexport const useTranslation = (): {\n t: TranslationFunction<JfrogArtifactoryMessages>;\n} => {\n return useTranslationRef(jfrogArtifactoryTranslationRef);\n};\n"],"names":[],"mappings":";;;;AAiCO,MAAM,iBAAiB,MAEzB;AACH,EAAA,OAAO,kBAAkB,8BAA8B,CAAA;AACzD;;;;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createTranslationMessages } from '@backstage/core-plugin-api/alpha';
|
|
2
|
+
import { jfrogArtifactoryTranslationRef } from './ref.esm.js';
|
|
3
|
+
|
|
4
|
+
const jfrogArtifactoryTranslationDe = createTranslationMessages({
|
|
5
|
+
ref: jfrogArtifactoryTranslationRef,
|
|
6
|
+
messages: {
|
|
7
|
+
"page.title": "JFrog Artifactory Repository: {{image}}",
|
|
8
|
+
"table.searchPlaceholder": "Filtern",
|
|
9
|
+
"table.labelRowsSelect": "Zeilen",
|
|
10
|
+
"table.columns.version": "Version",
|
|
11
|
+
"table.columns.repositories": "Repositorys",
|
|
12
|
+
"table.columns.manifest": "Manifest",
|
|
13
|
+
"table.columns.modified": "Ge\xE4ndert",
|
|
14
|
+
"table.columns.size": "Gr\xF6\xDFe",
|
|
15
|
+
"table.emptyContent.message": "Noch keine Daten hinzugef\xFCgt,",
|
|
16
|
+
"table.emptyContent.learnMore": "erfahren Sie, wie Sie Daten hinzuf\xFCgen.",
|
|
17
|
+
"manifest.sha256": "sha256"
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
export { jfrogArtifactoryTranslationDe as default };
|
|
22
|
+
//# sourceMappingURL=de.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"de.esm.js","sources":["../../src/translations/de.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 { createTranslationMessages } from '@backstage/core-plugin-api/alpha';\nimport { jfrogArtifactoryTranslationRef } from './ref';\n\nconst jfrogArtifactoryTranslationDe = createTranslationMessages({\n ref: jfrogArtifactoryTranslationRef,\n messages: {\n 'page.title': 'JFrog Artifactory Repository: {{image}}',\n 'table.searchPlaceholder': 'Filtern',\n 'table.labelRowsSelect': 'Zeilen',\n 'table.columns.version': 'Version',\n 'table.columns.repositories': 'Repositorys',\n 'table.columns.manifest': 'Manifest',\n 'table.columns.modified': 'Geändert',\n 'table.columns.size': 'Größe',\n 'table.emptyContent.message': 'Noch keine Daten hinzugefügt,',\n 'table.emptyContent.learnMore': 'erfahren Sie, wie Sie Daten hinzufügen.',\n 'manifest.sha256': 'sha256',\n },\n});\n\nexport default jfrogArtifactoryTranslationDe;\n"],"names":[],"mappings":";;;AAkBA,MAAM,gCAAgC,yBAA0B,CAAA;AAAA,EAC9D,GAAK,EAAA,8BAAA;AAAA,EACL,QAAU,EAAA;AAAA,IACR,YAAc,EAAA,yCAAA;AAAA,IACd,yBAA2B,EAAA,SAAA;AAAA,IAC3B,uBAAyB,EAAA,QAAA;AAAA,IACzB,uBAAyB,EAAA,SAAA;AAAA,IACzB,4BAA8B,EAAA,aAAA;AAAA,IAC9B,wBAA0B,EAAA,UAAA;AAAA,IAC1B,wBAA0B,EAAA,aAAA;AAAA,IAC1B,oBAAsB,EAAA,aAAA;AAAA,IACtB,4BAA8B,EAAA,kCAAA;AAAA,IAC9B,8BAAgC,EAAA,4CAAA;AAAA,IAChC,iBAAmB,EAAA;AAAA;AAEvB,CAAC;;;;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createTranslationMessages } from '@backstage/core-plugin-api/alpha';
|
|
2
|
+
import { jfrogArtifactoryTranslationRef } from './ref.esm.js';
|
|
3
|
+
|
|
4
|
+
const jfrogArtifactoryTranslationEs = createTranslationMessages({
|
|
5
|
+
ref: jfrogArtifactoryTranslationRef,
|
|
6
|
+
messages: {
|
|
7
|
+
"page.title": "Repositorio JFrog Artifactory: {{image}}",
|
|
8
|
+
"table.searchPlaceholder": "Filtrar",
|
|
9
|
+
"table.labelRowsSelect": "Filas",
|
|
10
|
+
"table.columns.version": "Versi\xF3n",
|
|
11
|
+
"table.columns.repositories": "Repositorios",
|
|
12
|
+
"table.columns.manifest": "Manifiesto",
|
|
13
|
+
"table.columns.modified": "Modificado",
|
|
14
|
+
"table.columns.size": "Tama\xF1o",
|
|
15
|
+
"table.emptyContent.message": "A\xFAn no se han agregado datos,",
|
|
16
|
+
"table.emptyContent.learnMore": "aprenda c\xF3mo agregar datos.",
|
|
17
|
+
"manifest.sha256": "sha256"
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
export { jfrogArtifactoryTranslationEs as default };
|
|
22
|
+
//# sourceMappingURL=es.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es.esm.js","sources":["../../src/translations/es.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 { createTranslationMessages } from '@backstage/core-plugin-api/alpha';\nimport { jfrogArtifactoryTranslationRef } from './ref';\n\nconst jfrogArtifactoryTranslationEs = createTranslationMessages({\n ref: jfrogArtifactoryTranslationRef,\n messages: {\n 'page.title': 'Repositorio JFrog Artifactory: {{image}}',\n 'table.searchPlaceholder': 'Filtrar',\n 'table.labelRowsSelect': 'Filas',\n 'table.columns.version': 'Versión',\n 'table.columns.repositories': 'Repositorios',\n 'table.columns.manifest': 'Manifiesto',\n 'table.columns.modified': 'Modificado',\n 'table.columns.size': 'Tamaño',\n 'table.emptyContent.message': 'Aún no se han agregado datos,',\n 'table.emptyContent.learnMore': 'aprenda cómo agregar datos.',\n 'manifest.sha256': 'sha256',\n },\n});\n\nexport default jfrogArtifactoryTranslationEs;\n"],"names":[],"mappings":";;;AAkBA,MAAM,gCAAgC,yBAA0B,CAAA;AAAA,EAC9D,GAAK,EAAA,8BAAA;AAAA,EACL,QAAU,EAAA;AAAA,IACR,YAAc,EAAA,0CAAA;AAAA,IACd,yBAA2B,EAAA,SAAA;AAAA,IAC3B,uBAAyB,EAAA,OAAA;AAAA,IACzB,uBAAyB,EAAA,YAAA;AAAA,IACzB,4BAA8B,EAAA,cAAA;AAAA,IAC9B,wBAA0B,EAAA,YAAA;AAAA,IAC1B,wBAA0B,EAAA,YAAA;AAAA,IAC1B,oBAAsB,EAAA,WAAA;AAAA,IACtB,4BAA8B,EAAA,kCAAA;AAAA,IAC9B,8BAAgC,EAAA,gCAAA;AAAA,IAChC,iBAAmB,EAAA;AAAA;AAEvB,CAAC;;;;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createTranslationMessages } from '@backstage/core-plugin-api/alpha';
|
|
2
|
+
import { jfrogArtifactoryTranslationRef } from './ref.esm.js';
|
|
3
|
+
|
|
4
|
+
const jfrogArtifactoryTranslationFr = createTranslationMessages({
|
|
5
|
+
ref: jfrogArtifactoryTranslationRef,
|
|
6
|
+
messages: {
|
|
7
|
+
"page.title": "D\xE9p\xF4t JFrog Artifactory : {{image}}",
|
|
8
|
+
"table.searchPlaceholder": "Filtrer",
|
|
9
|
+
"table.labelRowsSelect": "Lignes",
|
|
10
|
+
"table.columns.version": "Version",
|
|
11
|
+
"table.columns.repositories": "D\xE9p\xF4ts",
|
|
12
|
+
"table.columns.manifest": "Manifeste",
|
|
13
|
+
"table.columns.modified": "Modifi\xE9",
|
|
14
|
+
"table.columns.size": "Taille",
|
|
15
|
+
"table.emptyContent.message": "Aucune donn\xE9e n'a encore \xE9t\xE9 ajout\xE9e,",
|
|
16
|
+
"table.emptyContent.learnMore": "apprenez \xE0 ajouter des donn\xE9es.",
|
|
17
|
+
"manifest.sha256": "sha256"
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
export { jfrogArtifactoryTranslationFr as default };
|
|
22
|
+
//# sourceMappingURL=fr.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fr.esm.js","sources":["../../src/translations/fr.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 { createTranslationMessages } from '@backstage/core-plugin-api/alpha';\nimport { jfrogArtifactoryTranslationRef } from './ref';\n\nconst jfrogArtifactoryTranslationFr = createTranslationMessages({\n ref: jfrogArtifactoryTranslationRef,\n messages: {\n 'page.title': 'Dépôt JFrog Artifactory : {{image}}',\n 'table.searchPlaceholder': 'Filtrer',\n 'table.labelRowsSelect': 'Lignes',\n 'table.columns.version': 'Version',\n 'table.columns.repositories': 'Dépôts',\n 'table.columns.manifest': 'Manifeste',\n 'table.columns.modified': 'Modifié',\n 'table.columns.size': 'Taille',\n 'table.emptyContent.message': \"Aucune donnée n'a encore été ajoutée,\",\n 'table.emptyContent.learnMore': 'apprenez à ajouter des données.',\n 'manifest.sha256': 'sha256',\n },\n});\n\nexport default jfrogArtifactoryTranslationFr;\n"],"names":[],"mappings":";;;AAkBA,MAAM,gCAAgC,yBAA0B,CAAA;AAAA,EAC9D,GAAK,EAAA,8BAAA;AAAA,EACL,QAAU,EAAA;AAAA,IACR,YAAc,EAAA,2CAAA;AAAA,IACd,yBAA2B,EAAA,SAAA;AAAA,IAC3B,uBAAyB,EAAA,QAAA;AAAA,IACzB,uBAAyB,EAAA,SAAA;AAAA,IACzB,4BAA8B,EAAA,cAAA;AAAA,IAC9B,wBAA0B,EAAA,WAAA;AAAA,IAC1B,wBAA0B,EAAA,YAAA;AAAA,IAC1B,oBAAsB,EAAA,QAAA;AAAA,IACtB,4BAA8B,EAAA,mDAAA;AAAA,IAC9B,8BAAgC,EAAA,uCAAA;AAAA,IAChC,iBAAmB,EAAA;AAAA;AAEvB,CAAC;;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
}
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
export { jfrogArtifactoryTranslationRef, jfrogArtifactoryTranslations };
|
|
15
|
+
//# sourceMappingURL=index.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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 },\n});\n\nexport { jfrogArtifactoryTranslationRef };\n"],"names":[],"mappings":";;;AAsBO,MAAM,+BAA+B,yBAA0B,CAAA;AAAA,EACpE,GAAK,EAAA,8BAAA;AAAA,EACL,YAAc,EAAA;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;AAAA;AAE3B,CAAC;;;;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createTranslationMessages } from '@backstage/core-plugin-api/alpha';
|
|
2
|
+
import { jfrogArtifactoryTranslationRef } from './ref.esm.js';
|
|
3
|
+
|
|
4
|
+
const jfrogArtifactoryTranslationIt = createTranslationMessages({
|
|
5
|
+
ref: jfrogArtifactoryTranslationRef,
|
|
6
|
+
messages: {
|
|
7
|
+
"page.title": "Repository JFrog Artifactory: {{image}}",
|
|
8
|
+
"table.searchPlaceholder": "Filtra",
|
|
9
|
+
"table.labelRowsSelect": "Righe",
|
|
10
|
+
"table.columns.version": "Versione",
|
|
11
|
+
"table.columns.repositories": "Repository",
|
|
12
|
+
"table.columns.manifest": "Manifesto",
|
|
13
|
+
"table.columns.modified": "Modificato",
|
|
14
|
+
"table.columns.size": "Dimensione",
|
|
15
|
+
"table.emptyContent.message": "Nessun dato \xE8 stato ancora aggiunto,",
|
|
16
|
+
"table.emptyContent.learnMore": "scopri come aggiungere dati.",
|
|
17
|
+
"manifest.sha256": "sha256"
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
export { jfrogArtifactoryTranslationIt as default };
|
|
22
|
+
//# sourceMappingURL=it.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"it.esm.js","sources":["../../src/translations/it.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 { createTranslationMessages } from '@backstage/core-plugin-api/alpha';\nimport { jfrogArtifactoryTranslationRef } from './ref';\n\nconst jfrogArtifactoryTranslationIt = createTranslationMessages({\n ref: jfrogArtifactoryTranslationRef,\n messages: {\n 'page.title': 'Repository JFrog Artifactory: {{image}}',\n 'table.searchPlaceholder': 'Filtra',\n 'table.labelRowsSelect': 'Righe',\n 'table.columns.version': 'Versione',\n 'table.columns.repositories': 'Repository',\n 'table.columns.manifest': 'Manifesto',\n 'table.columns.modified': 'Modificato',\n 'table.columns.size': 'Dimensione',\n 'table.emptyContent.message': 'Nessun dato è stato ancora aggiunto,',\n 'table.emptyContent.learnMore': 'scopri come aggiungere dati.',\n 'manifest.sha256': 'sha256',\n },\n});\n\nexport default jfrogArtifactoryTranslationIt;\n"],"names":[],"mappings":";;;AAkBA,MAAM,gCAAgC,yBAA0B,CAAA;AAAA,EAC9D,GAAK,EAAA,8BAAA;AAAA,EACL,QAAU,EAAA;AAAA,IACR,YAAc,EAAA,yCAAA;AAAA,IACd,yBAA2B,EAAA,QAAA;AAAA,IAC3B,uBAAyB,EAAA,OAAA;AAAA,IACzB,uBAAyB,EAAA,UAAA;AAAA,IACzB,4BAA8B,EAAA,YAAA;AAAA,IAC9B,wBAA0B,EAAA,WAAA;AAAA,IAC1B,wBAA0B,EAAA,YAAA;AAAA,IAC1B,oBAAsB,EAAA,YAAA;AAAA,IACtB,4BAA8B,EAAA,yCAAA;AAAA,IAC9B,8BAAgC,EAAA,8BAAA;AAAA,IAChC,iBAAmB,EAAA;AAAA;AAEvB,CAAC;;;;"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createTranslationRef } from '@backstage/core-plugin-api/alpha';
|
|
2
|
+
|
|
3
|
+
const jfrogArtifactoryMessages = {
|
|
4
|
+
page: {
|
|
5
|
+
title: "JFrog Artifactory repository: {{image}}"
|
|
6
|
+
},
|
|
7
|
+
table: {
|
|
8
|
+
searchPlaceholder: "Filter",
|
|
9
|
+
labelRowsSelect: "Rows",
|
|
10
|
+
columns: {
|
|
11
|
+
version: "Version",
|
|
12
|
+
repositories: "Repositories",
|
|
13
|
+
manifest: "Manifest",
|
|
14
|
+
modified: "Modified",
|
|
15
|
+
size: "Size"
|
|
16
|
+
},
|
|
17
|
+
emptyContent: {
|
|
18
|
+
message: "No data was added yet,",
|
|
19
|
+
learnMore: "learn how to add data."
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
manifest: {
|
|
23
|
+
sha256: "sha256"
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
const jfrogArtifactoryTranslationRef = createTranslationRef({
|
|
27
|
+
id: "plugin.jfrog-artifactory",
|
|
28
|
+
messages: jfrogArtifactoryMessages
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
export { jfrogArtifactoryMessages, jfrogArtifactoryTranslationRef };
|
|
32
|
+
//# sourceMappingURL=ref.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ref.esm.js","sources":["../../src/translations/ref.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 { createTranslationRef } from '@backstage/core-plugin-api/alpha';\n\n// CRITICAL: Export messages separately for testing\nexport const jfrogArtifactoryMessages = {\n page: {\n title: 'JFrog Artifactory repository: {{image}}',\n },\n table: {\n searchPlaceholder: 'Filter',\n labelRowsSelect: 'Rows',\n columns: {\n version: 'Version',\n repositories: 'Repositories',\n manifest: 'Manifest',\n modified: 'Modified',\n size: 'Size',\n },\n emptyContent: {\n message: 'No data was added yet,',\n learnMore: 'learn how to add data.',\n },\n },\n manifest: {\n sha256: 'sha256',\n },\n};\n\n/**\n * Translation reference for the JFrog Artifactory plugin.\n * @alpha\n */\nexport const jfrogArtifactoryTranslationRef = createTranslationRef({\n id: 'plugin.jfrog-artifactory',\n messages: jfrogArtifactoryMessages,\n});\n"],"names":[],"mappings":";;AAkBO,MAAM,wBAA2B,GAAA;AAAA,EACtC,IAAM,EAAA;AAAA,IACJ,KAAO,EAAA;AAAA,GACT;AAAA,EACA,KAAO,EAAA;AAAA,IACL,iBAAmB,EAAA,QAAA;AAAA,IACnB,eAAiB,EAAA,MAAA;AAAA,IACjB,OAAS,EAAA;AAAA,MACP,OAAS,EAAA,SAAA;AAAA,MACT,YAAc,EAAA,cAAA;AAAA,MACd,QAAU,EAAA,UAAA;AAAA,MACV,QAAU,EAAA,UAAA;AAAA,MACV,IAAM,EAAA;AAAA,KACR;AAAA,IACA,YAAc,EAAA;AAAA,MACZ,OAAS,EAAA,wBAAA;AAAA,MACT,SAAW,EAAA;AAAA;AACb,GACF;AAAA,EACA,QAAU,EAAA;AAAA,IACR,MAAQ,EAAA;AAAA;AAEZ;AAMO,MAAM,iCAAiC,oBAAqB,CAAA;AAAA,EACjE,EAAI,EAAA,0BAAA;AAAA,EACJ,QAAU,EAAA;AACZ,CAAC;;;;"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-jfrog-artifactory",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"main": "dist/index.esm.js",
|
|
5
|
-
"types": "dist/index.d.ts",
|
|
3
|
+
"version": "1.23.0",
|
|
4
|
+
"main": "./dist/index.esm.js",
|
|
5
|
+
"types": "./dist/index.d.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"publishConfig": {
|
|
8
|
-
"access": "public"
|
|
9
|
-
"main": "dist/index.esm.js",
|
|
10
|
-
"types": "dist/index.d.ts"
|
|
8
|
+
"access": "public"
|
|
11
9
|
},
|
|
12
10
|
"backstage": {
|
|
13
11
|
"role": "frontend-plugin",
|
|
@@ -17,6 +15,29 @@
|
|
|
17
15
|
"@backstage-community/plugin-jfrog-artifactory"
|
|
18
16
|
]
|
|
19
17
|
},
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"import": "./dist/index.esm.js",
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"default": "./dist/index.esm.js"
|
|
23
|
+
},
|
|
24
|
+
"./alpha": {
|
|
25
|
+
"import": "./dist/alpha.esm.js",
|
|
26
|
+
"types": "./dist/alpha.d.ts",
|
|
27
|
+
"default": "./dist/alpha.esm.js"
|
|
28
|
+
},
|
|
29
|
+
"./package.json": "./package.json"
|
|
30
|
+
},
|
|
31
|
+
"typesVersions": {
|
|
32
|
+
"*": {
|
|
33
|
+
"alpha": [
|
|
34
|
+
"dist/alpha.d.ts"
|
|
35
|
+
],
|
|
36
|
+
"package.json": [
|
|
37
|
+
"package.json"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
},
|
|
20
41
|
"sideEffects": false,
|
|
21
42
|
"scripts": {
|
|
22
43
|
"build": "backstage-cli package build",
|
|
@@ -71,12 +92,5 @@
|
|
|
71
92
|
],
|
|
72
93
|
"bugs": "https://github.com/backstage/community-plugins/issues",
|
|
73
94
|
"author": "Red Hat",
|
|
74
|
-
"typesVersions": {
|
|
75
|
-
"*": {
|
|
76
|
-
"package.json": [
|
|
77
|
-
"package.json"
|
|
78
|
-
]
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
95
|
"module": "./dist/index.esm.js"
|
|
82
96
|
}
|