75 lines
1.3 KiB
Plaintext
75 lines
1.3 KiB
Plaintext
# =============================================================================
|
|
# Cursor Indexing Exclusions
|
|
# =============================================================================
|
|
# 排除不需要 AI 索引的文件,减少噪音,提升准确性
|
|
# =============================================================================
|
|
|
|
# Dependencies
|
|
node_modules/
|
|
.pnpm-store/
|
|
bower_components/
|
|
|
|
# Build outputs
|
|
dist/
|
|
build/
|
|
out/
|
|
.turbo/
|
|
|
|
# PHP
|
|
vendor/
|
|
runtime/
|
|
|
|
# Package manager locks (大文件,低价值)
|
|
package-lock.json
|
|
pnpm-lock.yaml
|
|
yarn.lock
|
|
bun.lockb
|
|
composer.lock
|
|
|
|
# Environment & Secrets
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
*.pem
|
|
*.key
|
|
*.cert
|
|
|
|
# AI logs (可观测但不需索引)
|
|
.ai-logs/
|
|
|
|
# Version control
|
|
.git/
|
|
|
|
# IDE
|
|
.vscode/settings.json
|
|
.idea/
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Large assets
|
|
*.mp4
|
|
*.mov
|
|
*.zip
|
|
*.tar.gz
|
|
*.woff2
|
|
*.woff
|
|
*.ttf
|
|
|
|
# Generated
|
|
coverage/
|
|
.nyc_output/
|
|
storybook-static/
|
|
*.generated.*
|
|
|
|
# Business code dependencies (avoid indexing, keep source code visible)
|
|
Case-Database-Frontend-user/node_modules/
|
|
Case-Database-Frontend-user/dist/
|
|
Case-Database-Frontend-admin/node_modules/
|
|
Case-Database-Frontend-admin/dist/
|
|
Case-Database-Backend/vendor/
|
|
Case-Database-Backend/runtime/
|
|
Case-Database-Frontend-shared/node_modules/
|
|
Case-Database-Frontend-shared/dist/
|