Skip to content

Releases: Devlander-Software/collect-exports-for-bundle

Initial Release

14 Nov 20:37
Compare
Choose a tag to compare

Release Notes for Collect Exports For Bundle Script v1.0

We are excited to announce the release of the Collect Exports For Bundle Script v1.0! This release is packed with features designed to streamline the process of managing exports in your TypeScript projects. Below are the key highlights of this version:

New Features

  1. Automated Export Generation: Easily export all your TypeScript files from a project into a single index.ts file, significantly reducing the manual effort required in large-scale projects.

  2. GitHub Gist and Repository Integration: Use the tool seamlessly in GitHub gists and repositories, making it more versatile and adaptable to your workflow.

  3. Type-Safe with Default Export Option: Ensure type safety with the option to control default exports, giving you full command over your package's exports.

  4. Recursive Directory Scanning: Automatically scan and include files from nested directories, ensuring comprehensive coverage of your project files.

  5. File Extension Specification: Tailor the script to your needs by specifying which file extensions to include or exclude in the export process.

  6. Configurability: Customize the tool’s behavior through command-line arguments or direct function parameters, catering to a wide range of use cases.

Installation

The script is readily available for installation via npm and yarn. Run the following commands to add it to your project:

  • Using npm: npm install @devlander/collect-exports-for-bundle
  • Using yarn: yarn add @devlander/collect-exports-for-bundle

Usage Improvements

  • Programmatic Usage: The script can now be easily integrated and utilized programmatically in your project.
  • Enhanced Typescript Support: Built in TypeScript for seamless integration with other TypeScript packages.
  • Root Folder File Collection: Enhanced capability to collect files from the root folder, especially useful in GitHub gists and modular project structures.
  • Directory-Specific File Collection: Added functionality to collect files within a specific directory, providing more control over the export process.

Helper Functions

Two new helper functions have been introduced:

  • Collect Paths From Directories: A utility function to retrieve valid file paths based on a set of criteria.
  • Create Extensions: Generate a list of file extensions combining given words and file extensions, enhancing flexibility in file management.

Upcoming Features and Improvements

  • Command-Line Interface (CLI): Plans are in place to develop a CLI for even more user-friendly interaction.
  • In-Depth Testing: Future versions will include comprehensive tests for each function, ensuring reliability and robustness.

Connect with Us

Stay updated and connect with us through various platforms:

We are looking forward to your feedback and suggestions to make this tool even better in future releases!