What’s New

meow v12.0.0

v12.0.0
Breaking
  • Require Node.js 16 (#235) 24d5e9c
  • Rename alias flag option to shortFlag (#225) 14e870d
    • Short flag is a more correct term for what alias was previously used for. We now have a separate aliases option for actual aliases.
  • As a reminder, Meow continues to require ESM. For TypeScript users, this includes having "module": "node16", "moduleResolution": "node16" in your tsconfig.
Improvements
  • Add aliases flag option (#226) 901b9fc
  • Add choices flag option (#228) 149d7af
  • Add error when flag.default isn't a valid choice (#231) b2d7ce7
  • Don't indent single line help / description text (#232) a5d15e8

Thanks to @tommy-mitchell for doing most of the work on this release 🙌


https://github.com/sindresorhus/meow/compare/v11.0.0...v12.0.0

View original