-
Notifications
You must be signed in to change notification settings - Fork 1k
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
deprecate setup ui windicss
(project is sunsetting)
#8597
Conversation
@@ -8,10 +8,24 @@ import { errorTelemetry } from '@redwoodjs/telemetry' | |||
|
|||
import { getPaths } from '../../../../lib' | |||
import c from '../../../../lib/colors' | |||
import { printSetupNotes } from '../helpers' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tried running this locally and it seems like this file doesn't exist at this location; this specific helper is co-located with the deploy commands at the moment. Don't see why we can't move it, we probably just never had a reason to
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm seeing errors in the CLI tests I've seen in my other PR here: #8448. I'm not savvy enough with Jest to know what I'm doing wrong with the mocks. And it's late so I'll try again another time |
Thanks for the help with this one @jtoar Setting to auto-merge now. |
* deprecate setup ui windicss * move printSetupNotes * fix rest of imports * fix mocking in netlify * Update packages/cli/src/commands/setup/ui/libraries/windicss.js --------- Co-authored-by: Dominic Saadi <[email protected]>
Why not migrate to Unocss? |
PR 1 of 2
The WindiCSS project is sunsetting. One of the recommended replacements is Tailwind CSS, which is already supported. See: https://windicss.org/posts/sunsetting.html
This PR indicates
deprecated
in the setup command and CLI docs. (target v5.4)The follow-up PR will remove the setup command entirely. (target v6) #8598
Note: Projects using Windi CSS will not be affected when upgrading. Redwood v6 switches to Vite as the default bundler (Webpack supported but deprecated). At that time, if projects using Windi CSS upgrade to v6 and want to use Vite, they'll need to follow the Windi + Vite installation guide to manually make the changes to upgrade: https://windicss.org/integrations/vite.html