Skip to content

Conversation

@ff6347
Copy link
Contributor

@ff6347 ff6347 commented Sep 14, 2014

I think this could be a starter for adding p5.js to bower. Like requested in issue #371
I'm not sure if this is enough but worth a try.
To push it to the registry it only needs:

# if bower is not installed  
npm install -g bower
# then
bower register p5js https://github.com/lmccart/p5.js.git  

@ff6347
Copy link
Contributor Author

ff6347 commented Sep 16, 2014

Just a note. Bower looks at the latest tag not the current state in the repo. So every time a new version is released or patched the bower.json needs to be updated as well.

lmccart pushed a commit that referenced this pull request Sep 16, 2014
@lmccart lmccart merged commit ef4fb59 into processing:master Sep 16, 2014
@lmccart
Copy link
Member

lmccart commented Sep 16, 2014

great thanks! is there a grunt plugin that could update bower on package version update? otherwise I will try to remember to update but p5.js is already registered on a number of others I'm keeping track of, so if you see it missing a version feel free to run the update command.

@ff6347
Copy link
Contributor Author

ff6347 commented Sep 16, 2014

Yeah there is. grunt-update-json

I installed it to my fork and tested it. It works. But if I create a pull request p5.js will be changed to version 0.3.7 because I made some test with the bower usage and so on. Also I needed to create a tag for it.

@ff6347 ff6347 mentioned this pull request Sep 16, 2014
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

Successfully merging this pull request may close these issues.

2 participants