Giter VIP home page Giter VIP logo

Comments (3)

lorensr avatar lorensr commented on June 23, 2024

Hi! Try placing bower.json in project root. The ignored deps will be
downloaded to root/.meteor/local/bower, but they should not be sent to
the client.

On Wed, Feb 3, 2016 at 11:05 PM, Matti LeBlanc [email protected]
wrote:

Hi,

I am using Angular and ui-router in my meteor project and I wanted to add
'angular-ui-router-anim-in-out' which doesn't have an meteor package yet
So I thought to just use the bower package

I follow instructions, add the bowerjson to my /lib/bower folder (deepest
folder)
also in the root of my meteor project I have added bowerrc with the
directory pointing to meteor/local/bower

So when I run meteor it installs the bower packages in
/lib/bower/meteor/local/bower
Not really what I expected

Then secondlyit is loading dependencies for angular-ui-router-anim-in-out
whilst I have exluced them

{
"name": "projectX",
"authors": [
""
],
"description": "",
"moduleType": [],
"license": "MIT",
"homepage": "",
"ignore": [
"*/",
"node_modules",
"bower_components",
"public/components/",
"test",
"tests"
],
"dependencies": {
"angular-ui-router-anim-in-out": "~102"
},
"ignoredDependencies": [
"angular-animate",
"angular",
"angular-ui-router"
],
"private": true
}

Any idea why this is?
Now the ignoredDependencies are loaded twice I reckon because I already
have them as Meteor package


Reply to this email directly or view it on GitHub
#111.

from meteor-bower.

mattiLeBlanc avatar mattiLeBlanc commented on June 23, 2024

Yup, that worked. So the docs suggesting to put your bower.json as deep as possible isn't valid advice anymore, I reckon?
Thanks for the quick suggestion buddy.

from meteor-bower.

lorensr avatar lorensr commented on June 23, 2024

Thanks, forgot about that. If you'd like to nest, place the .bowerrc in the same directory and use a relative path: f738dfa

from meteor-bower.

Related Issues (20)

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.