-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Switch to bower for managing frontend dependencies. #2272
Comments
+1
I also find that confusing. I'd prefer a clean separation of client and server libs, as most of them will be outside of git and included via bower or npm.
If these are custom and modified only for our uses then we should probably take them out of vendor, as they're Ghost specific. With switching to bower we should add the |
They are meant to be client libs - admin client and theme client. However it has also been used for stuff shared between server and client such as showdown/github.js And yes, I've had an item on my todo list to move github.js and ghostdown.js out of vendor for about 5 months.... sigh |
Link to our conversation about this in IRC: http://107.20.237.151:8081/logs/%23ghost/20140303#pm41635 |
fixes TryGhost#2272 - Remove libraries from shared/vendor - Remove libraries from client/assets/vendor - Add bower to package.json and postinstall - Add bower.json with dependencies - Add scripts from bower_components to concat/uglify - Fix tests - Serve jquery from /ghost/built/theme/
issue TryGhost#2272 - handlebars version should match node (1.3.0) - iCheck isn't used
fixes #2272 - Remove libraries from shared/vendor - Remove libraries from client/assets/vendor - Add bower to package.json and postinstall - Add bower.json with dependencies - Add scripts from bower_components to concat/uglify - Fix tests - Serve jquery from /ghost/built/theme/
To date we've had no management around our various frontend dependencies. As we switch to ember, we're going to want to use bower.
I think it would be really good to do this in master for our current setup and merge it back into the ember branch... thoughts?
We can probably put the majority of our dependencies in bower.json, and then run
bower install
as part ofnpm install
:https://github.com/stefanpenner/ember-app-kit/blob/master/package.json#L17
This should be reasonably straight forward to do, however there are a couple of considerations:
If we can make a sensible decision about how to sort these bits out, this might even be a good candidate for a
beginner
issue?The text was updated successfully, but these errors were encountered: