mirror of
https://github.com/jlengrand/Maestro.git
synced 2026-03-10 08:31:19 +00:00
- Add ghPath setting to specify custom path to gh binary (e.g., /opt/homebrew/bin/gh) - Update git:checkGhCli and git:createPR IPC handlers to accept optional ghPath - Add UI in Settings > General for configuring the gh path - Pass ghPath through BatchRunnerModal and useBatchProcessor for PR creation - Include test infrastructure setup (vitest) and misc updates Claude ID: 295a322c-974c-4b49-b31d-f7be18819332 Maestro ID: b9bc0d08-5be2-4fdf-93cd-5618a8d53b35
33 lines
809 B
TypeScript
33 lines
809 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import react from '@vitejs/plugin-react';
|
|
import path from 'path';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
test: {
|
|
globals: true,
|
|
environment: 'jsdom',
|
|
setupFiles: ['./src/__tests__/setup.ts'],
|
|
include: ['src/**/*.{test,spec}.{ts,tsx}'],
|
|
exclude: ['node_modules', 'dist', 'release'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'text-summary', 'json', 'html'],
|
|
reportsDirectory: './coverage',
|
|
include: ['src/**/*.{ts,tsx}'],
|
|
exclude: [
|
|
'node_modules',
|
|
'dist',
|
|
'src/__tests__/**',
|
|
'**/*.d.ts',
|
|
'src/main/preload.ts', // Electron preload script
|
|
],
|
|
},
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
},
|
|
},
|
|
});
|