Files
repomix-mirror/repomix.config.json
Kazuki Yamada b0a2b1e2a7 fix(config): Revert config file from TypeScript to JSON format
This change addresses issue #899 where running repomix against its own
repository fails when dependencies are not installed. The TypeScript
config file required runtime module resolution (including dependencies
like picocolors), which caused errors in fresh clones without npm install.

The JSON format:
- Requires no dependencies or module resolution
- Is more stable and universal
- Works immediately after git clone without npm install
- Maintains all the same configuration options

Closes #899
2025-10-19 22:10:39 +09:00

45 lines
1.4 KiB
JSON

{
"$schema": "https://repomix.com/schemas/latest/schema.json",
"input": {
"maxFileSize": 50000000
},
"output": {
"filePath": "repomix-output.xml",
"style": "xml",
"parsableStyle": false,
"compress": false,
"headerText": "This repository contains the source code for the Repomix tool.\nRepomix is designed to pack repository contents into a single file,\nmaking it easier for AI systems to analyze and process the codebase.\n\nKey Features:\n- Configurable ignore patterns\n- Custom header text support\n- Efficient file processing and packing\n\nPlease refer to the README.md file for more detailed information on usage and configuration.\n",
"instructionFilePath": "repomix-instruction.md",
"fileSummary": true,
"directoryStructure": true,
"files": true,
"removeComments": false,
"removeEmptyLines": false,
"topFilesLength": 5,
"showLineNumbers": false,
"includeEmptyDirectories": true,
"truncateBase64": true,
"tokenCountTree": 50000,
"git": {
"sortByChanges": true,
"sortByChangesMaxCommits": 100,
"includeDiffs": true,
"includeLogs": true,
"includeLogsCount": 50
}
},
"include": [],
"ignore": {
"useGitignore": true,
"useDefaultPatterns": true,
// ignore is specified in .repomixignore
"customPatterns": []
},
"security": {
"enableSecurityCheck": true
},
"tokenCount": {
"encoding": "o200k_base"
}
}