diff --git a/repomix.config.json b/repomix.config.json new file mode 100644 index 00000000..61147eb4 --- /dev/null +++ b/repomix.config.json @@ -0,0 +1,44 @@ +{ + "$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" + } +} diff --git a/repomix.config.ts b/repomix.config.ts deleted file mode 100644 index c0a3dc1a..00000000 --- a/repomix.config.ts +++ /dev/null @@ -1,60 +0,0 @@ -// Note: Normally you would import from 'repomix', but since this is the repomix project itself, -// we import directly from the source index file. -// For your projects, use: import { defineConfig } from 'repomix'; -import { defineConfig } from './src/index.js'; - -export default defineConfig({ - 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. -Repomix is designed to pack repository contents into a single file, -making it easier for AI systems to analyze and process the codebase. - -Key Features: -- Configurable ignore patterns -- Custom header text support -- Efficient file processing and packing - -Please refer to the README.md file for more detailed information on usage and configuration. -`, - instructionFilePath: 'repomix-instruction.md', - fileSummary: true, - directoryStructure: true, - files: true, - removeComments: false, - removeEmptyLines: false, - topFilesLength: 5, - showLineNumbers: false, - includeEmptyDirectories: true, - truncateBase64: true, - // Display token count tree for files/directories with 50000+ tokens - // Can be boolean (true/false) or number (minimum token threshold) - 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', - }, -});