Skip to content

feat: project tree respects gitignore/codefetchignore by default - #17

Merged
regenrek merged 1 commit into
mainfrom
fix/project-tree-respect-gitignore
Nov 25, 2025
Merged

regenrek merged 1 commit into
mainfrom
fix/project-tree-respect-gitignore

Conversation

@regenrek

Copy link
Copy Markdown
Owner

Summary

  • Project tree now respects ignore files by default - --project-tree only shows files that would be included in codebase analysis
  • New flag: --project-tree-skip-ignore-files - Restores previous behavior (shows all files including ignored ones)
  • New SDK function: generateProjectTreeFromFiles() - Builds tree from filtered file list
  • New config option: projectTreeSkipIgnoreFiles - Control tree behavior in config

Changes

CLI

  • Added --project-tree-skip-ignore-files flag
  • Updated help text and documentation

SDK

  • Added generateProjectTreeFromFiles() function
  • Added projectTreeSkipIgnoreFiles option to MarkdownGeneratorOptions
  • Updated generateMarkdown() to use filtered tree by default

Tests

  • Added comprehensive test coverage for CLI and SDK
  • Coverage now above 70% target

Documentation

  • Updated README files with new flag documentation
  • Updated CHANGELOG files with version notes

- Project tree now only shows files that would be included in codebase analysis
- Added --project-tree-skip-ignore-files flag to restore previous behavior
- Added generateProjectTreeFromFiles() function in SDK
- Added projectTreeSkipIgnoreFiles config option
- Updated documentation and changelogs
- Added comprehensive test coverage for CLI and SDK
@regenrek
regenrek merged commit 7ef0f99 into main Nov 25, 2025
9 checks passed
@regenrek
regenrek deleted the fix/project-tree-respect-gitignore branch November 25, 2025 15:44
@github-actions

Copy link
Copy Markdown

🧪 SDK Test Results

✅ All checks passed!

Check Status
Linting ✅ success
Type Check ✅ success
Tests ✅ success
Build ✅ success

View full logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant