Add react version to debugging

This commit is contained in:
Sam Becker 2026-01-30 21:13:34 -06:00
parent c9b6c1a122
commit 6b4c4970a3
3 changed files with 8 additions and 0 deletions

View File

@ -43,6 +43,7 @@ export default async function AdminAppInsights() {
<AdminAppInsightsClient
codeMeta={codeMeta}
nextVersion={APP_CONFIGURATION.nextVersion}
reactVersion={APP_CONFIGURATION.reactVersion}
nodeVersion={APP_CONFIGURATION.nodeVersion}
insights={getAllInsights({
codeMeta,

View File

@ -117,6 +117,7 @@ const renderWarningIconSmall =
export default function AdminAppInsightsClient({
codeMeta,
nextVersion,
reactVersion,
nodeVersion,
insights,
usedDeprecatedEnvVars,
@ -135,6 +136,7 @@ export default function AdminAppInsightsClient({
}: {
codeMeta?: Awaited<ReturnType<typeof getGitHubMetaForCurrentApp>>
nextVersion: string
reactVersion: string
nodeVersion: string
insights: ReturnType<typeof getAllInsights>
usedDeprecatedEnvVars: typeof USED_DEPRECATED_ENV_VARS
@ -291,6 +293,10 @@ export default function AdminAppInsightsClient({
target="blank"
>
Next.js {nextVersion}
{' '}
<span className="text-dim">
(React {reactVersion})
</span>
</Link>}
/>
<ScoreCardRow

View File

@ -529,6 +529,7 @@ export const APP_CONFIGURATION = {
isAdminSqlDebugEnabled: ADMIN_SQL_DEBUG_ENABLED,
// Misc
nextVersion: dependencies.next,
reactVersion: dependencies.react,
nodeVersion: process.version,
baseUrl: BASE_URL,
baseUrlShare: BASE_URL_SHARE,