Upgrading an Ember CLI app from 2.9 to 2.12

Learn a few tips while watching Sam upgrade EmberMap's codebase

Summary

In this video Sam upgrades EmberMap's codebase from Ember CLI 2.9.1 to 2.12.2. Here are the steps he took:

  • Start a new git branch to track the upgrade
  • Run npm install --save-dev ember-cli@2.12.2 to get the new Ember CLI version into your app's package.json file
  • Run ember init
  • Work through the file changes, typing d for diff, changing files and saving them as you go, until you get them to a point where you're happy with them
  • The package.json upgrade is usually the most involved. We learned how to use the ember-new-output repo to help us out
  • Once we finish working through ember init, we hit some errors. We learn how to isolate which addon is causing the issue
  • Finally, after upgrading the problematic addon, we work on getting our test suite to pass, which mostly involved working with ESLint configuration

👋 Hey there, Ember dev!

We hope you enjoyed this free video 🙂

If you like it and want to keep learning with us, we've written a free 6-lesson email course about the fundamental patterns of modern component design in Ember.

To get the first lesson now, enter your best email address below:

You can also check out more details about the course by clicking here.

Questions?

Send us a tweet:

Or ask us in Inside EmberMap, our private Slack workspace for subscribers.