hypermod-io / hypermod-community

Community-owned global registry and documentation hub for codemods. Write & run codemods, share them with your friends!
https://hypermod.io
MIT License
132 stars 18 forks source link

Ability to bundle arbitrary dependencies via Community packages. #162

Closed danieldelcore closed 1 year ago

danieldelcore commented 1 year ago

Currently, dependencies bundled with Community packages are limited to a predefined list:

https://github.com/CodeshiftCommunity/CodeshiftCommunity/blob/af0de329df95d818d1b933422318caad9f046ec9/packages/initializer/src/index.ts#L24C6-L26

Instead, we should output a default package.json file with every Community package and allow authors to bundle their own deps.

danieldelcore commented 1 year ago

Fixed in the latest version. Community packages now have package.jsons and bundling setup 👌