Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

Commit dc3bb7a

Browse files
committed
refactor: 重构索引至 v2 架构
- 提升索引性能 - 扩大召回片段 - 修复大体积仓库构建失败的问题
1 parent 6f21210 commit dc3bb7a

56 files changed

Lines changed: 3965 additions & 2040 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
# Auto-normalize line endings for all text files
2+
* text=auto
3+
4+
# Force Unix line endings for shell scripts and configuration files
5+
*.sh text eol=lf
6+
*.bash text eol=lf
7+
*.zsh text eol=lf
8+
Dockerfile text eol=lf
9+
Makefile text eol=lf
10+
11+
# Web development files
12+
*.html text eol=lf
13+
*.css text eol=lf
14+
*.scss text eol=lf
15+
*.sass text eol=lf
16+
*.less text eol=lf
17+
*.js text eol=lf
18+
*.jsx text eol=lf
19+
*.ts text eol=lf
20+
*.tsx text eol=lf
21+
*.vue text eol=lf
22+
*.json text eol=lf
23+
*.xml text eol=lf
24+
*.yaml text eol=lf
25+
*.yml text eol=lf
26+
*.md text eol=lf
27+
*.mdx text eol=lf
28+
*.txt text eol=lf
29+
30+
# Configuration files
31+
*.config.js text eol=lf
32+
*.config.ts text eol=lf
33+
*.config.json text eol=lf
34+
.gitignore text eol=lf
35+
.gitattributes text eol=lf
36+
.editorconfig text eol=lf
37+
.eslintrc* text eol=lf
38+
.prettierrc* text eol=lf
39+
tsconfig*.json text eol=lf
40+
package.json text eol=lf
41+
package-lock.json text eol=lf
42+
yarn.lock text eol=lf
43+
vercel.json text eol=lf
44+
postcss.config.js text eol=lf
45+
tailwind.config.js text eol=lf
46+
vite.config.ts text eol=lf
47+
48+
# Binary files - explicitly set as binary to prevent corruption
49+
*.png binary
50+
*.jpg binary
51+
*.jpeg binary
52+
*.gif binary
53+
*.ico binary
54+
*.svg binary
55+
*.webp binary
56+
*.woff binary
57+
*.woff2 binary
58+
*.ttf binary
59+
*.otf binary
60+
*.eot binary
61+
*.pdf binary
62+
*.zip binary
63+
*.tar.gz binary
64+
*.7z binary
65+
*.exe binary
66+
*.dll binary
67+
*.so binary
68+
*.dylib binary
69+
70+
# Node.js related
71+
node_modules/ export-ignore
72+
73+
# Build outputs
74+
dist/ export-ignore
75+
build/ export-ignore
76+
out/ export-ignore
77+
coverage/ export-ignore
78+
.next/ export-ignore
79+
.nuxt/ export-ignore
80+
.vite/ export-ignore
81+
82+
# IDE and OS specific files
83+
.vscode/ export-ignore
84+
.idea/ export-ignore
85+
.DS_Store export-ignore
86+
Thumbs.db export-ignore
87+
desktop.ini export-ignore
88+
89+
# Log files
90+
*.log export-ignore
91+
npm-debug.log* export-ignore
92+
yarn-debug.log* export-ignore
93+
yarn-error.log* export-ignore
94+
95+
# Environment files
96+
.env export-ignore
97+
.env.local export-ignore
98+
.env.*.local export-ignore

.github/workflows/generate-index.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
- dev
87
workflow_dispatch: {}
98

109
jobs:
@@ -21,4 +20,4 @@ jobs:
2120
- name: Generate Repo Viewer search index
2221
uses: H-Sofie/Repo-Viewer-Search@main
2322
with:
24-
branches: main, dev
23+
branches: main

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
- name: Checkout repository
2323
uses: actions/checkout@v5
2424

25-
- name: Use Node.js 24
25+
- name: Use Node.js 24.12.0
2626
uses: actions/setup-node@v6
2727
with:
28-
node-version: 24
28+
node-version: 24.12.0
2929
cache: npm
3030
cache-dependency-path: package-lock.json
3131

0 commit comments

Comments
 (0)