Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4830

Addon version and bower dependencies upgrade question

$
0
0

@tixn wrote:

Let A be an addon in version a1, and let B be a bower dependency of that addon in version b1. The addon installs its bower package through the default blueprint like

afterInstall: function() {
    // b1 is the version.
    return this.addBowerPackageToProject('B', 'b1');
  }

Now let C be an application consuming A. When A is installed using

ember install A

The bower package is actually installed in C. Up to here, things are fine. Now A is updated to version a2, including B in version b2. In C,

rm -R node_modules
npm cache clean
npm install

will fetch A.a2.

  • Will A.a2's default blueprint run and cause C to install B.b2 as well?
  • Is this supposed to work?

if the blueprint is run manually, B.b2 actually gets prompted for, that is, you get to see that the project has a bower conflict now and are asked how to resolve it.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4830

Trending Articles