Skip to content

Bower installing dependencies as siblings instead of nesting? #157

@robdodson

Description

@robdodson

I think perhaps I'm using bower incorrectly and assuming it works similar to node_modules.

Basically Project A has a component.json file which installs everything to its components directory. So far so good.

Next I have Project B which depends on Project A. I assumed it would install Project A's dependencies inside a components dir inside of Project A. But it seems to install Project A's dependencies as siblings of Project A.

What I was expecting:

Project B/
    components/
        Project A/
            components/
                ... a bunch of components ...

What I get:

Project B/
    components/
    Project A
    ... Project A's components ...

On the one hand this obviously makes sense. You might say that some jquery plugin depends on jquery so they're installed as siblings. On the other hand, Project A expects its dependencies to be inside its components dir so this structure doesn't work...

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions