Permalink
Browse files

Adds jQuery package manifest file.

  • Loading branch information...
1 parent 596a3a5 commit d9b356052ed77ba4a4ae9d8940dbbb63a7b09123 Chakrit Wichian committed Jan 17, 2013
Showing with 26 additions and 0 deletions.
  1. +26 −0 xpubsub.jquery.json
View
@@ -0,0 +1,26 @@
+{
+ "name": "xpubsub",
+ "version": "v0.1.0",
+ "title": "jQuery-xPubSub",
+ "author": {
+ "name": "Chakrit Wichian",
+ "email": "service@chakrit.net",
+ "url": "http://chakrit.net"
+ },
+ "license": [{
+ "type": "BSD",
+ "url": "http://opensource.org/licenses/BSD-3-Clause"
+ }],
+ "dependencies": {
+ "jquery": ">= 1.4.0"
+ },
+ "description": "A very minimal client-side publish/subscribe system on top of jQuery.",
+ "keywords": "pubsub, publish subscribe",
+ "homepage": "https://github.com/chakrit/jquery-xpubsub",
+ "maintainers": [{
+ "name": "Chakrit Wichian",
+ "email": "service@chakrit.net",
+ "url": "http://chakrit.net"
+ }],
+ "bugs": "https://github.com/chakrit/jquery-xpubsub/issues"
+}

5 comments on commit d9b3560

Version should be 0.1.0 (no v) inside the manifest.
Keywords should be an array: ["pubsub", "publish", "subscribe"]

Bump up a version number and retag, it should work!

Manifest errors: github/chakrit/jquery-xpubsub v0.1.0 xpubsub.jquery.json [ 'Manifest version (v0.1.0) is invalid.', 'Missing required field: licenses.', 'Invalid data type for keywords; must be an array.' ]

Can you fix these errors (You don't need the "v" in the version", it's 'licenses', not 'license', and "keywords" must be an array)? Then bump the version to 0.1.1 and push a new tag to try again? Thanks and sorry for the trouble so far

Owner

chakrit replied Jan 17, 2013

@ajpiano @gnarf37 I've fixed the issues you've suggested. It should shows up on http://plugins.jquery.com/xpubsub/ right?

Yup, it has been added! yay!

Owner

chakrit replied Jan 17, 2013

@gnarf37 @ajpiano ok, thanks for the speedy help! appreciated!

one suggestion tho, maybe you guys should make the page on plugins.jquery.com shows the README.md file if there's one?
That's like a common thing for every package now.

Please sign in to comment.