feat!: inline @vitest/runner package, do not publish it anymore by sheremet-va · Pull Request #10511 · vitest-dev/vitest (original) (raw)
This package is very tightly connected to Vitest and is not used outside of vitest. We had to develop a lot of hacky workaround to augment types or pass down objects in a strange way to keep it agnostic, but the benefits do not outweght the negatives at this point.
The runner config option still works the same way as it did before, the public types are also not touched. This is mostly a refactor change.
TODO:
- Make utils modules not be bundled together with the runner (like
createFileTask) since these modules are also used on node side