[
https://issues.apache.org/jira/browse/THRIFT-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13888743#comment-13888743
]
Randy Abernethy commented on THRIFT-2190:
-----------------------------------------
Someone with the appropriate authority needs to run the registration. Also the
library posted should be the output of the JS grunt build (in js/dist). This
way as the js/src grows and separate files manifest the js/dist will continue
to present a single concatenated minified gzipped thrift.js archive for
distribution. This will require the js/dist to appear at some git end point.
Per Bower:
To register a new package:
There must be a valid manifest JSON in the current working directory.
Your package should use semver Git tags.
Your package must be available at a Git endpoint (e.g., GitHub); remember
to push your Git tags!
Then use the following command:
bower register <my-package-name> <git-endpoint>
The Bower registry does not have authentication or user management at this
point in time. It's on a first come, first served basis. Think of it like a URL
shortener. Now anyone can run bower install <my-package-name>, and get your
library installed.
There is no direct way to unregister a package yet. For now, you can request a
package be unregistered.
> Add the JavaScript thrift.js lib to the Bower registry
> ------------------------------------------------------
>
> Key: THRIFT-2190
> URL: https://issues.apache.org/jira/browse/THRIFT-2190
> Project: Thrift
> Issue Type: Wish
> Components: JavaScript - Library
> Affects Versions: 1.0
> Reporter: Randy Abernethy
> Assignee: Randy Abernethy
> Priority: Minor
> Labels: Bower,, Grunt,, package.json
> Fix For: 0.9.2
>
> Attachments:
> 0001-Setup-grunt-and-package.json-project-for-browser-thr.patch
>
>
> Grunt/Bower/Yeoman appear to have the wind at their back. Would be great for
> front end JavaScript developers to be able to bower install thrift.
> http://bower.io/
> This patch adds a grunt project, jsdoc, jshint, concat, minification and
> qunit test runner.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)