Intro
- Dominant language
- JavaScript
- Stars
- 1.3k
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
Hello everyone!
I'm writing down a lot of the todos just in the readme since this feels so early in the progress of this idea/tool. If we get closer we can start with individual issues, since I feel like we would just make 100 issues atm.
## Philosophy
- Works with one command `npx babel-upgrade`.
- Have nice logging on what has changed, or suggestions where we can't guarantee the change is correct.
- But allow configurability where useful
- Allow option to specify paths for various things like source code/babelrc/package.json for fine-grained changed on specific workflows/projects. `npx babel-upgrade babelrc=path packagejson=path`?
## Code
> This is a codemod and also something you would ideally only run once on a codebase (at least for each upgrade).
- Thus don't worry too much about doing something "slow" if the logic is simpler.
- Needs to handle the base case, so we need testing to make sure it doesn't mess up anything it's not supposed to. Wrap any changes to the file in if checks, like `if (package.dependencies) { package.dependencies = ... }`
- Organize the code in such a way that it's easy to add one-off changes, but having lots of tests/fixtures is fine.
Contributor guide
No contributing guide indexed for this repository
Research direction
The README's Philosophy and Code sections are the only stated scope; start there. No specific file, test, or acceptance condition is named, so this entry is not ready to implement until a concrete behavior and completion check are defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100