Skip to content

Upgrade to Tailwind CSS v4#831

Merged
hogashi merged 4 commits intorenovate/major-tailwindcss-monorepofrom
copilot/sub-pr-778
Feb 12, 2026
Merged

Upgrade to Tailwind CSS v4#831
hogashi merged 4 commits intorenovate/major-tailwindcss-monorepofrom
copilot/sub-pr-778

Conversation

Copy link
Contributor

Copilot AI commented Feb 12, 2026

  • Research Tailwind CSS v4 migration requirements
  • Run automatic upgrade tool to update input.css
  • Install @tailwindcss/cli package
  • Update build scripts (no changes needed - CLI binary name remains the same)
  • Remove tailwind.config.js (v4 uses CSS-based config with auto content detection)
  • Test the build process (successful)
  • Run linting and tests (passing except pre-existing test failure)
  • Code review (no issues found)
  • Security scanning (no issues found)
  • Update pnpm-lock.yaml for new dependency
  • Final verification (complete)

Summary

Successfully upgraded Tailwind CSS from v3.4.17 to v4.1.18:

Key Changes

  • Updated src/input.css to use @import 'tailwindcss' (v4 syntax)
  • Added @tailwindcss/cli package for v4 CLI support
  • Removed tailwind.config.js (v4 uses automatic content detection)
  • Updated pnpm-lock.yaml to include new dependency
  • Generated CSS is smaller and uses modern CSS features

Testing

  • ✅ Build process: successful
  • ✅ Linter: passing (1 pre-existing warning)
  • ✅ TypeScript: passing
  • ✅ Tests: 157 passing (1 pre-existing test failure unrelated to Tailwind)
  • ✅ Code review: no issues
  • ✅ Security scan: no issues
  • ✅ CI: lockfile updated, should now pass

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits February 12, 2026 07:48
Co-authored-by: hogashi <12870472+hogashi@users.noreply.github.com>
Co-authored-by: hogashi <12870472+hogashi@users.noreply.github.com>
Copilot AI changed the title [WIP] Update dependency tailwindcss to v4 Upgrade to Tailwind CSS v4 Feb 12, 2026
Copilot AI requested a review from hogashi February 12, 2026 07:52
@hogashi
Copy link
Owner

hogashi commented Feb 12, 2026

@copilot failing CI

Co-authored-by: hogashi <12870472+hogashi@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 12, 2026

@copilot failing CI

Fixed the CI failure by updating pnpm-lock.yaml to include the new @tailwindcss/cli dependency. The lockfile was out of sync with package.json, causing the frozen-lockfile check to fail.

Commit: a9a9b69

@hogashi hogashi marked this pull request as ready for review February 12, 2026 09:22
@hogashi hogashi merged commit 5e9fc6a into renovate/major-tailwindcss-monorepo Feb 12, 2026
1 check passed
@hogashi hogashi deleted the copilot/sub-pr-778 branch February 12, 2026 09:22
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.

2 participants