chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -46,7 +46,7 @@ const calBasePreset = (preset: string) => {
export interface OtherConfig {
/**
* 用于修复semipackage.json导出的配置问题
* Used to fix the configuration issue of semi's package.json export
*/
fixSemi: boolean;
}

View File

@@ -20,7 +20,7 @@ import tsconfigPaths from 'vite-tsconfig-paths';
export const defaultVitestConfig: UserConfig = {
plugins: [tsconfigPaths()],
resolve: {
// 优先识别 main如果没有配置 main则识别 module
// Priority to identify main, if main is not configured, identify the module
mainFields: ['main', 'module', 'exports'],
},
server: {
@@ -38,14 +38,14 @@ export const defaultVitestConfig: UserConfig = {
},
},
sequence: {
// vitest 2.0之后,所有钩子默认串行运行
// After vitest 2.0, all hooks run serially by default
hooks: 'parallel',
},
globals: true,
mockReset: false,
silent: process.env.CI === 'true',
coverage: {
// 逐步对各包开启
// Gradually open each package
all: false,
include: ['src/**/*.ts', 'src/**/*.tsx'],
exclude: coverageConfigDefaults.exclude,