Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-update

Package Overview
Dependencies
Maintainers
1
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-update

Update Ember CLI Ember.js apps and addons

  • 0.6.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.1K
decreased by-26.14%
Maintainers
1
Weekly downloads
 
Created
Source

ember-cli-update

Greenkeeper badge npm version Build Status Build status

Update Ember CLI Ember.js apps and addons

Installation

As a global executable:

npm install -g ember-cli-update

As an Ember CLI command:

ember install ember-cli-update

Usage

Inside your project directory, either run

ember-cli-update

for global or

ember update

as an Ember CLI command.

This will update your app or addon to the latest Ember CLI version. It does this by grabbing your current installed Ember CLI version and looking up the latest version, then applying a diff of the changes needed to your project. Your project files will only get modified if they were changed in the by Ember CLI between versions, and it will only change the section necessary, not the entire file.

This is different from the existing ember init command. That command tries to reset your project back to a brand new project. It removes all your changes and additions.

You will probably encounter merge conflicts, in which your system's git merge tool will run.

Options

OptionDescriptionTypeExamplesDefault
--fromUse a starting version that is different than what is in your package.jsonString"2.9.1"
--toUpdate to a version that isn't latestString"2.14.1" "~2.15" "latest" "beta""latest"
--ignore-conflictsHandle merge conflicts yourselfBooleanfalse

Hints

Need help using git mergetool? Here are some starting points:

If you made a mistake during the update/conflict resolution, run these commands to undo everything and get you back to before the update:

git reset --hard
git clean -f

If you notice ".orig" files lying around after a merge and don't want that behavior, run git config mergetool.keepBackup false.

To avoid being prompted "Hit return to start merge resolution tool (vimdiff):" for every conflict, set a merge tool like git config merge.tool "vimdiff".

Keywords

FAQs

Package last updated on 23 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc