Add react version to debugging
This commit is contained in:
parent
c9b6c1a122
commit
6b4c4970a3
@ -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,
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user