Code Monkey home page Code Monkey logo

ionic-bower's Introduction

ionic-bower

Bower repository for Ionic Framework v1 (Ionic 2+ uses npm)

Usage

Include js/ionic.bundle.js to get ionic and all of its dependencies.

Alternatively, include the individual ionic files with the dependencies separately.

Versions

To install the latest stable version, bower install driftyco/ionic-bower

To install the latest nightly release, bower install driftyco/ionic-bower#master

ionic-bower's People

Contributors

ajoslin avatar drewrygh avatar ionitron avatar mlynch avatar perrygovier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ionic-bower's Issues

tag

I just saw you updated to v1.1.1. In order to user bower to update ionic, can you please tag the current version with v1.1.1.

Just had to check out #master which ist OK at the moment but if I do a bower update in my project in the future I want to stay on v1.1.1 and not get a nightly.

Thanks

old bower

it is no more possible to add multiple files with same extension in the main.
You might use bindep extension for making your bower compatible.
npm bindep

Cannot install

when running $ bower install inside an Ionic project or $ bower install #1.3.1

Failed to execute "git ls-remote --tags --heads git://github.com/driftyco/ionic-bower.git", exit code of #128 fatal: unable to connect to github.com: github.com[0: 192.30.253.113]: errno=No such file or directory

I also have tried $ bower install #1.1.1 and $ bower install driftyco/ionic-bower#master and got the same error message

Module 'starter' is not available

I've added [email protected] using bower to an existing Cordova 3.5.0 app.

I also included lib/ionic/js/ionic.bundle.js in my index.html

I get the following error when I start my app:

Uncaught Error: [$injector:modulerr] Failed to instantiate module starter due to:
Error: [$injector:nomod] Module 'starter' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specif...<omitted>...0) 

I missing any other dependencies?

CSS inclusion

From Readme

Include js/ionic.bundle.js to get ionic and all of its dependencies.

Does the CSS not have to be included as well?

services missing

what about ionic-service-core and ionic-service-push?
Can you add them to bower and/or npm?

bower.json is missing "ignore" entry

When installing ionic via bower, you'll see the following warning:

bower ionic#v1.0.0-beta.12     invalid-meta ionic is missing "ignore" entry in bower.json

Add bower.json 'main' property

Please support bower.json 'main' property as described here:

http://bower.io/#defining-a-package

This allows third party applications to read the main component files. Tools like bowerInstall utilize this property to allow a more automated workflow.

When I add this to Ionic's bower.json, it's all working as expected:

"main": [
  "./css/ionic.css",
  "./js/ionic.js",
  "./js/ionic-angular.js"
]

The Ionicons repository is already using this:
https://github.com/driftyco/ionicons/blob/master/bower.json

Tabs broken in v0.9.27-nightly-1333

Following bugs:

  • active state/class is not kept anymore
  • <ion tab tags are kept in html so :first-child css selectors are not working anymore

Support Angular 1.5.8

Current supported Angular version is 1.5.3. My current project is requiring 1.5.8. It would be great to either update to a newer version or support a version range (1.5.x).

bower dependancy

when i update lib with ionic lib update file structure and dependancies are different by when use bower install
i think it must be same, and ionic build force to copy all www folder to platform and many file in angular.* will be copy too
i think deps must be removed in bower.json
but before create pull-request i ask you to be sure about it.
thank you in advance.

Error on android device: Uncaught SyntaxError: Unexpected number

I'm getting this error below on an Android Device (works fine with no errors in desktop chrome):
Uncaught SyntaxError: Unexpected number ionic.bundle.min.js?ionicCachebuster=69501:74

Has anyone else had this? Any ideas how to fix it?

image

Here is the place in the file ionic.bundle.min.js where the error is occurring:
image

Webpack: package.json

Could you keep the package.json information even if it's a bower package?

I'm using webpack with bower, and with the main script attribute you would be able to require("ionic") without specifying the full path (ie. require("ionic/release/js/ionic")).

Create a 1.2.4 release to match the one in the ionic repo

Right now, I'm getting this error from bower:

bower ionic#1.2.4         ENORESTARGET No tag found that was able to satisfy 1.2.4

It'd be great if we could have a 1.2.4 release tagged in the ionic-bower repo to match the one in the ionic repo. Cheers.

Create npm equivalent

