A tool that tries to automatically update most dependencies, config files, and JavaScript files that require Babel packages directly to Babel 7 (and more in the future). Log when replacing out preset-es2015,16,17, latest as FYI. Figure out how to change nested .babelrcs into using "overrides" instead. Monorepo support. Modify other config files as we go. Add to the upgrade guide which parts are autofixable and the command (if we care enough to make this individually runnable too infrastructure-wise). May need to add a warning on any 3rd party plugins since they might not be compatible. Handle the differences in plugins in v7 for default/loose/spec. Should certain parts be generic (replace the string babel-register with @babel/register)? Could be in a Makefile or somewhere else.

Features

  • Requires nodejs 8 or newer
  • Run at the root of your git repo
  • Add --install (or -i) as well to run yarn or npm after writing the upgrade
  • Works on Node >= 8
  • Run npm/yarn after updating dependencies
  • Modify scripts for mocha

Project Samples

Project Activity

See All Activity >

Categories

System

Follow babel-upgrade

babel-upgrade Web Site

Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build generative AI apps with Vertex AI Studio. Switch between models without switching platforms.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of babel-upgrade!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript System Software

Registered

2022-04-07