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
Publish on bower #177
Comments
Yes, each template should be an individual bower package. So, in a new folder, one installs shower and a template of choice: bower install shower
bower install shower-template-ribbon The bower install will basically check out the git branches and place the files in a folder <script src="bower_components/shower/shower.js" />
<link href="bower_components/shower-template-ribbon/main.css" rel="stylesheet"/> When the modules are released via bower, it would be possible to set up a yeoman generator including a template selection. For starters there could be a What further information do you need? |
Would it be just a Would it be interesting for you to also make an npm package? Since it's quite similar to bower. BTW, all Shower modules are already available as ZIP files: shwr.me/shower.zip, shwr.me/template.zip, etc. |
The only change in the shower and template repositories would be adding a The Regarding the ZIP files, I just wanted to mention that it would be still possible to provide them. :) |
Just saw this in twitter: A bower introduction |
@pepelsbey , JFYI, you may change |
@pepelsbey, @h4: Yes, but that is only needed when installing shower via bower. For publishing in bower only the |
Sorry for late replies, something’s wrong with notifications :( Currently I’m discussing with @tonyganch idea to move Shower from git submodules infrastructure to packages (npm and bower). It’s a bigger task than just adding Thank you @ro-ka for pushing this idea! |
@pepelsbey: Nice to hear that! :) Is the discussion public or private? |
@ro-ka, it’s offline discussion :) |
@ro-ka, if you like wine and happen to be in St. Petersburg, Russia, feel free to join :) |
@pepelsbey @tonyganch That's not right around the corner. ;) Tell me about the results, then! :) |
@ro-ka, it’s not announced yet but see Readme in npm branch. There will be |
Awesome! Will try it for my next talk. :) Thanks! |
I'm looking into writing a yeoman generator-shower, once it's in bower, let me know if any of you guys want to collaborate on that. |
@kcherkashin: Sounds good! Can help with that. |
@kcherkashin @ro-ka, I’m inclining to keep all modules in npm only and not to spend time on republishing the same packages to Bower. Especially since Bower is built on top of npm. Also one package (grunt-csso) required for themes is not available in Bower. Is it possible to use npm packages in Yeoman generators? |
@pepelsbey: Releasing in npm and bower are two different things: npm is a node (server side) package manager and bower is a frontend package manager. As shower is an app for frontend use, it should be released in bower. The effort is really small, as you only need an Regarding the If you like, I can generate the |
@ro-ka, I’m sorry for mentioning I’m going to start using semver once |
Nice, so they are already on bower now! |
Well, they are not that up to date with npm as they should be ;) |
Using semver, they will be. :) |
bower.json added to all new package-based branches. Will merge it to master on Tuesday. |
Fixed! |
Great! :) |
Used shower for my slides and it worked great. But the workflow could be better, I think.
When the shower repo and the themes would be published on bower, one could create a new presentation more easy. It would separate the logic from the actual presentation. Then it would not be necessary to use sub-repositories.
Interested? Then I could create a Pull Request with the necessary bower information.
The text was updated successfully, but these errors were encountered: