chore: turn cn comment to en for common space (#376)

This commit is contained in:
tecvan
2025-07-31 12:42:03 +08:00
committed by GitHub
parent f7d73cd391
commit a1f3a9aead
40 changed files with 390 additions and 390 deletions

View File

@@ -5,7 +5,7 @@ const { getChangedPackages } = require('./utils')
/**
* 针对不同类型的 commit prefix message
* For different types of commit prefix messages
*/
const typesConfig = [
{ value: 'feat', name: 'A new feature' },

View File

@@ -19,7 +19,7 @@ function getChangedPackages(changedFiles) {
const lookup = rushConfiguration.getProjectLookupForRoot(rushJsonFolder)
for (const file of changedFiles) {
const project = lookup.findChildPath(file)
// 如果没找到注册的包信息,则认为是通用文件更改
// If the registered package information is not found, it is considered a generic file change
const packageName = project?.packageName || 'misc'
if (!changedPackages.has(packageName)) {
changedPackages.add(packageName)