Skip to content

sliftist/binpub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

binpub is a utility which makes republishing binaries easier.

It is extremely fragile right now, and WILL automatically PUSH git repos and PUBLISH npm packages (which is super dangerous, so be warned...).

Steps to setup overarching package:

  1. yarn global add binpub
  2. Create a repo on github, with the desire package name, on the git account that is current setup on your machine (the git config user.name account).
  3. Create a folder on your machine with the package name
  4. Navigate to inside that folder
  5. git init
  6. git remote add origin git@github.com:{gitUserName}/{packageName}.git
  7. git push -u origin master
  8. binpub init {packageName} --bins {primaryExecutableName} --addFiles {addFileName1} --addFiles {addFileName2}

Steps to add binaries:

  1. binpub add {packageName}

Steps for overarching repo to publish added binaries:

  1. git pull
  2. npm publish

Requirements:

  1. npm has to be setup to be able to publish (npm adduser).
  2. git has to be setup to be able to push via ssh, and git config user.name and git config user.email must both be set up (git config user.name 'preferred-user-name').

About

Utility for publishing binary npm packages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published