jamestalmage / jamestalmage/generator-codemod
Goals
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 11
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
I would like to start using codemods over my IDE's search and replace more. I think this basic scaffolding gets me there.
Some general goals / thoughts:
- No local dependencies required. The global install of `jscodeshift` is passed in, so there is no need for them to install anything locally (generator completes very fast).
- API examples baked in. I don't use `jscodeshift` enough yet to remember how `registerMethods` works. See #1. It's adds a bit of verbosity, but provides a useful example for a substantial part of the UI.
// @sindresorhus @jfmengels
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by reviewing the generator's existing scaffolding and its jscodeshift integration, then compare it with the API example in #1. Done means the codemod scaffolding uses a global jscodeshift install without local dependencies and includes the intended API examples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100