Skip to content

Releases

v1.0.2

Choose a tag to compare

@O6lvl4 O6lvl4 released this 19 Mar 16:24

This release adds automatic detection and skipping of binary file contents. When a binary file is detected, its contents are skipped with a clear informational message.

What's New

  • Automatic binary file detection based on initial file content
  • Skips displaying binary file contents with message "Binary file not displayed."
  • Documentation improvements reflecting new behavior

v1.0.1

Choose a tag to compare

@O6lvl4 O6lvl4 released this 19 Mar 01:58

Here's the release description in English you can use when creating the GitHub tag (v1.0.1):


🌳 treesrc v1.0.1

🔧 Improvements

  • Added .git directory to the default ignore patterns.
  • Improved documentation for clarity.

🐛 Fixes

  • Ensured the .git directory is always ignored by default, regardless of .gitignore configuration.

🚀 Update Instructions

To update to the latest version, run:

npm update -g treesrc

v1.0.0

Choose a tag to compare

@O6lvl4 O6lvl4 released this 19 Mar 01:47

🌳 treesrc v1.0.0 Released! 🎉

We are thrilled to announce the first stable release (v1.0.0) of treesrc, a TypeScript-based CLI tool that neatly displays directory structures and file contents, fully respecting .gitignore rules.

🔥 Features

  • Display directory structures as a tree view
  • Output file contents clearly
  • Automatically respect .gitignore rules
  • Easily add custom ignore patterns

🚀 Tech Stack

  • Built with TypeScript for type safety and maintainability
  • Commander.js for intuitive CLI interactions
  • Uses ignore library to apply .gitignore patterns

📦 Installation

Install globally:

npm install -g treesrc

Or use temporarily with:

npx treesrc <directory>

🛠️ Usage Examples

Basic usage:

treesrc ./my-project

With custom ignore patterns:

treesrc ./my-project -i '*.log' '*.tmp'

🎯 Key Changes in v1.0.0

  • First stable production-ready release
  • Complete rewrite and refactor to TypeScript
  • Published as an npm package
  • Established a robust build process
  • Improved documentation and README