twind
twind copied to clipboard
allow typescript v5
You might find our contributing section about Submitting Pull Requests helpful.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
- [x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason.
- [x] This message body should clearly illustrate what problems it solves.
- [ ] ~Ideally, include a test that fails without this PR but passes with it.~
Tests
- [ ] Run the tests with
pnpm testand verify the project withpnpm check
Changesets
- [ ] ~If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running
pnpx changesetand following the prompts. All changesets should bepatchuntil Twind 1.0~
just allows typescript v5 to be used. closes #497 , didn't try it out to see if typescript v5 has any issues with this though i doubt it.
Run & review this pull request in StackBlitz Codeflow.
⚠️ No Changeset found
Latest commit: 991cfdcc3d6db8afd703cc9ca54be5310b502987
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
can we get this merged
when this will be merged?
so you can can use "overrides" in package.json but we decided to go another direction. This problem definitely made us question using twind since it doesn't look to be maintained anymore
Hi @PatrickJS what was your solution? twin.macro?
@kasvith my solution was to migrate off since the project isn't maintained anymore. StyleX has a tw-to-stylex https://github.com/nmn/tw-to-stylex and @nmn is happy to help 😁
Hi @PatrickJS
thanks for suggestion, im using solidjs wondering whether it will work same
@kasvith yup. Solidjs is fully supported with StyleX. There are two open source Vite plugins for StyleX, but you can also try using the hand rolled plugin shared in the Qwik Example.
https://stylexjs.com/docs/learn/ecosystem/
Last I tried, there were issues with Solid Start though. I haven’t tried again in the last couple of months though.
Hello @sastan is there any additional work required to get this change merged? Myself and others would appreciate having this issue resolved.
I see we can use npm's overrides fields, but it would be great to be able to install this library with an up-to-date toolchain! Thank you for your work 🙂