Skip to content

Release notes (v0.1.55 or v0.2.0)

Choose a tag to compare

@landonwjohnson landonwjohnson released this 04 Mar 01:26
· 4 commits to main since this release
c4628c6

Release notes (v0.1.55 or v0.2.0)

✨ New features

Landing page & documentation

  • Landing page for collectexports with hero section, Before/After examples, install instructions, and CLI quick reference
  • Copy buttons on all code snippets
  • Syntax highlighting (Prism.js) for TypeScript, Bash, and JSON
  • Mobile-responsive layout with hamburger navigation
  • GitHub Pages deploy workflow for the landing page and API docs

CLI

  • CLI entry points: collectexports and ce
  • Interactive config via collectexports init --interactive
  • Presets (react, nodeLibrary, designSystem, monorepo, etc.) for quick setup

🐛 Bug fixes

  • outputPath extension validation – Only .ts and .tsx are allowed; unsupported extensions fall back to .ts
  • path.join usage – Safer output path construction instead of string concatenation
  • Default export handling – Correct reading of file content before extracting default export variables
  • Debug output – Debug logs are now correctly gated behind the config flag

🔧 Improvements

  • TypeScript typecheck configuration resolved via tsconfig.typecheck.json
  • Test suite fixes for export matching, fixtures, and regex patterns
  • Explicit return types and ESLint cleanup across the codebase
  • Social links added to README and landing page: @techwithlandon, Software Engineering Hub (US), r/USASoftwareDevs

🔒 Security & maintenance

  • .env added to .gitignore to avoid committing secrets
  • Dependabot alerts available for review in the repository

Installation

npm install collectexports
# or
yarn add collectexports

Quick start

collectexports collect
# or use the short alias
ce collect