Added "types" field pointing to "dist/index.d.ts" in package.json to include type definitions in the package. This change helps consumers of the package who are using TypeScript, providing them with autocompletion and type checking. Incremented package version from 1.2.5 to 1.2.6 to reflect this addition.
Enabled the --splitting option in the build script to support code splitting, which the cli/library can both reference instead of bundling the entire bundle for each, so this effectively cuts the bundle size in half.
Replaced Bun's `Glob` usage with the `glob` package in `MarkdownGenerator.ts` for better compatibility and functionality. Updated build entrypoints to include all TypeScript files and adjusted dependencies in `package.json` and `pnpm-lock.yaml` to accommodate this change. Also added type annotations to `fileExclusions` and `fileTypeExclusions` for improved type checking.
Removed CLI entrypoint from main build file and created a separate build script for it. Adjusted corresponding configurations in `package.json` to reflect these changes, including updating version from 1.0.14 to 1.0.21.
Added functionality to load and process nested `.code-tokenizer-md-ignore` files for excluding patterns during markdown generation. Introduced new dependencies and ensured initialization before file processing operations.
This commit adds '**/.dockerignore' to the file exclusions in src/fileExclusions.ts. Additionally, it updates the version in package.json from 1.0.12 to 1.0.13 to reflect this change.
Updated project to use Bun runtime, including changes to build and development scripts, plugin additions, and configuration updates in tsconfig.json and package.json. Enhanced README documentation and migrated source files to TypeScript.
Utilized micromatch for file exclusion logic in MarkdownGenerator. Simplified constructor parameters and refactored `getTrackedFiles` for better readability. Updated dependencies and relevant scripts in package.json.
Enhanced the file exclusion logic by adding support for `tsconfig.json` and `jsconfig.json`. Simplified complex glob and wildcard handling, replacing many special cases with a regex-based approach to match file paths more reliably. Updated package version to 1.0.7.
Added 'package-lock.json' to the ignore patterns in MarkdownGenerator.js to avoid unnecessary processing. Updated the version in package.json from 1.0.5 to 1.0.6 to reflect this change.
Refactored file exclusion patterns in MarkdownGenerator.js to handle various glob patterns and types more comprehensively. Added normalization for paths, extended support for different file types, and included specific directory-only and wildcard matching. Updated the package version to 1.0.5 in package.json to reflect these changes.
Added support for '.woff2' and 'woff' file extensions to the MarkdownGenerator's configuration. Incremented the version in package.json to 1.0.3 to reflect these changes.