Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(frontend): update to tailwind 4.0 with dashboard container file sync #1870

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

anupcowkur
Copy link
Contributor

Description

Tailwind 4.0 has a dependency that depends on OS specific binaries. See issue.

Since we were pointing dashboard container volume to local directory, this causes issues since dev machine local OS won't match with container OS and the OS specific binary can't be found.

Therefore, to update to tailwind 4.0, this commit:

  • Removes local volumes from dashboard container
  • Sync contents of frontend/dashboard to /app directory in dashboard container
  • Updates tailwind classes, packages etc as required
  • Updates tests

Related issue

Closes #1771

… sync

closes #1771

Tailwind 4.0 has a dependency that depends on OS specific binaries.
See [issue](tailwindlabs/tailwindcss#15806).

Since we were pointing dashboard container volume to local directory,
this causes issues since dev machine local OS won't match with container
OS and the OS specific binary can't be found.

Therefore, to update to tailwind 4.0, this commit:
- Removes local volumes from dashboard container
- Sync contents of frontend/dashboard to /app directory in dashboard container
- Updates tailwind classes, packages etc as required
- Updates tests
@anupcowkur anupcowkur requested a review from detj March 10, 2025 08:43
Copy link

vercel bot commented Mar 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
measure-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 10, 2025 8:45am

@anupcowkur anupcowkur merged commit 7f5e2f8 into main Mar 10, 2025
12 checks passed
@anupcowkur anupcowkur deleted the upgrade-tailwind branch March 10, 2025 08:59
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.

Upgrade to tailwind 4.0
2 participants