Skip to content

Bump deps, drop react-tooltip, fix devDep categorization#81

Merged
tomusdrw merged 1 commit intomainfrom
td-deps-audit
Apr 17, 2026
Merged

Bump deps, drop react-tooltip, fix devDep categorization#81
tomusdrw merged 1 commit intomainfrom
td-deps-audit

Conversation

@tomusdrw
Copy link
Copy Markdown
Member

Summary

  • Bumps: @fluffylabs/shared-ui 0.6.3 → 0.8.0, lucide-react 0.577 → 1.8.0 (major), @biomejs/biome 2.4.8 → 2.4.12. npm audit fix also bumped vite and picomatch transitively, clearing 2 high-severity advisories (0 remaining).
  • Category cleanup: moved @biomejs/biome, @tailwindcss/vite, and tailwindcss from dependencies to devDependencies — they're build/lint tooling, not runtime code.
  • Removed react-tooltip: its single use in DiffHighlight.tsx is now served by WithTooltip from @fluffylabs/shared-ui (which we already depend on). ~40 lines of tooltip boilerplate removed, no new code.

Behavior note

The diff tooltip previously used per-type background colors (blue/red/green) on the tooltip popover. With WithTooltip the popover uses shared-ui's default styling; the colored background on the visible text segment is preserved, so the type signal is still there.

Test plan

  • npm run qa — clean
  • npm run test — 152/152 pass
  • npm run build — succeeds
  • npm audit — 0 vulnerabilities
  • Verified all used lucide-react icons still export under v1.8.0 (UploadIcon, InfoIcon, X, ChevronDownIcon, Settings)
  • Manual smoke test of diff view tooltips in the dev server

🤖 Generated with Claude Code

- Bump @fluffylabs/shared-ui 0.6.3 -> 0.8.0
- Bump lucide-react 0.577.0 -> 1.8.0 (major)
- Bump @biomejs/biome 2.4.8 -> 2.4.12 (+ schema URL)
- Move @biomejs/biome, @tailwindcss/vite, tailwindcss to devDependencies
- Replace react-tooltip with WithTooltip from @fluffylabs/shared-ui in DiffHighlight
- npm audit fix (resolves vite + picomatch advisories)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 17, 2026

Deploy Preview for fluffy-codec ready!

Name Link
🔨 Latest commit 721e865
🔍 Latest deploy log https://app.netlify.com/projects/fluffy-codec/deploys/69e1f963b27032000852fd7a
😎 Deploy Preview https://deploy-preview-81--fluffy-codec.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 17, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 96318be5-f00e-4668-a4b8-fa48f2634f8b

📥 Commits

Reviewing files that changed from the base of the PR and between 92e886b and 721e865.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (3)
  • biome.jsonc
  • package.json
  • src/components/DiffHighlight.tsx

📝 Walkthrough

Walkthrough

Updated Biome schema version from 2.4.8 to 2.4.12 in configuration. Reorganized package dependencies: moved @biomejs/biome and @tailwindcss/vite to devDependencies, removed react-tooltip, upgraded @fluffylabs/shared-ui to ^0.8.0 and lucide-react to ^1.8.0. Replaced tooltip implementation in DiffHighlight component.

Changes

Cohort / File(s) Summary
Configuration Updates
biome.jsonc
Updated schema URL to target Biome v2.4.12 instead of v2.4.8.
Dependency Management
package.json
Reorganized dependencies by moving @biomejs/biome and @tailwindcss/vite to devDependencies; removed react-tooltip; upgraded @fluffylabs/shared-ui from ^0.6.3 to ^0.8.0 and lucide-react from ^0.577.0 to ^1.8.0; added tailwindcss to devDependencies.
Component Refactoring
src/components/DiffHighlight.tsx
Replaced react-tooltip with WithTooltip wrapper from @fluffylabs/shared-ui, simplifying tooltip configuration by removing explicit id, place, and inline styling attributes in favor of passing tooltip text via the help prop.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the three main changes: dependency bumps, removal of react-tooltip, and devDependency categorization fixes.
Description check ✅ Passed The description provides detailed context about all changes including version bumps, dependency categorization, tooltip replacement, and comprehensive test results.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch td-deps-audit

Comment @coderabbitai help to get the list of available commands and usage tips.

@tomusdrw tomusdrw merged commit aeb4a0b into main Apr 17, 2026
6 checks passed
@tomusdrw tomusdrw deleted the td-deps-audit branch April 17, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant