Skip to content

Commit 04e99fa

Browse files
committed
refactor(gitignore): add global **/dist pattern and remove redundant local gitignores
All dist/ directories are build artifacts and should be gitignored. Add **/dist to root .gitignore alongside existing **/build, **/coverage, and **/html patterns. Remove redundant local .gitignore files: - packages/cli/.gitignore (only contained dist/) - packages/cli-with-sentry/.gitignore (only contained dist/) All build artifacts are now consistently handled by root .gitignore: - **/build (workspace + archive) - **/dist (build output) - **/coverage (test coverage) - **/html (generated docs)
1 parent 0953e80 commit 04e99fa

File tree

3 files changed

+2
-19
lines changed

3 files changed

+2
-19
lines changed

.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Thumbs.db
2323
**/coverage
2424
**/.type-coverage
2525
**/build
26+
**/dist
2627
**/node_modules
2728
.build-checkpoints
2829
*.d.ts
@@ -40,10 +41,8 @@ Thumbs.db
4041
*.sw?
4142
.*.sw?
4243

43-
# Build artifacts: build/ = gitignored (workspace + archive), dist/ = tracked (blessed releases).
44+
# Build artifacts: All build/, dist/, coverage/, and html/ directories are gitignored.
4445
# Exceptions:
45-
# - packages/cli/dist/ is Rollup output (ephemeral), gitignored by packages/cli/.gitignore
46-
# - packages/cli-with-sentry/dist/ is esbuild output (ephemeral), gitignored by packages/cli-with-sentry/.gitignore
4746
# - !/docs/build allows tracking docs/build/ (documentation directory, not build artifacts)
4847
# - Note: New files in docs/build/ require `git add -f` due to **/build pattern
4948

packages/cli-with-sentry/.gitignore

Lines changed: 0 additions & 14 deletions
This file was deleted.

packages/cli/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)