Skip to content

v0.1.4 - npm Installation Fix

Choose a tag to compare

@akonan akonan released this 24 Nov 13:36
· 118 commits to main since this release

What's Changed

Fixed

  • Fixed npm global installation - The CLI now works correctly when installed via npm install -g wiremd
  • Added proper CLI wrapper (bin/wiremd.js) that explicitly calls the main function
  • Resolved issue where the CLI would not execute as a global npm binary

Technical Details

The previous approach pointed the bin entry directly to the ES module, which caused the isMainModule check to fail when executed as a global npm binary. The new wrapper ensures main() is always called regardless of how the package is installed.

Installation

Via npm (now fixed!)

npm install -g wiremd@0.1.4
wiremd --version

Via Homebrew

brew tap akonan/wiremd
brew install wiremd

Full Changelog: v0.1.3...v0.1.4