nested workspaces #7732
meesvandongen
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
workspace
setting is used for several concepts;In monorepo environments, you might want to use both of these concepts at the same time. But one of them is package-scoped, and one makes more sense for the whole repository.
Currently, Vitest will look at the configuration and workspace configuration in the root. It will use the workspace config to determine the location of vitest configuration files (and will ignore further workspace configuration files/settings). Here is a repository to demonstrate this behavior: https://github.com/meesvandongen/vitest-workspace-test
The test suite will fail if run in the root directory, but pass in the "1" directory.
It would be useful if vitest could also look at workspace files/settings in these locations (and recursively do the same thing for those files).
Beta Was this translation helpful? Give feedback.
All reactions