Skip to content

Commit 967ae14

Browse files
committed
chore: migrate to vitest workspace and consolidate documentation files
1 parent f812149 commit 967ae14

6 files changed

Lines changed: 28 additions & 397 deletions

File tree

README-Vietnamese.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,16 @@ pnpm install
2121
# Build tất cả packages
2222
pnpm build
2323

24-
# Link CLI globally
25-
cd packages/cli
26-
npm link
24+
# Link CLI toàn cục (dành cho phát triển)
25+
cd packages/cli && pnpm link --global
26+
27+
# Chạy test toàn bộ dự án
28+
pnpm test
29+
pnpm test:watch # Chế độ theo dõi thay đổi
2730

2831
# Cấu hình API Key toàn cục (CHỈ CẦN LÀM 1 LẦN)
2932
codeindex setup
33+
3034
```
3135

3236
---

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ After: Paste 3 files (2KB) → Same answer
6868

6969
```bash
7070
# 1. Install
71-
npm install -g @codeindex/cli
71+
pnpm install -g @codeindex/cli
7272

7373
# 2. Setup (one-time)
7474
codeindex setup
@@ -77,7 +77,7 @@ codeindex setup
7777
cd your-project
7878
codeindex index .
7979

80-
# 4. Query!
80+
# 4. Query!cd
8181
codeindex query "How does the auth module work?"
8282
```
8383

@@ -161,7 +161,18 @@ Start server: codeindex serve . --port 3131
161161

162162
TypeScript • Python • Go • Rust • Java • C# • C++ • PHP • Swift
163163

164-
*Need another language? The adapter pattern makes it trivial to add new languages.*
164+
*Multi-language support is built-in. Each language is handled by its own dedicated adapter.*
165+
166+
***
167+
168+
## Testing
169+
170+
Run all tests across the workspace:
171+
172+
```bash
173+
pnpm test # Run all tests
174+
pnpm test:watch # Run in watch mode
175+
```
165176

166177
***
167178

docs/README-VI.md

Lines changed: 0 additions & 195 deletions
This file was deleted.

0 commit comments

Comments
 (0)