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
133 stars 18 forks source link

Init command to be monorepo-friendly #135

Closed danieldelcore closed 2 years ago

danieldelcore commented 2 years ago

codeshift init --transform 10.0.0 --preset foobar --config-only packages/fetcher/

Should output:

   fetcher/
+        codemods/
+          /1.0.0
+           transform.ts
+           transform.spec.ts
+          /2.0.0
+         codeshift.config.js
         package.json
danieldelcore commented 2 years ago

Done