I opened a thread in case you might have this question. I encourage you to check out @codemod-utils
, a set of tools and conventions for writing codemods, and its CLI to get started.
npx @codemod-utils/cli --name <your-codemod-name>
Related links: