feat(web): 迁移前端配置文件(任务 T4.2)

- 替换 package.json,适配项目名 novalon-manage-web
- 替换环境配置文件 .env.example、.env.test
- 替换 vite.config.ts
- 替换 tsconfig.json、tsconfig.node.json
- 替换 vitest.config.ts
This commit is contained in:
张翔
2026-04-27 15:00:43 +08:00
parent f0746d06db
commit d03253617c
2 changed files with 4 additions and 6 deletions
+1 -4
View File
@@ -7,10 +7,8 @@ export default defineConfig({
test: {
globals: true,
environment: 'jsdom',
setupFiles: ['./src/test/setup.ts'],
// 明确指定包含单元测试文件和角色定义测试
setupFiles: ['./src/__tests__/setup.ts'],
include: [
'src/test/**/*.{test,spec}.{js,ts,jsx,tsx}',
'src/__tests__/**/*.{test,spec}.{js,ts,jsx,tsx}'
],
// 明确排除E2E测试文件
@@ -27,7 +25,6 @@ export default defineConfig({
reporter: ['text', 'json', 'html', 'lcov'],
exclude: [
'node_modules/',
'src/test/',
'src/__tests__/',
'**/*.d.ts',
'**/*.config.*',