demo

๐Ÿ“ 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:

> export LLM_API_KEY="<openai-api-key>"
> cd ~/my-repository
> npm install -g bumpgen
> bumpgen @tanstack/react-query 5.28.14

where @tanstack/react-query is the package you want to bump and 5.28.14 is the version you want to bump to.

๐Ÿ“– Other Resources

GitHub README

Discord Server