nodejs / nodejs/userland-migrations

Need help with new recipe

Open
#21 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
85
Forks
55
Avg merge
3d 11h
Merged PRs (30d)
9

Description

Hi 👋

@JakobJingleheimer invited me to contribute to the 'type-annotationify' codemod recipe. I'm looking into how to do that. I have zero experience with codemod. I heard of it for the first time today 😅.

I have some questions:

  1. What would the name of the recipe be? Would "type-annotationify" be acceptable?
  2. I don't see a compile step to JS. Is that not needed in the codemod registry?
  3. How could I reuse the code inside a recipe directly in an NPM package?

Thanks a lot for any help.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked type-annotationify README and inspect the repository's existing recipe setup. The issue names no file or test; resolve the questions about recipe naming, JavaScript compilation, and reusing recipe code in an npm package. Done means the contribution path and implementation requirements are documented or otherwise answered.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.