ant-design / ant-design/codemod-v4

option to use a custom babylon config?

Open
#100 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
99
Forks
24
PR merge metrics
No merged PRs in 30d

Description

I needed to switch from Typescript to Flow.

For anyone else using flow, I was able to modify the `babylon.config.json` to change `"typescript"` to `"flow"` and then the tool ran perfectly.

In my case it was installed globally by npm at `~/.nvm/versions/node/v12.16.1/lib/node_modules/@ant-design/codemod-v4/bin/babylon.config.json`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the installed bin/babylon.config.json path mentioned in the issue and inspect how the codemod CLI loads that configuration. Define how a caller would select a custom Babylon configuration, including Flow support, and verify that the tool runs with the selected configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.