rescript-lang / rescript-lang/create-rescript-app
When adding to existing project with TS, configure gentype
Open
Nobody has claimed this yet.
- Dominant language
- ReScript
- Stars
- 77
- Forks
- 15
- Avg merge
- 17h 54m
- Merged PRs (30d)
- 1
Description
This could be a neat thing - configure gentype automatically whenever adding to an existing project with TS already installed.
We could:
- Detect the config needed for
"module"and"moduleResolution"in gentype viatsconfig.json - Warn of
allowJsis nottrueintsconfig.jsonand explain why it's needed
Going for a "1 command to get setup" approach.
cc @cometkim
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
Start with the existing-project setup command and inspect how it reads or updates tsconfig.json for TypeScript projects. Check how gentype is currently configured; done means one command detects module and moduleResolution needs and warns when allowJs is not true, explaining why it is required.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100