AlexzanderFlores / WOKCommands

132 stars 61 forks source link

Add support for .cjs files #209

Open Kruimeldief opened 2 years ago

Kruimeldief commented 2 years ago

Currently, WOKC only auto-imports commands of files that end with .js with the WOKC option typescript: false. With the small change below, CommonJS files .cjs will be imported as well in case the project package has the option "type": "module".

Edit: seems I forgot to switch to merge into AlexzanderFlores:dev instead of _:main and I can't edit this (I think). Either branch is fine with me, as long as it is released in the near future.

@AlexzanderFlores Seeing the number of issues and open pull-up requests, is this repository abandoned? If so, could you give someone (trustful) write access to both the dev and main branch?

benrobson commented 2 years ago

+1 with module js support WOKCommands doesn't work.