mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-30 06:12:03 +00:00
refactor: use glob patterns for vitest projects configuration
Address PR review feedback: - Use 'libs/*/vitest.config.ts' glob to auto-discover lib projects - Simplify test:packages script to use --project='!server' exclusion - New libs with vitest.config.ts will be automatically included 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,14 +3,7 @@ import { defineConfig } from 'vitest/config';
|
||||
export default defineConfig({
|
||||
test: {
|
||||
// Use projects instead of deprecated workspace
|
||||
projects: [
|
||||
'libs/utils',
|
||||
'libs/platform',
|
||||
'libs/prompts',
|
||||
'libs/model-resolver',
|
||||
'libs/dependency-resolver',
|
||||
'libs/git-utils',
|
||||
'apps/server',
|
||||
],
|
||||
// Glob patterns auto-discover projects with vitest.config.ts
|
||||
projects: ['libs/*/vitest.config.ts', 'apps/server'],
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user