Files
market/vitest.config.ts
zeekay 661a6a28d5 rebrand: Bot Hub → Hanzo Market, white-label via @luxfi/brand schema
- Repo transferred hanzobot/hub → hanzoai/market (matches owned hanzo.market domain)
- npm package: bothub → @hanzoai/market, packages/bothub → packages/market
- bothub-schema → @hanzoai/market-schema
- CLI binary: bothub → market
- Brand: Bot Hub → Hanzo Market across ~95 user-facing surfaces (README, docs, k8s,
  Dockerfile, public/manifest.json, OG image, CLI banner, site config, theme)
- Brand-neutral white-label: src/brand/ owns BrandConfig + BrandTheme + loader,
  public/brands/<id>.json presets for hanzo, zoo, lux, pars, liquidity, generic
- BRAND_ID env at build picks default; ConfigMap-mounted brand.json overrides at runtime
- Legacy paths retained for compat: ~/.bothub, .bothubignore, /.well-known/bothub.json,
  bothub-theme localStorage key, LEGACY_HOSTS for hub.hanzo.bot/clawhub.ai
- Fixed broken sed-replace artifacts in packages/market/src/cli/botConfig.test.ts
- Drops Clawd/OpenClaw dead brand surface, keeps Clawdis* schema types and
  clawd skill directory paths (backward compat for installed bot products)
2026-05-29 13:46:09 -07:00

49 lines
1.1 KiB
TypeScript

import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
environment: 'jsdom',
globals: true,
setupFiles: ['./vitest.setup.ts'],
exclude: [
'**/node_modules/**',
'**/dist/**',
'**/coverage/**',
'**/convex/_generated/**',
'e2e/**',
'**/*.e2e.test.ts',
],
coverage: {
provider: 'v8',
reporter: ['text', 'html', 'lcov'],
thresholds: {
lines: 70,
functions: 70,
branches: 70,
statements: 70,
},
include: [
'src/lib/**/*.{ts,tsx}',
'convex/lib/skills.ts',
'convex/lib/skillZip.ts',
'convex/lib/tokens.ts',
'convex/httpApi.ts',
'packages/market/src/**/*.ts',
'packages/schema/src/**/*.ts',
],
exclude: [
'node_modules/',
'dist/',
'coverage/',
'convex/_generated/',
'packages/market/src/cli/**',
'packages/market/src/cli.ts',
'packages/market/src/config.ts',
'packages/market/src/types.ts',
'packages/schema/dist/',
'e2e/**',
],
},
},
})