tailwindcss/packages
Robin Malfait 479b725cd3
Bump Vitest to v4 (#19216)
This PR bumps Vitest from v2 to v4. As far as I know we don't use any
Vitest specific features in our tests, but had to upgrade the
`vitest.workspace.ts` file to a `vitest.config.ts` file instead.

The only features we use are the typical `describe`, `it`, `test`, and
`expect` functions.

The only other part we use is `vi.spyOn` and `vi.fn` but those didn't
change in API either.

The test shards were removed to prevent errors. Not all suites have
enough files / tests to be broken up into 3 parts so Vitest now errors
when that happens.

### Test plan

1. All tests should pass in CI.
2. All integration tests should pass in CI.

---------

Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2025-11-20 18:16:20 -05:00
..
@tailwindcss-browser Release v4.1.17 (#19272) 2025-11-06 10:20:36 -05:00
@tailwindcss-cli Release v4.1.17 (#19272) 2025-11-06 10:20:36 -05:00
@tailwindcss-node Fix validation of source(…) paths (#19274) 2025-11-06 16:24:17 -05:00
@tailwindcss-postcss Release v4.1.17 (#19272) 2025-11-06 10:20:36 -05:00
@tailwindcss-standalone Update @types/bun to version 1.3.2 2025-11-20 22:08:27 +00:00
@tailwindcss-upgrade Bump Vitest to v4 (#19216) 2025-11-20 18:16:20 -05:00
@tailwindcss-vite Support Vite Environment API (#18970) 2025-11-18 12:38:57 -05:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
tailwindcss Bump Vitest to v4 (#19216) 2025-11-20 18:16:20 -05:00
tsconfig.base.json Improve debug logs (#15303) 2024-12-11 15:27:20 +01:00