chore(deps): bump the fumadocs group across 1 directory with 3 updates#85
chore(deps): bump the fumadocs group across 1 directory with 3 updates#85dependabot[bot] wants to merge 1 commit into
Conversation
2e8a8be to
5066703
Compare
📝 WalkthroughWalkthroughThree Changesfumadocs Dependency Bumps
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Pyon pyon~! ૮꒰˶ᵔ ᵕ ᵔ˶꒱ა Just three little version numbers hopping up to their newer values, nya! Nothing to see here but a tiny patch bump for 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@apps/web/package.json`:
- Around line 25-28: The deprecated `type: "static"` pattern in the
`useDocsSearch()` call within the search component needs to be migrated to
accept a `client` object parameter instead. Additionally, verify in page.tsx
whether the STOPGAP comment and type casting workaround at line 39 (related to
fumadocs-mdx and fumadocs-ui type alignment) can now be removed since the
fumadocs-ui version has been bumped to 16.10.4, which may resolve the previously
noted type misalignment issue. Finally, test the updated behavior of the
`tableOfContent={{ style: "clerk" }}` configuration in version 16.10.x to ensure
the TOC variant displays correctly.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 3343a5cf-cf8a-4b94-82d5-dec4203184e2
📒 Files selected for processing (1)
apps/web/package.json
| "fumadocs-core": "16.10.4", | ||
| "fumadocs-mdx": "15.0.12", | ||
| "fumadocs-typescript": "^5.2.2", | ||
| "fumadocs-ui": "16.9.3", | ||
| "fumadocs-ui": "16.10.4", |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Description: Check for deprecated useDocsSearch patterns and STOPGAP status
echo "=== Searching for useDocsSearch usage ==="
rg -n 'useDocsSearch' --type ts --type tsx -A 3 -B 1
echo ""
echo "=== Checking for deprecated type parameter pattern ==="
rg -n "type:\s*['\"]" --type ts --type tsx | grep -i search
echo ""
echo "=== Verifying fumadocs imports remain valid ==="
rg -n "from\s+['\"]fumadocs-(core|mdx|ui)" --type ts --type tsx | head -20Repository: gwigz/slua
Length of output: 303
🏁 Script executed:
#!/bin/bash
# Find TypeScript/TSX files and search for patterns without --type flag
echo "=== Finding all TypeScript files ==="
find apps/web -type f \( -name "*.ts" -o -name "*.tsx" -o -name "*.jsx" -o -name "*.js" \) 2>/dev/null | head -20
echo ""
echo "=== Searching for useDocsSearch usage ==="
rg -i 'useDocsSearch' --no-type-list 2>/dev/null || rg -i 'useDocsSearch' 2>/dev/null | head -20
echo ""
echo "=== Looking for STOPGAP comment ==="
rg -i 'STOPGAP|type misalignment|LoaderConfig' 2>/dev/null | head -20
echo ""
echo "=== Checking fumadocs imports ==="
rg 'from.*["\']fumadocs' 2>/dev/nullRepository: gwigz/slua
Length of output: 1460
🏁 Script executed:
#!/bin/bash
echo "=== Reading search.tsx to check useDocsSearch pattern ==="
sed -n '1,50p' apps/web/src/components/search.tsx
echo ""
echo "=== Reading page.tsx around STOPGAP comment (lines 25-45) ==="
sed -n '25,45p' apps/web/src/app/docs/\[\[..slug\]\]/page.tsx
echo ""
echo "=== Checking full fumadocs imports in codebase ==="
rg 'import.*fumadocs' 2>/dev/null || echo "No results"
echo ""
echo "=== Checking for deprecated type: string pattern in search context ==="
grep -r "type:\s*['\"]" apps/web/src/components/search.tsx 2>/dev/null || echo "No deprecated type patterns found"Repository: gwigz/slua
Length of output: 3771
🏁 Script executed:
#!/bin/bash
echo "=== Finding page.tsx files with slug parameter ==="
find apps/web -name "page.tsx" -o -name "page.ts" | grep slug
echo ""
echo "=== Reading the correct page.tsx file ==="
cat "apps/web/src/app/docs/[[...slug]]/page.tsx" 2>/dev/null | head -50
echo ""
echo "=== Searching for line numbers around STOPGAP ==="
rg -n "STOPGAP" apps/web/ 2>/dev/nullRepository: gwigz/slua
Length of output: 2209
Fix deprecated type: "static" pattern and verify STOPGAP resolution after version bump ૮꒰ྀི >⸝⸝⸝< ྀི꒱ა
The useDocsSearch() call in apps/web/src/components/search.tsx (line 27) uses the deprecated type: "static" pattern. This should be migrated to pass a client object instead, as mentioned in the PR objectives.
Additionally, the STOPGAP comment at apps/web/src/app/docs/[[...slug]]/page.tsx (line 39) mentions type misalignment between fumadocs-mdx 15 and fumadocs-ui 16.9. The bump to fumadocs-ui 16.10.4 may resolve this type alignment issue—if so, the type casting workaround and STOPGAP comment can be removed. The tableOfContent={{ style: "clerk" }} usage will also exhibit updated behavior in 16.10.x, so test that the TOC variant displays correctly.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@apps/web/package.json` around lines 25 - 28, The deprecated `type: "static"`
pattern in the `useDocsSearch()` call within the search component needs to be
migrated to accept a `client` object parameter instead. Additionally, verify in
page.tsx whether the STOPGAP comment and type casting workaround at line 39
(related to fumadocs-mdx and fumadocs-ui type alignment) can now be removed
since the fumadocs-ui version has been bumped to 16.10.4, which may resolve the
previously noted type misalignment issue. Finally, test the updated behavior of
the `tableOfContent={{ style: "clerk" }}` configuration in version 16.10.x to
ensure the TOC variant displays correctly.
Bumps the fumadocs group with 3 updates in the / directory: [fumadocs-core](https://github.com/fuma-nama/fumadocs), [fumadocs-mdx](https://github.com/fuma-nama/fumadocs) and [fumadocs-ui](https://github.com/fuma-nama/fumadocs). Updates `fumadocs-core` from 16.9.3 to 16.10.5 - [Release notes](https://github.com/fuma-nama/fumadocs/releases) - [Commits](https://github.com/fuma-nama/fumadocs/compare/fumadocs-core@16.9.3...fumadocs@16.10.5) Updates `fumadocs-mdx` from 15.0.11 to 15.0.12 - [Release notes](https://github.com/fuma-nama/fumadocs/releases) - [Commits](https://github.com/fuma-nama/fumadocs/compare/fumadocs-mdx@15.0.11...fumadocs-mdx@15.0.12) Updates `fumadocs-ui` from 16.9.3 to 16.10.5 - [Release notes](https://github.com/fuma-nama/fumadocs/releases) - [Commits](https://github.com/fuma-nama/fumadocs/compare/fumadocs-ui@16.9.3...fumadocs@16.10.5) --- updated-dependencies: - dependency-name: fumadocs-core dependency-version: 16.10.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: fumadocs - dependency-name: fumadocs-mdx dependency-version: 15.0.12 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: fumadocs - dependency-name: fumadocs-ui dependency-version: 16.10.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: fumadocs ... Signed-off-by: dependabot[bot] <support@github.com>
5066703 to
26eb7b2
Compare
Bumps the fumadocs group with 3 updates in the / directory: fumadocs-core, fumadocs-mdx and fumadocs-ui.
Updates
fumadocs-corefrom 16.9.3 to 16.10.5Release notes
Sourced from fumadocs-core's releases.
Commits
7365d63Version Packages (#3366)23c00f2fix(openapi): fix typescript definitions name4fe2821fix(openapi): fix usage tabs58c2574fix custom script1a323a6dedupe deps19955f3fix(ui): usepromptquery param for "Open in ChatGPT" page action (#3365)c903a68Version Packages (#3363)ae50848feat(core): support react router v8bd9a9d0update tegami88ce9d9refactor: use TegamiUpdates
fumadocs-mdxfrom 15.0.11 to 15.0.12Release notes
Sourced from fumadocs-mdx's releases.
Commits
7974b86Version Packages5d981abdocs: migration guide for OpenAPI v110415b4abreaking(openapi): drop other deprecated APIs9b9545fAdd Fumadocs package bugs metadata (#3347)55c5fdbfeat(core): allow legacy usage of translations API7285343feat(openapi): keep more legacy optionse8d6cc3feat(openapi): backward compat with\<APIPage />2642fa6feat(asyncapi): better message example selectorc524740fix(asyncapi): padding of extension bindingsf0e7738feat(asyncapi): support server bindings UIUpdates
fumadocs-uifrom 16.9.3 to 16.10.5Release notes
Sourced from fumadocs-ui's releases.
Commits
7365d63Version Packages (#3366)23c00f2fix(openapi): fix typescript definitions name4fe2821fix(openapi): fix usage tabs58c2574fix custom script1a323a6dedupe deps19955f3fix(ui): usepromptquery param for "Open in ChatGPT" page action (#3365)c903a68Version Packages (#3363)ae50848feat(core): support react router v8bd9a9d0update tegami88ce9d9refactor: use Tegami