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
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
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