Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (codemerge-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
CodeMerge
AI-focused code and data preparation utility.
Bootstrap (Create New Project)
To create a new CodeMerge project from scratch:
# Using bootstrap script
node bootstrap.js [target-directory] [--force]
# Examples
node bootstrap.js
node bootstrap.js ./my-project
node bootstrap.js . --force
Installation
npm install -g codemerge
Quick Start
# Merge current directory
codemerge use
# Merge specific directory
codemerge use ./src
# Custom output
codemerge use --output ai-digest.txt
# With filters
codemerge use --ignore "*.log,*.test.ts"
codemerge use --include "**/*.ts,**/*.js"
Configuration
Create codemerge.json
in your project root:
{
"outputPath": "ai-digest.txt",
"ignorePatterns": ["node_modules/**", "dist/**"],
"includePatterns": ["**/*.ts", "**/*.js"]
}
Development
# Install dependencies
npm install
# Build
npm run build
# Development mode
npm run dev
# Run locally
npm start use
License
MIT