1.0.1 • Published 8 months ago
@jolisoft/concat-src v1.0.1
@jolisoft/concat-src
Concatenate source files from one or more JavaScript / TypeScript projects into a single output file — ideal for code reviews, demos, or inspection.
🚀 Features
- Works with multi-project setups using React, TypeScript, Node.js, etc.
- Runs from a solution root, scanning subprojects (1 level deep)
- Includes
.js,.ts,.tsx,.cssfiles - Skips
node_modules, lockfiles, and redundant transpiled.jsfiles - No dependencies — lightweight and fast
📦 Installation (Required)
npm install -g @jolisoft/concat-srcThis installs the global CLI command:
concatSrc🧰 Usage
Run from the root folder containing your projects:
concatSrcOptionally, target a specific subproject:
concatSrc --project my-subfolder📁 Output
Each project will generate a file like:
project-name_combined.txtFiles are saved in the current directory.
🛑 Exclusions
Automatically skips:
node_modules/,package-lock.json, and similar.jsfiles that have matching.tsor.tsxversions
Built with ❤️ by Jolisoft