From 09a976a3cde0d059badfce78c02a55166fb073bb Mon Sep 17 00:00:00 2001 From: Liviu Ionescu Date: Fri, 17 Jan 2025 19:07:26 +0200 Subject: [PATCH] website: re-generate commons --- .../src/components/HomepageTools/index.tsx | 28 +++++++++---------- website/src/components/ReleasesList/index.tsx | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/website/src/components/HomepageTools/index.tsx b/website/src/components/HomepageTools/index.tsx index bda4f5b..8b2b891 100644 --- a/website/src/components/HomepageTools/index.tsx +++ b/website/src/components/HomepageTools/index.tsx @@ -22,15 +22,15 @@ const coreTools = [ gitHubBaseUrl: 'xpack/xpm-js', webBaseUrl: 'xpm', npmName: 'xpm', - appLcName: 'xpm', - appName: 'xPack Project Manager' + shortName: 'xpm', + longName: 'xPack Project Manager' }, { gitHubBaseUrl: 'xpack/xcdl-cli-ts', webBaseUrl: 'xcdl', npmName: 'xcdl', - appLcName: 'xcdl', - appName: 'xCDL Component Manager (work in progress)' + shortName: 'xcdl', + longName: 'xCDL Component Manager (work in progress)' }, ] @@ -39,39 +39,39 @@ const npmModules = [ gitHubBaseUrl: 'xpack/logger-ts', webBaseUrl: 'logger-ts', npmName: '@xpack/logger', - appLcName: '@xpack/logger', - appName: 'The xPack Logger' + shortName: '@xpack/logger', + longName: 'The xPack Logger' }, { gitHubBaseUrl: 'xpack/mock-console-ts', webBaseUrl: 'mock-console-ts', npmName: '@xpack/mock-console', - appLcName: '@xpack/mock-console', - appName: 'The xPack Mock Console' + shortName: '@xpack/mock-console', + longName: 'The xPack Mock Console' }, { gitHubBaseUrl: 'xpack/xpm-liquid-ts', webBaseUrl: 'xpm-liquid-ts', npmName: '@xpack/xpm-liquid', - appLcName: '@xpack/xpm-liquid', - appName: 'The xPack Liquid Substitutions' + shortName: '@xpack/xpm-liquid', + longName: 'The xPack Liquid Substitutions' }, { gitHubBaseUrl: 'xpack/update-checker-ts', webBaseUrl: 'update-checker-ts', npmName: '@xpack/update-checker', - appLcName: '@xpack/update-checker', - appName: 'The xPack Update Checker' + shortName: '@xpack/update-checker', + longName: 'The xPack Update Checker' }, ] -function NpmModule({ gitHubBaseUrl, webBaseUrl, npmName, appLcName, appName }) { +function NpmModule({ gitHubBaseUrl, webBaseUrl, npmName, shortName, longName }) { return ( <>
- {appLcName} - {appName} + {shortName} - {longName}
{/* GitHub package.json version diff --git a/website/src/components/ReleasesList/index.tsx b/website/src/components/ReleasesList/index.tsx index a81c348..d08ba2a 100644 --- a/website/src/components/ReleasesList/index.tsx +++ b/website/src/components/ReleasesList/index.tsx @@ -26,7 +26,7 @@ export function ReleasesList({items}): JSX.Element { pluginData.releasesTable.length > 0 ? pluginData.releasesTable.map(release => (
  • - {release.title} {release.downloadUrl === "true" ? (<>(download)) : (<>)} + {release.title} {release.downloadUrl ? (<>(download)) : (<>)}
  • )) : (