No description
Find a file
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
.github Bump Vitest to v4 (#19216) 2025-11-20 18:16:20 -05:00
crates Skip comments in Ruby files when checking for class names (#19243) 2025-11-13 05:53:39 -05:00
integrations Bump Vitest to v4 (#19216) 2025-11-20 18:16:20 -05:00
packages Bump Vitest to v4 (#19216) 2025-11-20 18:16:20 -05:00
patches Update Lightning CSS to 1.30.2 (#19143) 2025-10-17 15:41:49 -04:00
playgrounds Update all of nextjs 15.5.6 → 16.0.3 (major) (#19341) 2025-11-20 10:54:23 -05:00
scripts Make TypeScript a bit more happy (#19124) 2025-10-14 19:52:46 +00:00
.gitignore Fix slow unit test (#17465) 2025-03-31 15:26:01 +02:00
.npmrc introduce v4 codebase 2024-03-05 14:29:15 +01:00
.prettierignore Hoist oxide/crates to just crates (#13333) 2024-03-23 09:00:48 -04:00
Cargo.lock Remove unused crossbeam dependency in oxide (#19256) 2025-11-04 10:37:21 -05:00
Cargo.toml Hoist oxide/crates to just crates (#13333) 2024-03-23 09:00:48 -04:00
CHANGELOG.md Don’t unconditionally convert config keys to kebab-case (#19337) 2025-11-20 22:39:55 +00:00
LICENSE Add README, LICENSE, and CONTRIBUTING (#13088) 2024-03-05 14:45:39 -05:00
package.json Bump Vitest to v4 (#19216) 2025-11-20 18:16:20 -05:00
pnpm-lock.yaml Bump Vitest to v4 (#19216) 2025-11-20 18:16:20 -05:00
pnpm-workspace.yaml Update Lightning CSS to 1.30.2 (#19143) 2025-10-17 15:41:49 -04:00
README.md Update README.md (#18434) 2025-07-02 16:40:30 -04:00
rust-toolchain.toml Improve Oxide candidate extractor [0] (#16306) 2025-03-05 11:55:24 +01:00
turbo.json Fix segmentation fault when loading @tailwindcss/oxide in a Worker thread (#17276) 2025-03-18 16:28:20 -04:00
vitest.config.ts Bump Vitest to v4 (#19216) 2025-11-20 18:16:20 -05:00

Tailwind CSS

A utility-first CSS framework for rapidly building custom user interfaces.

Build Status Total Downloads Latest Release License


Documentation

For full documentation, visit tailwindcss.com.

Community

For help, discussion about best practices, or feature ideas:

Discuss Tailwind CSS on GitHub

Contributing

If you're interested in contributing to Tailwind CSS, please read our contributing docs before submitting a pull request.