Skip to content

fix: add missing @waveso/ui peer dependencies#20

Open
y4motion wants to merge 1 commit into
intuition-box:mainfrom
y4motion:fix/waveso-ui-peer-deps
Open

fix: add missing @waveso/ui peer dependencies#20
y4motion wants to merge 1 commit into
intuition-box:mainfrom
y4motion:fix/waveso-ui-peer-deps

Conversation

@y4motion
Copy link
Copy Markdown

@y4motion y4motion commented May 9, 2026

Problem

npm run build fails on a fresh clone with 6 Turbopack resolve errors:

Error: Turbopack build failed with 6 errors:
  - Could not resolve "@base-ui/react/dialog"
  - Could not resolve "class-variance-authority"
  - Could not resolve "clsx"
  ...

These are peer dependencies of @waveso/ui that aren't listed in package.json.

Fix

Added the missing peer deps as direct dependencies:

Package Version Required by
@base-ui/react ^1.4.1 @waveso/ui dialog, select
class-variance-authority ^0.7.1 @waveso/ui variants
clsx ^2.1.1 @waveso/ui classnames
tailwind-merge ^3.5.0 @waveso/ui styling

Verification

Build passes cleanly after adding these deps. No code changes — only package.json and package-lock.json.

Adds @base-ui/react, class-variance-authority, clsx, and tailwind-merge
as direct dependencies to satisfy @waveso/ui peer requirements.

Without these, `npm run build` fails with 6 Turbopack resolve errors
for any contributor cloning the repo fresh.
@host-intuition-box
Copy link
Copy Markdown

host-intuition-box Bot commented May 9, 2026

The preview deployment for Intuition.box is ready. 🟢

Open Preview | Open Build Logs | Open Application Logs

Last updated at: 2026-05-09 23:29:06 CET

@y4motion
Copy link
Copy Markdown
Author

y4motion commented May 9, 2026

@jeremie-olivier @saulodigital — this is a minimal fix for the broken npm run build on main. Only package.json + lockfile, zero code changes. Should be safe to merge. 🙏

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