From b08f80769fc623877930dc0f85028ed2bf0afe13 Mon Sep 17 00:00:00 2001 From: Claudio Wunder Date: Sun, 15 Feb 2026 23:07:36 +0000 Subject: [PATCH 1/2] fix: fixed statically indexed path for turbopack (#8633) * fix: fixed statically indexed path for turbopack * chore: use path normalization --- apps/site/next.dynamic.mjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/site/next.dynamic.mjs b/apps/site/next.dynamic.mjs index 6dfea0d82f56a..6b539563162f2 100644 --- a/apps/site/next.dynamic.mjs +++ b/apps/site/next.dynamic.mjs @@ -55,6 +55,10 @@ const getDynamicRouter = async () => { // Keeps the map of pathnames to filenames const pathnameToFilename = new Map(); + // Pre-compute the pages directory path to avoid Turbopack's overly broad + // file pattern analysis when using path.join() with dynamic segments + const pagesDirectory = join(process.cwd(), 'pages'); + const websitePages = await getMarkdownFiles( process.cwd(), `pages/${defaultLocale.code}` @@ -101,7 +105,7 @@ const getDynamicRouter = async () => { // meaning that the route exists on the website and can be rendered if (pathnameToFilename.has(normalizedPathname)) { const filename = pathnameToFilename.get(normalizedPathname); - const filepath = join(process.cwd(), 'pages', locale, filename); + const filepath = normalize(`${pagesDirectory}/${locale}/${filename}`); // We verify if our Markdown cache already has a cache entry for a localized // version of this file, because if not, it means that either From 5bb60ba56b664425f0f04de76c65ae41b0b15973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilherme=20Ara=C3=BAjo?= Date: Sun, 15 Feb 2026 21:54:20 -0300 Subject: [PATCH 2/2] feat: supporters improvements (#8627) * feat: supporters improvements * refactor: review --- apps/site/components/Common/Supporters/index.tsx | 3 +++ apps/site/next-data/generators/supportersData.mjs | 5 ++++- apps/site/types/supporters.ts | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/site/components/Common/Supporters/index.tsx b/apps/site/components/Common/Supporters/index.tsx index 06dddf7f23b44..d06abd357840b 100644 --- a/apps/site/components/Common/Supporters/index.tsx +++ b/apps/site/components/Common/Supporters/index.tsx @@ -1,5 +1,7 @@ import Avatar from '@node-core/ui-components/Common/AvatarGroup/Avatar'; +import { getAcronymFromString } from '#site/util/string'; + import type { Supporter } from '#site/types'; import type { FC } from 'react'; @@ -12,6 +14,7 @@ const SupportersList: FC = ({ supporters }) => ( {supporters.map(({ name, image, profile }, i) => ( = { name: string; image: string; url: string; - profile: string; + profile?: string; source: T; };