bumpgen
Introduction
Bump your dependencies and makes code changes for you if anything breaks
📝 Summary
This may be a common scenario:
you: “I should upgrade to the latest version of x, it has banging new features and impressive performance improvments”
you (internal monologue): I don’t want to feel pain anymore
Then use bumpgen
!
🧰 How does it work?
- It uses ts-morph to turn your codebase into an AST to understand code relationships
- Uses the AST to get type definitions for external methods to understand how to use new package versions
- Creates a plan graph DAG to execute things in the correct order to get to the root of problems (ref: arxiv 2309.12499)
🏃 Get Started
To get started, you’ll need an OpenAI API key. gpt-4-turbo-preview
from OpenAI is the only supported model at this time.
Then, run bumpgen
this:
where @tanstack/react-query
is the package you want to bump and 5.28.14
is the version you want to bump to.