evanmoran / oj

Unified web templating for the people. Thirsty people.
MIT License
444 stars 7 forks source link

Bower #7

Closed dminkovsky closed 11 years ago

dminkovsky commented 11 years ago

Hey Evan,

Have you considered registering OJ into the Bower repository?

Thanks, Dmitry

evanmoran commented 11 years ago

I was working on this just now. Want to jump into irc and talk about the best way to organize it? IRC: freenode.net #oj

evanmoran commented 11 years ago

@dminkovsky My main question is can I create a library dependency with both the main file and the minified one?

oj/oj.js
oj/oj.min.js

And should plugins be in separate repositories: (answer is probably yes)

oj-twitter-button
oj-youtube-video 

And can bower names use capital letters:

oj.TwitterButton
oj.YouTubeVideo

(this last fits the naming of oj plugins better then npm)

dminkovsky commented 11 years ago

Yeah, I know you can make a library with main and minified files—bower install backbone, for example, yields a directory with both those files, and other things. I've never made a package though, so I don't know how to make that happen.

Yeah, plugins seem to be in different repos. When you bower search jquery you get lots of hyphenated things.

Not sure about the caps unfortunately.

On Wed, Oct 23, 2013 at 3:12 PM, Evan Moran notifications@github.comwrote:

@dminkovsky https://github.com/dminkovsky My main question can I create a library dependency with both the main file and the minified one?

oj/oj.js oj/oj.min.js

And should plugins be in separate repositories: (answer is probably yes)

oj-twitter-button oj-youtube-video

And can bower names use capital letters:

oj.TwitterButton oj.YouTubeVideo

(this last fits the naming of oj plugins better then npm)

— Reply to this email directly or view it on GitHubhttps://github.com/ojjs/oj/issues/7#issuecomment-26936650 .

evanmoran commented 11 years ago

OJ now has bower support but the plugins don't yet. Leaving this open until that happens.

evanmoran commented 11 years ago

The oj.js core library and all plugins now have Bower and RequireJS support. It is a pretty great day=).