Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wet-boew-php as bower dependency #167

Open
sbrioux opened this issue Oct 14, 2015 · 9 comments
Open

wet-boew-php as bower dependency #167

sbrioux opened this issue Oct 14, 2015 · 9 comments

Comments

@sbrioux
Copy link

sbrioux commented Oct 14, 2015

Was wondering if this would even be a possibility. Has anyone had any experience with using bower to include the wet-boew-php as a dependency?

@upsonp
Copy link
Member

upsonp commented Oct 16, 2015

I'd never heard of Bower before, thanks @sbrioux I'll have a look at it and see what it can do.

@sbrioux
Copy link
Author

sbrioux commented Oct 16, 2015

The main repo here https://github.com/wet-boew/wet-boew makes use of bower (http://bower.io/). The problem i'm coming across right now is that I have to manually download the zip package unzip it and then take all the core CSS, JS ... assets and such.

Not sure how you were managing it for this project? For example what were you doing to get all the core theme files into your project.

@LaurentGoderre
Copy link
Member

There's a way easier way to bower in WET for versions v4.0.16 and higher

{
  "name": "your-bower",
  "version": "0.0.0",
  "license": "MIT",
  "ignore": [
    "**/.*",
    "node_modules",
    "lib",
    "test",
    "tests"
  ],
  "dependencies": {
    "wet-boew": "wet-boew/wet-boew-cdn#v4.0.18",
    "theme-gc-intranet": "wet-boew/themes-cdn#v4.0.18-theme-gc-intranet",
  }
}

@sbrioux
Copy link
Author

sbrioux commented Oct 16, 2015

This may be what I was looking for. Does that give me just the core files and none of the demo and sample html files that are in the ZIP package?

@LaurentGoderre
Copy link
Member

Yep!

@sbrioux
Copy link
Author

sbrioux commented Oct 16, 2015

This is exactly what I was looking for! Now I can update my own PHP template so much easier. epic!

@LaurentGoderre
Copy link
Member

v4.0.16 was a big change to make it easier for variant to manage their resources.

@sbrioux
Copy link
Author

sbrioux commented Oct 16, 2015

Just made my day easier now. Was the information to do this available somewhere? I wasn't sure where to look. I was merely only looking at the wet-boew/wet-boew project and didn't know to look in the others.

@LaurentGoderre
Copy link
Member

No, it's not really documented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants