Software Archive
Read-only legacy content
17061 Discussions

Bower Components

Justin_d_2
Beginner
581 Views

I was just wondering if there's a way to disable the fetching of bower components of my project. I have set a different installation directory in a .bowerrc file but it still installs in www/bower_components.

 

0 Kudos
1 Solution
PaulF_IntelCorp
Employee
581 Views

In the current release there is no way to override that directory location. At this time, these properties in your .bowerrc file are overridden by the implementation that is included in the XDK:

  • proxy
  • https-proxy
  • analytics
  • directory
  • cwd
  • interactive

The "directory" property will work in your .bowerrc file in a future release, but the others will likely continue to be overridden. Unfortunately, I am not allowed to publish an expected date for a release that will include that change.

View solution in original post

0 Kudos
5 Replies
PaulF_IntelCorp
Employee
582 Views

In the current release there is no way to override that directory location. At this time, these properties in your .bowerrc file are overridden by the implementation that is included in the XDK:

  • proxy
  • https-proxy
  • analytics
  • directory
  • cwd
  • interactive

The "directory" property will work in your .bowerrc file in a future release, but the others will likely continue to be overridden. Unfortunately, I am not allowed to publish an expected date for a release that will include that change.

0 Kudos
Jonathan_G_2
Beginner
581 Views

I'm not quite sure why you would force bower integration, but then ignore bower configurations.  Seems like a very amateur decision. 

Any idea of when we might be able to expect this bug fix would be helpful, because as is, XDK breaks all Ionic users by default. 

0 Kudos
Justin_d_2
Beginner
581 Views

I'm not quite sure why you would say that it seems like a very "amateur" decision.

I'm not forcing bower integration; Intel XDK just happens to have this new feature of managing your bower dependencies.

I'd like to ignore this specific configuration (installation directory of bower components) because it overrides my own. I've set it to a different directory so that the dependencies would not add up to the size of the built APKs/IPAs.

0 Kudos
Jonathan_G_2
Beginner
581 Views
Sorry, @Justin, my reply was directed at Intel; I'm on the same page as you. I (and all Ionic users) have bower dependencies in a different directory, and I also want to disable the bower integration if this the result. The "amateur decision" to me was at the XDK feature forcing bower integration, but then ignoring bower configurations. I would have liked to see it implemented fully or not at all.
0 Kudos
PaulF_IntelCorp
Employee
581 Views

Guys, the reason we issue the EA version of the XDK is to get this sort of feedback up front, before it goes into the mainstream product. The Bower integration was in the EA release for several months before we released in the public release. Please checkout the EA releases so we can get this sort of feedback right away for other features we're working on. You can install both EA and the regular release on your machine at the same time, just cannot run them at the same time.

0 Kudos
Reply