Files
schemas-app/vitest.config.ts
T
argoyle 072e1b10f1 feat: initial schemas-app implementation
- Add Nuxt 4 application with Vuetify UI framework
- Implement GraphQL schema registry management interface
- Add Apollo Client integration with Auth0 authentication
- Create organization and API key management
- Add schema and ref browsing capabilities
- Implement organization switcher for multi-org users
- Add delete functionality for organizations and API keys
- Create Kubernetes deployment descriptors
- Add Docker configuration with nginx

Features:
- Dashboard with organization overview
- Schema browsing by ref with supergraph viewing
- Ref management with schema details
- Settings page for organizations and API keys
- User list per organization with provider icons
- Admin-only organization creation
- Delete confirmations with warnings

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 17:10:10 +01:00

53 lines
1.3 KiB
TypeScript

import vue from '@vitejs/plugin-vue'
import { dirname,resolve } from 'path'
import { fileURLToPath } from 'url'
import { defineConfig } from 'vitest/config'
const __filename = fileURLToPath(import.meta.url)
const __dirname = dirname(__filename)
export default defineConfig({
plugins: [vue()],
test: {
environment: 'jsdom',
globals: true,
setupFiles: ['./test/setup.ts'],
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
include: [
'app/utils/**/*.{ts,js}',
'app/components/**/*.vue',
'app/composables/**/*.{ts,js}',
'app/hooks/**/*.{ts,js}',
'app/store/**/*.{ts,js}',
],
exclude: [
'app/graphql/generated.ts', // GraphQL generated code
'**/*.d.ts',
'**/*.config.*',
'**/node_modules/**',
'**/test/**',
'**/__tests__/**',
'**/*.spec.ts',
'**/*.test.ts',
],
// TODO: Re-enable coverage thresholds once we have more test coverage
// thresholds: {
// statements: 70,
// branches: 70,
// functions: 70,
// lines: 70,
// },
},
},
resolve: {
alias: {
'~': resolve(__dirname, './app'),
'~~': resolve(__dirname, '.'),
'@': resolve(__dirname, './app'),
},
extensions: ['.js', '.ts', '.jsx', '.tsx', '.json', '.vue'],
},
})