Skip to content

Commit 39b38f3

Browse files
committed
refactor(core): 重命名多个文件及其引用路径以统一命名规范
- 将核心模块文件名改为短横线风格(kebab-case) - 更新所有相关导入路径以匹配重命名后的文件名 - 修改测试文件名和对应引用路径,保持一致性 - 调整部分组件及钩子中的类型导入路径 - 无业务功能变更,仅代码结构及命名优化
1 parent 77245d8 commit 39b38f3

35 files changed

Lines changed: 35 additions & 35 deletions

src/cli.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react";
22
import { render } from "ink";
33
import { setShellIfWindows } from "./common/system/shell-utils";
4-
import { checkForNpmUpdate, promptForPendingUpdate, type PackageInfo } from "./common/updateCheck";
4+
import { checkForNpmUpdate, promptForPendingUpdate, type PackageInfo } from "./common/update-check";
55
import { AppContainer } from "./ui";
66

77
const args = process.argv.slice(2);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
replaceCurrentFileMentionToken,
1111
scanFileMentionItems,
1212
type FileMentionItem,
13-
} from "../ui/core/fileMentions";
13+
} from "../ui/core/file-mentions";
1414

1515
test("getCurrentFileMentionToken detects bare @file tokens under the cursor", () => {
1616
assert.deepEqual(getCurrentFileMentionToken({ text: "review @src/app.ts please", cursor: 10 }), {

0 commit comments

Comments
 (0)