Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
98a8c95
docs: Add Turborepo 2.11 release post
anthonyshew Aug 3, 2026
0214e0b
docs: Reflect the native pytest task in the 2.11 post
vercel[bot] Aug 12, 2026
147f566
Merge remote-tracking branch 'origin/main' into shew/turborepo-2-11-r…
anthonyshew Sep 5, 2026
9b59635
WIP f3c40
anthonyshew Sep 5, 2026
04682fc
WIP 374a8
anthonyshew Sep 5, 2026
dd17c38
docs: Add nub and aube to PackageManagerTabs examples
cursoragent Sep 7, 2026
ad6d451
docs: Add Go support to Turborepo 2.11 release post
cursoragent Sep 7, 2026
3ec9675
docs: Remove nub and aube tabs from older blog posts
anthonyshew Sep 10, 2026
2865817
WIP 9b794
anthonyshew Sep 10, 2026
b27f1df
Merge remote-tracking branch 'origin/main' into shew/turborepo-2-11-r…
anthonyshew Sep 10, 2026
f29e221
fix: Support legacy package manager tabs
anthonyshew Sep 10, 2026
686511d
Apply suggestion from @anthonyshew
anthonyshew Sep 10, 2026
75b714b
Apply suggestion from @anthonyshew
anthonyshew Sep 10, 2026
47af9ac
Apply suggestion from @anthonyshew
anthonyshew Sep 10, 2026
a33c8c4
WIP 0bcc2
anthonyshew Sep 12, 2026
5d415b5
WIP 965c6
anthonyshew Sep 12, 2026
1b37719
Apply suggestion from @anthonyshew
anthonyshew Sep 15, 2026
257571e
Apply suggestion from @anthonyshew
anthonyshew Sep 15, 2026
5dccd35
docs: Update Turborepo 2.11 change lists
anthonyshew Sep 17, 2026
869ac9c
docs: Update Turborepo 2.11 release date
anthonyshew Sep 17, 2026
06568bf
WIP f97e4
anthonyshew Sep 17, 2026
a1eadac
WIP 08820
anthonyshew Sep 17, 2026
7fef5c9
Merge branch 'main' into shew/turborepo-2-11-release-post
anthonyshew Sep 17, 2026
d69ed3d
Merge branch 'main' into shew/turborepo-2-11-release-post
anthonyshew Sep 18, 2026
109419b
WIP eba2c
anthonyshew Sep 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions apps/docs/components/geistdocs/tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ export function Tabs({
);
}

const packageManagers = ["pnpm", "yarn", "npm", "bun"];
const legacyPackageManagers = ["pnpm", "yarn", "npm", "bun"];
const packageManagers = [...legacyPackageManagers, "nub", "aube"];

const checkPackageManagerIndex = (index: number, provided: string) => {
if (provided !== packageManagers[index]) {
Expand Down Expand Up @@ -54,9 +55,14 @@ export function PackageManagerTabs({
(child): child is TabElement => isValidElement(child)
);

if (packageManagers.length > childElements.length) {
const items =
childElements.length === legacyPackageManagers.length
? legacyPackageManagers
: packageManagers;

if (items.length !== childElements.length) {
throw new Error(
`Package manager tab is missing. Expected ${packageManagers.length} tabs, got ${childElements.length}.`
`Package manager tab is missing. Expected ${legacyPackageManagers.length} or ${packageManagers.length} tabs, got ${childElements.length}.`
);
}

Expand All @@ -73,7 +79,7 @@ export function PackageManagerTabs({
return (
<FumaTabs
groupId="package-manager"
items={packageManagers}
items={items}
persist
{...props}
>
Expand Down
Loading
Loading