Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(vite): add vitest.workspace.ts at root #21915

Merged
merged 1 commit into from Feb 22, 2024

Conversation

mandarini
Copy link
Member

As per: https://vitest.dev/guide/workspace.html

  • No need to add name in vite(st).config.ts, it works without name, too (example repo: https://github.com/mandarini/vitest-workspace-nx)
  • No need for particular helper to collect all projects that use vitest, we can use the '**/*/vite.config.ts', '**/*/vitest.config.ts' globs

@mandarini mandarini requested a review from a team as a code owner February 21, 2024 13:36
Copy link

vercel bot commented Feb 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Feb 21, 2024 4:31pm

@mandarini mandarini self-assigned this Feb 21, 2024
@mandarini mandarini linked an issue Feb 21, 2024 that may be closed by this pull request
4 tasks
@mandarini mandarini force-pushed the feat/vitest-workspace-generator branch from f18a723 to 39e3bc6 Compare February 21, 2024 13:53
@mandarini mandarini requested a review from a team as a code owner February 21, 2024 13:53
@mandarini mandarini force-pushed the feat/vitest-workspace-generator branch from 97b232f to e9a56ec Compare February 21, 2024 16:30
@mandarini mandarini merged commit f061f57 into nrwl:master Feb 22, 2024
6 checks passed
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vitest CLI (and other vitest tools) do not work properly for monorepos
2 participants