Bower Packages

2 posts, 0 answers
  1. Marco
    Marco avatar
    2 posts
    Member since:
    Apr 2014

    Posted 26 Aug 2014 Link to this post

    I'm a bit new to Telerik AppBuilder. I'm trying to install bower pacakges

    With the AppBuilder tool in the Project Navigator I can select 'Manage Packages'
    A few questions

    1. Where does the populated list from the bower packages come from?  e.g. I don't see angular-google-maps (https://github.com/angular-ui/angular-google-maps)
    2. Some packages are listed twice
    3. How can I go to the git repository of the packages that are listed?
    4. Where do I control which version is installed
    5. How do I add a bower package I created myself and is hosted on github?

    Regards,

    Marco 'Newbie'
  2. Iva Koevska
    Admin
    Iva Koevska avatar
    286 posts

    Posted 29 Aug 2014 Link to this post

    Hello Marco,

    Thank you for using Telerik AppBuilder.

    Straight to your questions.

    1. Where does the populated list from the bower packages come from?  e.g. I don't see angular-google-maps (https://github.com/angular-ui/angular-google-maps)
    The list comes from Bower. We do apply some filtering - for example, we are not listing some packages that are too large.
    About Angular Google Maps, you can type in the search box angular-google-maps and you should be able to see it. See attached image.

    2. Some packages are listed twice
    This is again related to Bower. Packages are listed twice because they actually exist twice (or even more times). Bower, itself, uses a whitelist to filter duplicates in the public lists. However, the packages might exist in the backend more than once.
    When you see duplicates, your best bet is to examine the descriptions and their Last Update fields.

    3. How can I go to the git repository of the packages that are listed?
    The answer here largely depends on the client that you're currently using.

    If you are using the in-browser client, when you select a package, in the description you will see a Repository field with a link "View in GitHub". Click the link and you will be navigated to the repo.

    If you are using the Windows client or the Visual Studio extension, when you select a package, in the description you will see a Website field with a link "View". Click the link and you will be navigated to the repo.

    4. Where do I control which version is installed

    There is no straightforward way to do that. AppBuilder installs the latest version for the package. If duplicates of earlier version exist, you can install them.

    5. How do I add a bower package I created myself and is hosted on github?

    If your package is registered with Bower, you should be able to see it or fitler it in the list of available packages. If not, you can download the repo as a zip and manually add the package to your project by following these instructions.

    Regards,
    Iva Koevska
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top