Still a lot of types and stuff to improve but I've wanted to land this change for quite some time. Now seems like a good time to do it 😄
A few notes:
Jest has been replaced with Vitest
Fixture tests now run concurrently (yay)
Tests now complete in like 4s on my machine — making me fairly happy
The package has been switched to type: module — it was already ESM only but some internal scripts used CJS. I think this is a good time to change all of that over
We use tsup to generate types — but not for bundling. I need to do a split bundling thing where the built-in version of tailwind is required through a CJS module but that will be a separate improvement.
Still a lot of types and stuff to improve but I've wanted to land this change for quite some time. Now seems like a good time to do it 😄
A few notes:
type: module
— it was already ESM only but some internal scripts used CJS. I think this is a good time to change all of that over