Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 16:35
· 16 commits to main since this release
11f88c2

Minor Changes

  • #15 16b342b Thanks @dependabot! - Improved default include/exclude patterns - now includes CSS, excludes declaration files and common test patterns

  • #15 16b342b Thanks @dependabot! - Added config file support with TypeScript support and type-safe defineConfig helper. Supports gen-x.config.{ts,js,mjs,cjs,json} or package.json#genx field. Priority: CLI flags > config file > defaults. TypeScript configs are transformed using esbuild for zero-dependency usage.

  • #15 16b342b Thanks @dependabot! - Added support for CSS files - extensions are preserved in export keys and no types field is generated for asset files

  • #15 16b342b Thanks @dependabot! - Index files now automatically flatten to their directory path (e.g., index.ts → ".", lib/index.ts → "./lib")

Patch Changes

  • #15 16b342b Thanks @dependabot! - Added esbuild as a dependency for TypeScript config file transformation

  • #15 16b342b Thanks @dependabot! - Fixed absolute paths leaking into package.json exports. Input is now normalized to absolute for filesystem operations, output stays relative

  • #15 16b342b Thanks @dependabot! - Fixed CLI vs programmatic API defaults inconsistency for better predictable behavior

  • #15 16b342b Thanks @dependabot! - Added collision detection for duplicate export keys with helpful error messages showing conflicting files

  • #15 16b342b Thanks @dependabot! - Fixed double globbing performance issue - now uses single glob call with ignore option for better performance

  • #15 16b342b Thanks @dependabot! - Fixed dry-run output to use JSON.stringify for better readability

  • #15 16b342b Thanks @dependabot! - Fixed potential duplicate "./" in source paths when srcDir is "."

  • #15 16b342b Thanks @dependabot! - Added proper error handling for package.json read/parse/write operations with clear error messages

  • #15 16b342b Thanks @dependabot! - Fixed shared mutable baseExports object causing state leakage across function calls in long-lived processes

  • #15 16b342b Thanks @dependabot! - Fixed OS-dependent path separators - package.json exports now always use POSIX forward slashes on all platforms