cacjs / cac

Simple yet powerful framework for building command-line apps.
MIT License
2.65k stars 104 forks source link

fix: compat with NodeNext moduleResolution #142

Closed meteorlxy closed 2 years ago

meteorlxy commented 2 years ago

Without this line, it will throw an error when setting "moduleResolution": "NodeNext" in tsconfig:

error TS7016: Could not find a declaration file for module 'cac'
codecov-commenter commented 2 years ago

Codecov Report

Merging #142 (d4f3867) into master (ce0f46c) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #142   +/-   ##
=======================================
  Coverage   65.68%   65.68%           
=======================================
  Files           6        6           
  Lines         373      373           
  Branches       89       89           
=======================================
  Hits          245      245           
  Misses        126      126           
  Partials        2        2           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

aleclarson commented 2 years ago

@egoist LGTM

egoist commented 2 years ago

:tada: This PR is included in version 6.7.13 :tada:

The release is available on:

Your semantic-release bot :package::rocket: