Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create bower package #2

Merged
merged 2 commits into from
Jan 13, 2016
Merged

Create bower package #2

merged 2 commits into from
Jan 13, 2016

Conversation

rbecheras
Copy link
Contributor

After merging this PR, you should

  • release a new git tag: v0.2.0
  • register this git repo to bower public registry (I could do it but you have to create the release git tag first, it is required in order to register any bower package)

kig added a commit that referenced this pull request Jan 13, 2016
@kig kig merged commit 73d7f8f into kig:master Jan 13, 2016
@rbecheras
Copy link
Contributor Author

Thanks for merging!

I just registered it to bower public register:

$ bower register shp.js git@github.com:kig/shp.js.git
bower                          convert Converted git@github.com:kig/shp.js.git to git://github.com/kig/shp.js.git
bower shp.js#*                 resolve git://github.com/kig/shp.js.git#*
bower shp.js#*                download https://github.com/kig/shp.js/archive/v0.2.0.tar.gz
bower shp.js#*                 extract archive.tar.gz
bower shp.js#*                resolved git://github.com/kig/shp.js.git#0.2.0
? Registering a package will make it installable via the registry (https://bower.herokuapp.com), continue? Yes
bower shp.js                  register git://github.com/kig/shp.js.git

Package shp.js registered successfully!
All valid semver tags on git://github.com/kig/shp.js.git will be available as versions.
To publish a new version, just release a valid semver tag.

Run bower info shp.js to list the available versions.

You can note these lines

All valid semver tags on git://github.com/kig/shp.js.git will be available as versions.
To publish a new version, just release a valid semver tag.

Run bower info shp.js to list the available versions.

And running bower info shp.js returns for now:

$ bower info shp.js
bower shp.js#*                  cached git://github.com/kig/shp.js.git#0.2.0
bower shp.js#*                validate 0.2.0 against git://github.com/kig/shp.js.git#*

{
  name: 'shp.js',
  main: 'shp.js',
  version: '0.2.0',
  authors: [
    'Ilmari Heikkinen'
  ],
  description: 'Shapefile parser',
  moduleType: [
    'globals'
  ],
  keywords: [
    'three.js',
    'shape',
    'shape',
    'file'
  ],
  license: 'APACHE-2.0',
  homepage: 'http://fhtr.org/shp.js',
  ignore: [
    '**/.*',
    'node_modules',
    'bower_components',
    'test',
    'tests'
  ]
}

Available versions:
  - 0.2.0
You can request info for a specific version with 'bower info shp.js#<version>'

@rbecheras rbecheras deleted the create-bower-package branch January 13, 2016 10:18
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