Skip to content

Conversation

@ankkho
Copy link

@ankkho ankkho commented Jun 27, 2025

  • Upgraded TailwindCSS, DaisyUI, Vite, and Storybook to their latest stable versions for improved compatibility and features.
  • Refactored Storybook stories to use the new CSF3/CSF3.5 object-based format and imports from @storybook/react.
  • Cleaned up Tailwind and DaisyUI configuration for Tailwind v4+ (no PostCSS config required).
  • Ensured global styles are loaded in both Storybook and the Vite app.
  • Added a minimal index.html for Vite app testing.
  • Fixed issues with DaisyUI theme variables and forced a default theme in Storybook for consistent component rendering.
  • Removed legacy and incompatible config/code.

Note: I've used cursor for these task

…ions

- Migrate .storybook/main.ts to new default export format for Storybook 8+
- Remove deprecated @storybook/addon-styling package
- Update all Storybook packages to latest compatible versions (8.6.14)
- Fix @vitejs/plugin-react version to 4.6.0 (latest stable)
- Ensure npm run start works correctly
- Remove redundant 'default' condition from exports field
- Update tailwindcss peerDependency to use range '>=3.2.7' for better compatibility
- Keep Storybook at v8.6.14 (latest stable with all addons compatible)
- Ensure npm run start works without warnings
- Move 'types' condition to first position in exports field
- Remove redundant 'types' field (already in exports)
- Follow Node.js package exports best practices
- Eliminate 'conditions will never be used' warning
…8.6.14

- Revert all Storybook packages to v8.6.14 (latest stable with full compatibility)
- Add missing @storybook/manager-api and @storybook/theming packages
- Fix preview.tsx import to use @storybook/react-vite for v8 compatibility
- Add @storybook/addon-essentials back to main.ts configuration
- Ensure all components display correctly in Storybook
- Resolve 500 Internal Server Error and missing component issues
@netlify
Copy link

netlify bot commented Jun 27, 2025

👷 Deploy Preview for react-daisyui processing.

Name Link
🔨 Latest commit ed8376d
🔍 Latest deploy log https://app.netlify.com/projects/react-daisyui/deploys/685eac01e6b73300089c33f0

1 similar comment
@netlify
Copy link

netlify bot commented Jun 27, 2025

👷 Deploy Preview for react-daisyui processing.

Name Link
🔨 Latest commit ed8376d
🔍 Latest deploy log https://app.netlify.com/projects/react-daisyui/deploys/685eac01e6b73300089c33f0

@netlify
Copy link

netlify bot commented Jun 27, 2025

Deploy Preview for react-daisyui ready!

Name Link
🔨 Latest commit 67e3478
🔍 Latest deploy log https://app.netlify.com/projects/react-daisyui/deploys/685eb05f07d2a400080550e7
😎 Deploy Preview https://deploy-preview-477--react-daisyui.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.

@ankkho ankkho changed the title upgrade tailwindcss, daisyui and storybook to latest stable version update tailwindcss, daisyui and storybook to latest stable version Jun 27, 2025
@ankkho ankkho changed the title update tailwindcss, daisyui and storybook to latest stable version draft:update tailwindcss, daisyui and storybook to latest stable version Jun 27, 2025
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