Skip to content

Commit 93dee73

Browse files
committed
Added -lock.json to specific exclusions, and updated README to match
1 parent 545820d commit 93dee73

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Coderoller is a Python utility that flattens a source code repository into a sin
77
- **Flattens source code repositories** into a single markdown file.
88
- **Supports multiple file types** including `.py`, `.js`, `.jsx`, `.ts`, `.tsx`, `.swift`, `.go`, `.java`, `.c`, `.cpp`, `.h`, `.hpp`, `.cs`, `.lua`, `.rb`, `.php`, `.pl`, `.html`, `.css`, `.json`, `.toml`, `.md`, `.yaml`, `.yml`, `.conf`, `.ini`, and `.sh`.
99
- **Automatically includes README** files if present, placing it at the start of the flattened file.
10-
- **Excludes hidden files and directories** (those starting with a dot), specific directories (`build`, `dist`, `node_modules`, `__pycache__`), specific files (`*.flat.md`, `*.lock`, `*.hidden`), and any paths specified in `.gitignore`.
10+
- **Excludes hidden files and directories** (those starting with a dot), specific directories (`build`, `dist`, `node_modules`, `__pycache__`), specific files (lockfiles, hidden files, other flattened files, etc.), and any paths specified in `.gitignore`.
1111
- **Supports flattening directly from Git URLs** even if the repository is not cloned locally.
1212

1313
## Installation

src/coderoller/source_repo_flattener.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def should_include_path(file_path: str, spec: pathspec.PathSpec) -> bool:
7070
"__pycache__",
7171
".flat.md",
7272
".lock",
73+
"-lock.json",
7374
".hidden",
7475
]
7576

0 commit comments

Comments
 (0)