From 13646a125a5601fa14cbbe752da33483548a6aa8 Mon Sep 17 00:00:00 2001 From: Quang Pham Date: Wed, 11 Mar 2026 09:13:03 +0700 Subject: [PATCH 1/2] fix(ui): reuse global vitest config instead of duplicating --- packages/ui/vitest.config.ts | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/packages/ui/vitest.config.ts b/packages/ui/vitest.config.ts index 31259dc..44f89c8 100644 --- a/packages/ui/vitest.config.ts +++ b/packages/ui/vitest.config.ts @@ -1,8 +1,11 @@ -import { defineConfig } from 'vitest/config'; +import { reactConfig } from '@seaguntech/vitest-config/react'; +import { defineConfig, mergeConfig } from 'vitest/config'; -export default defineConfig({ - test: { - environment: 'jsdom', - include: ['tests/**/*.{test,spec}.{ts,tsx}'], - }, -}); +export default mergeConfig( + reactConfig, + defineConfig({ + test: { + include: ['tests/**/*.{test,spec}.{ts,tsx}'], + }, + }), +); From a65335f8f12469ec8c05ddad03efc2feba07f8f3 Mon Sep 17 00:00:00 2001 From: Quang Pham Date: Wed, 11 Mar 2026 09:18:00 +0700 Subject: [PATCH 2/2] chore: ignore registry build artifacts in public/r/ --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 8f9eda7..29ee931 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,7 @@ playwright/.cache/ # Build Outputs .next/ apps/www/next-env.d.ts +apps/www/public/r/ out/ build/ dist/