I prefer to use npm to manage my packages. As far as I understand, this is the repository for the keeping the ionic angular package up to date? Could we also have this stored as an npm package?

Missing icons

I tried to apply the icon class ion-android-compass using the nightly build-966, but the icon would not render correctly. Then I replaced the ionic/fonts contents with the ionicons-2.0.1/fonts contents I downloaded here, but the icon still did not render.

Note: I cleared my browser cache each time before checking.

My HTML:

<ion-tab title="Browse" icon-off="ion-android-compass" icon-on="ion-android-compass" ui-sref="app.browse">
    <ion-nav-view name="browse"></ion-nav-view>
</ion-tab>

Tested on:

OS: Ubuntu 14.04.4 LTS
Browser: Chrome 40.0.2214.93 (64-bit) and Firefox 35.0.1

Unable to install 1.0.0-beta.11

I'm using node 0.10.28, and unable to install 1.0.0-beta.11 via bower. The same happened to 1.0.0-beta.10, but 1.0.0-beta.9 was fine.

Error:

bower ionic#v1.0.0-beta.11  not-cached git://github.com/driftyco/ionic-bower.git#v1.0.0-beta.11
bower ionic#v1.0.0-beta.11     resolve git://github.com/driftyco/ionic-bower.git#v1.0.0-beta.11
bower ionic#v1.0.0-beta.11       error Arguments to path.join must be strings

Stack trace:
TypeError: Arguments to path.join must be strings
    at path.js:360:15
    at Array.filter (native)
    at Object.exports.join (path.js:358:36)
    at GitHubResolver._checkout (/Users/ray/rocket2-app/node_modules/bower/lib/core/resolvers/GitHubResolver.js:54:21)
    at /Users/ray/rocket2-app/node_modules/bower/lib/core/resolvers/GitResolver.js:69:21
    at _fulfilled (/Users/ray/rocket2-app/node_modules/bower/node_modules/p-throttler/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/ray/rocket2-app/node_modules/bower/node_modules/p-throttler/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/ray/rocket2-app/node_modules/bower/node_modules/p-throttler/node_modules/q/q.js:760:13)
    at /Users/ray/rocket2-app/node_modules/bower/node_modules/p-throttler/node_modules/q/q.js:574:44
    at flush (/Users/ray/rocket2-app/node_modules/bower/node_modules/p-throttler/node_modules/q/q.js:108:17)

Console trace:
Trace
    at StandardRenderer.error (/Users/ray/rocket2-app/node_modules/bower/lib/renderers/StandardRenderer.js:72:17)
    at Logger.<anonymous> (/Users/ray/rocket2-app/node_modules/bower/bin/bower:111:22)
    at Logger.EventEmitter.emit (events.js:95:17)
    at Logger.emit (/Users/ray/rocket2-app/node_modules/bower/node_modules/bower-logger/lib/Logger.js:29:39)
    at /Users/ray/rocket2-app/node_modules/bower/lib/commands/install.js:35:16
    at _rejected (/Users/ray/rocket2-app/node_modules/q/q.js:797:24)
    at /Users/ray/rocket2-app/node_modules/q/q.js:823:30
    at Promise.when (/Users/ray/rocket2-app/node_modules/q/q.js:1035:31)
    at Promise.promise.promiseDispatch (/Users/ray/rocket2-app/node_modules/q/q.js:741:41)
    at /Users/ray/rocket2-app/node_modules/q/q.js:557:44

System info:
Bower version: 1.3.5
Node version: 0.10.28

Make available on NPM

Hi,

it would be great if this would also be available via NPM, we don't need bower at all and would like to have Ionic in NPM so we can use our private npm-cache.

Best,
Andreas

Navigation changes?

Hi I found there are some changes in this nightly build which are different from 0.9.26.
e.g. I should add {{..}}to the title which is a good change to keep the consistent.

The issue here is, where is the back button? it is disappeared.

ENORESTARGET No tag found that was able to satisfy 1.2.1

https://forum.ionicframework.com/t/anyone-else-having-problems-with-1-2-1/39531/9

I was trying to install ngCordova, using bower, but the install breaks with a version error:

bower ionic#1.2.1 ENORESTARGET No tag found that was able to satisfy 1.2.1

So I thought I update ionic libs with ionic lib update which leads to a similiar error:

