nodejs / nodejs/userland-migrations

Codemod to help adoption of types stripping

Open
#267 3 comments 0 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

Description/Context

To enable TypeScript support on Node.js, Marco implement types stripping. This approach is now supported by the TypeScript transpiler and is on its way to becoming stable on Node.js. That is why we must try to create one or more codemods that will enable adoption of this approach.

Todo

Thing to define

  • How to go away from enum
  • What do we have to change in the tsconfig.json

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 by reviewing the existing @nodejs/correct-ts-specifiers codemod and its migration to the new codemod paradigm. Then examine the open questions around enum usage and tsconfig.json changes; done means defining and implementing codemods that support adoption of TypeScript types stripping.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.