tailwindcss/packages
Robin Malfait 52f94c74bb
Improve codebase quality (#19999)
Small PR that improves the overall quality of the codebase. It's a bit
of everything:

1. Using correct variants for the variants we are testing
2. Use `@reference` instead of `@import` in a test, testing the
`@reference` according to the test name
3. Use `using` for Vitest related mocks. They have a `Symbol.dispose`
implemented, so we can don't have to restore mocks ourselves (right now,
some of them are not cleaned up at all).
4. Updated deprecated `.toThrowError` with `.toThrow` APIs

## Test plan

Everything still passes.

[ci-all]
2026-04-30 23:32:37 +02:00
..
@tailwindcss-browser Bump dependencies (#19957) 2026-04-24 21:21:12 +02:00
@tailwindcss-cli Bump dependencies (#19957) 2026-04-24 21:21:12 +02:00
@tailwindcss-node Bump dependencies (#19957) 2026-04-24 21:21:12 +02:00
@tailwindcss-postcss Improve codebase quality (#19999) 2026-04-30 23:32:37 +02:00
@tailwindcss-standalone Bump dependencies (#19957) 2026-04-24 21:21:12 +02:00
@tailwindcss-upgrade [@tailwindcss/upgrade] Don’t migrate inline style properties (#19918) 2026-04-29 13:18:02 +00:00
@tailwindcss-vite docs: fix various typos in comments and documentation (#19878) 2026-04-29 13:28:39 +00:00
@tailwindcss-webpack Bump dependencies (#19957) 2026-04-24 21:21:12 +02:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
tailwindcss Improve codebase quality (#19999) 2026-04-30 23:32:37 +02:00
tsconfig.base.json Improve debug logs (#15303) 2024-12-11 15:27:20 +01:00