-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitignore
More file actions
164 lines (133 loc) · 3.48 KB
/
.gitignore
File metadata and controls
164 lines (133 loc) · 3.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
*.local
# Test coverage (root-level coverage reports from vitest/jest)
/coverage
coverage-reports
# But allow source files in apps/*/coverage/ directories (test infrastructure utilities)
!apps/web/coverage/
# Runtime cache directories
/cache
# Test results and artifacts
test-results
playwright-report*
playwright-report-shard-*/
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# Nx cache and workspace data
.nx/
**/.nx/
.cursor/rules/nx-rules.mdc
.github/instructions/nx.instructions.md
# Auto-generated acknowledgements (managed by CI)
ACKNOWLEDGEMENTS.md
# Monorepo specific
apps/*/dist
apps/*/node_modules
packages/*/dist
packages/*/node_modules
packages/*/coverage
# Package build artifacts
*.tgz
**/dist/
**/build/
# Ignore lib directories in node_modules or package root, but allow src/lib
node_modules/**/lib/
/lib/
# Allow source lib directories
!src/lib/
!apps/*/src/lib/
!packages/*/src/lib/
# But ignore compiled lib in tools
tools/dist/**/lib/
# TypeScript compiled outputs in source directories
# (dist/ is already ignored above, node_modules/ has its own ignore)
**/*.js
**/*.d.ts
**/*.js.map
**/*.d.ts.map
# Allow Vite environment type definitions
!**/vite-env.d.ts
# TypeScript build info files
*.tsbuildinfo
**/tsconfig.tsbuildinfo
# Temporary files
.temp/
.tmp/
# Claude development notes and plans (but allow Spec Kit commands)
.claude/*
!.claude/commands/
# Vitest temporary compiled config files
**/*.timestamp-*.mjs
# Vite temporary compiled config files
**/vite.config.base.ts.timestamp-*.mjs
**/.vite-temp/
graph.json
# Test cache data files (generated during test execution with unified hex encoding)
test-results.json
# Working files protection (Constitution Principle XIV - Working Files Hygiene)
# ALL markdown and image files are ignored by default
# Intentional documentation MUST be force-added: git add -f <file>
# Primary mechanism is still active cleanup - delete working files before staging
*.md
*.png
*.jpg
*.jpeg
# Route coverage reports (generated during E2E test verification)
tools/scripts/route-coverage-report.md
vite.config.*.timestamp*
vitest.config.*.timestamp*
output.json
# ESLint cache files
**/.eslintcache/
# Nx local cache files
nx-local-cache.json
# Backup files
*.backup
**/*.backup
apps/web/src/routeTree.gen.ts
# Prevent incorrectly nested cache directories from workspace root detection bugs
apps/web/apps/
# TypeScript in-place compilation artifacts (PROBLEM - should never exist)
# These files should only exist in dist/, never in src/
apps/web/src/**/*.js
apps/web/src/**/*.js.map
apps/web/src/**/*.d.ts
apps/web/src/**/*.d.ts.map
# No exceptions - ALL .js files in src/ are compilation artifacts
# If a .ts/.tsx source exists, the .js should NEVER be committed
# Root-level TypeScript compilation artifacts (PROBLEM - should never exist)
# Config files should remain as .ts and be processed by tsx/vite
vite.config.base.js
vite.config.base.d.ts
vitest.config.base.js
vitest.config.base.d.ts
# Environment files (contain sensitive API keys)
.env
.env.*
!.env.example
# OpenAlex fixtures (generated, large - regenerate with scripts/build-connection-graph.ts)
fixtures/.entity-cache.json
fixtures/connection-graph.json
fixtures/works-sample.json
scripts/fixtures/*.json
!scripts/fixtures/.gitkeep
# Benchmark datasets (downloaded via scripts/download-benchmarks.sh)
data/benchmarks/