Downloading: https://github.com/driftyco/ionic-bower/archive/v1.2.1.zip [=============================] 100% 0.0s Invalid version: 1.2.1

What am I'm missing here?

ionic is missing "ignore" entry in bower.json

Updating Ionic using ionic lib update results in an error from bower:

bower ionic#master          not-cached git://github.com/driftyco/ionic-bower.git#master
bower ionic#master             resolve git://github.com/driftyco/ionic-bower.git#master
bower ionic#master            checkout master
bower ionic#master            progress Receiving objects:  34% (21/61), 908.00 KiB | 585.00 KiB/s
bower ionic#master        invalid-meta ionic is missing "ignore" entry in bower.json
bower ionic#master            resolved git://github.com/driftyco/ionic-bower.git#103a0b2e5b

The bower.json is indeed missing this. If nothing needs to be ignored, can an empty one be added to resolve this error?

Support to "angular-animate": "1.4.8"

At the moment, ionic has dependency on "angular-animate": "1.4.3". In my project, I am using ionic with angular material, which depends on "angular-animate": "1.4.8". Installing "angular-animate": "1.4.8", causes the following error while loading the ionic app:
Unknown provider: $$forceReflowProvider <- $$forceReflow <- $$animateQueue <- $animate <- $compile &lt;- $$animateQueue

Is there any plan to extend ionic to support "angular-animate": "1.4.8" in near future? Or can you suggest any workaround?

Best regards,
Anand.

Can't download clean 1.2.4, always downloads nightly

I'm trying to download stable 1.2.4 from the ionic bower repo using a bower.json file. However, it consistently downloads 1.2.4-nighlty-* (which breaks my layout and cancel modal button styling) instead of just clean 1.2.4 even if I specify the following.

{
    "name": "mypackage",
    "private": true,
    "dependencies": {
        "bower-ionic": "driftyco/ionic-bower#v1.2.4"
    }
}

The problem seems to come from some lines (example line 6) being commented out in the _mixins.scss file:

// Button Mixins
// --------------------------------------------------

@mixin button-style($bg-color, $border-color, $active-bg-color, $active-border-color, $color) {
  border-color: transparent;//$border-color;
  background-color: $bg-color;
  color: $color;

  // Give desktop users something to play with
  &:hover {
    color: $color;
    text-decoration: none;
  }
  &.active,
  &.activated {
    //border-color: transparent;//$active-border-color;
    background-color: $active-bg-color;
    //box-shadow: inset 0 1px 4px rgba(0,0,0,0.1);
  }
}

Note that specifying v1.1.1 gives me a clean 1.1.1 version, not a nightly and doesn't have any problems in terms of layout. Also, I could swear for a while I had v1.2.0 and things were perfect but now even if I specify v1.2.0, the nightly is installed.

I get the following output during install, note the version mismatch bit:

bower bower-ionic#v1.2.4 not-cached git://github.com/driftyco/ionic-bower.git#v1.2.4
bower bower-ionic#v1.2.4 resolve git://github.com/driftyco/ionic-bower.git#v1.2.4
bower bower-ionic#v1.2.4 download https://github.com/driftyco/ionic-bower/archive/v1.2.4.tar.gz
bower bower-ionic#v1.2.4 extract archive.tar.gz
bower bower-ionic#v1.2.4 mismatch Version declared in the json (1.2.4-nightly-1917) is different than the resolved one (1.2.4)
bower bower-ionic#v1.2.4 invalid-meta ionic is missing "ignore" entry in bower.json
bower bower-ionic#v1.2.4 resolved git://github.com/driftyco/ionic-bower.git#1.2.4
bower bower-ionic#v1.2.4 install bower-ionic#1.2.4
bower-ionic#1.2.4 bower_components\bower-ionic
├── angular#1.4.3
├── angular-animate#1.4.3
├── angular-sanitize#1.4.3
└── angular-ui-router#0.2.13

The file ionic.js always shows "Ionic, v1.2.4-nightly-1917". Am I doing something wrong or is there something up with the bower repo?

Sorry for the double post from the ionic forum but I haven't received any response and thought it is probably more appropriate to post here.

bower install error

Hi,body,
bower install had a error that 'git ls-remote --tags --heads git://github.com/driftyco/ionic-bower.git,exit code #128 fatal:write error:Invaild argument'

operation:window7
git:1.9.4-preview

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.