chore(gitignore): 限定 /public、/reports 与 /test(s)/,避免误忽略前端必要文件

This commit is contained in:
xucheng 2025-10-30 16:28:05 +08:00
parent 2852436a82
commit 1794674806

10
.gitignore vendored
View File

@ -248,7 +248,7 @@ dist
# Gatsby files # Gatsby files
.cache/ .cache/
public /public
# Storybook build outputs # Storybook build outputs
.out .out
@ -301,7 +301,7 @@ data/
*.xlsx *.xlsx
# 报告和输出 # 报告和输出
reports/ /reports/
output/ output/
exports/ exports/
@ -320,7 +320,7 @@ test_*.py
*_test.py *_test.py
tests/test_*.py tests/test_*.py
tests/*_test.py tests/*_test.py
test/ /test/
tests/output/ tests/output/
tests/reports/ tests/reports/
tests/coverage/ tests/coverage/
@ -337,8 +337,8 @@ tests/artifacts/
*.spec.jsx *.spec.jsx
*.spec.tsx *.spec.tsx
__tests__/ __tests__/
test/ /test/
tests/ /tests/
*.test.snap *.test.snap
coverage/ coverage/
.nyc_output/ .nyc_output/