photon icon indicating copy to clipboard operation
photon copied to clipboard

Bower

Open mateusdemboski opened this issue 9 years ago • 19 comments

Hi! could be added in the project a bower.json to facilitate the maintenance of "front-end" dependencies. =)

tks,

mateusdemboski avatar Oct 16 '15 16:10 mateusdemboski

People still use Bower?

developit avatar Oct 16 '15 20:10 developit

I was going to suggest NPM since it's already available there, no need to take offence.

developit avatar Oct 16 '15 20:10 developit

+1

schnti avatar Oct 16 '15 20:10 schnti

@developit FYI, you can already install Photon via npm by using its repository url:

npm install https://github.com/connors/photon

sbruchmann avatar Oct 16 '15 22:10 sbruchmann

@sbruchmann indeed, or even npm i connors/photon :). It's a pity the photon name is already taken in NPM though :(

developit avatar Oct 17 '15 00:10 developit

What about namespaced? npm i @connors/photon

knownasilya avatar Oct 17 '15 22:10 knownasilya

@knownasilya yeah, that'd work (as long as nobody is trying to install with npm older than 2.x).

developit avatar Oct 17 '15 22:10 developit

In that case, it might be worth mentioning the version of npm required.

knownasilya avatar Oct 17 '15 22:10 knownasilya

Or it could be published as photonkit.

knownasilya avatar Oct 17 '15 22:10 knownasilya

^ nice, that would actually address #36, too ;)

developit avatar Oct 17 '15 22:10 developit

I accidentally installed the other photon package with npm and was really confused at first. Figured out how to add this one with the git url though. Publishing it on npm (and possibly bower), even under a slightly different name, would be cool. :)

neodon avatar Oct 19 '15 03:10 neodon

:+1: for npm support... i know it's easy to use github url, but i think being at npm main repo it would also help the project popularity...

dbpolito avatar Nov 11 '15 12:11 dbpolito

photonkit is a nice name

wong2 avatar Nov 12 '15 10:11 wong2

indeed, keep the same name across is good, github, npm, site...

dbpolito avatar Nov 12 '15 11:11 dbpolito

+1 about keep the same name across and using photonkit, now used only on site, is possible registry the package on bower and npm...

mateusdemboski avatar Nov 12 '15 12:11 mateusdemboski

To @sbruchmann and @gligoran: what is your problem? You can provide a bower.json along with a published package.json. I am not sure why you are actively downvoting people wanting Bower support.

pedzed avatar Oct 09 '16 13:10 pedzed

@pedzed I wasn’t voting against bower but against the +1-statement of @frankhale since GitHub now supports reactions to comments.

sbruchmann avatar Oct 09 '16 18:10 sbruchmann

@pedzed Wasn't actually downvoting people for wanting bower support, but the manner in which @a3bhea commented. This is supposed to be a place where people work together, so no need to be condescending.

gligoran avatar Oct 09 '16 19:10 gligoran

@sbruchmann I agree, people should not spam with +1's. But it's like slapping a child for doing something wrong: the child does not know what it did wrong, you have to explain. On the other hand, I understand that you don't want to add another comment just to say that.

@gligoran I apologize if that's the case. The reason I mentioned you was because you downvoted two or three other comments talking about Bower.

I'm currently using https://github.com/connors/photon/issues/37#issuecomment-148870022's suggestion, but it would be nice if it was registered as an NPM/Bower package of course (preferably both).

If wanted, I'll even provide a bower.json file.

pedzed avatar Oct 09 '16 19:10 pedzed