# ====================== # 通用 / IDE # ====================== # IDE .idea/ *.iml *.ipr *.iws .vscode/ *.swp *.swo *~ # OS .DS_Store Thumbs.db desktop.ini # 日志 *.log logs/ npm-debug.log* yarn-debug.log* yarn-error.log* # ====================== # 后端 (Spring Boot) # ====================== # Maven target/ !.mvn/wrapper/maven-wrapper.jar !**/src/main/**/target/ !**/src/test/**/target/ # Gradle .gradle/ build/ !**/src/main/**/build/ !**/src/test/**/build/ # Spring Boot *.original.jar *.original.war # Java *.class *.jar *.war *.ear *.nar hs_err_pid* replay_pid* # 后端敏感配置(本地覆盖) **/application-local.yml **/application-local.yaml **/application-local.properties **/application-dev-local.* # ====================== # 前端 (Node / Vite / React) # ====================== node_modules/ dist/ dist-ssr/ .vite/ *.local # 缓存 .cache/ .parcel-cache/ .eslintcache .stylelintcache # 测试 / 覆盖率 coverage/ *.lcov # pnpm .pnpm-store/ # ====================== # Python # ====================== # 字节码 __pycache__/ *.py[cod] *$py.class *.so # 虚拟环境 .venv/ venv/ env/ ENV/ .python-version # 分发包 / 打包产物 *.egg *.egg-info/ .eggs/ sdist/ wheels/ *.manifest *.spec pip-log.txt pip-delete-this-directory.txt # 测试 / 覆盖率 .pytest_cache/ .tox/ .nox/ .coverage .coverage.* htmlcov/ coverage.xml *.cover # 用户私有待提取文档(含真实业务数据,禁止开源) *.docx *.doc *.pdf # 用户私有定义文件(与私有文档配套,禁止开源) backend/data/annotations/ backend/data/samples/ !**/info_definition.json !**/info_instance.json # 用户私有调试产物 test*.py test_party.docx # 类型检查 / lint 缓存 .mypy_cache/ .pyright/ .ruff_cache/ .dmypy.json dmypy.json # Jupyter .ipynb_checkpoints/ # ====================== # 环境变量 / 密钥 # ====================== .env .env.* !.env.example !.env.template # ====================== # AI / 工具产物(按需启用) # ====================== .spec-workflow/