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
Build Agents and Models on One Platform Icon
Build Agents and Models on One Platform

Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Try It 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