vitest-monorepo-setup
CommunitySet up Vitest across your monorepo.
AuthorTitoPrausee
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill removes the friction of adding reliable Vitest testing to npm and Bun workspace monorepos, especially when multiple packages, shared libraries, and web apps need one consistent test setup.
Core Features & Use Cases
- Workspace-wide setup: Installs and aligns Vitest at the repository root so packages share the same test runner version.
- Web app support: Configures React and Next.js packages with jsdom, Testing Library, and a browser-friendly setup file.
- Monorepo troubleshooting: Fixes common issues like import resolution failures, wrong relative paths from tests folders, and version mismatch errors.
- Use case: A team can add tests to a shared package and a web frontend without creating conflicting local Vitest installs or broken test paths.
Quick Start
Ask me to set up Vitest for your workspace monorepo and include your package layout, framework, and any test path or jsdom requirements.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: vitest-monorepo-setup Download link: https://github.com/TitoPrausee/nexus-toti/archive/main.zip#vitest-monorepo-setup Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.