yw-cli

0.6.1 • Public • Published

yw-cli

CLI to help with publishing

Install

npm install -g yw-cli

This will install yw-cli globally. The utility will be available via the yw command

Usage

yw publish major|minor|patch

This command will do the following:

  • Check that the git status is clean
  • Calculate the new version number (based on semver) and branch
  • Increment the version number in package.json and bower.json
  • Commit that change
  • Create a tag with the version number
  • Push change and tag

yw update

This command will check the github urls in the package.json and bower.json of the working directory It will then update the tags to the latest available

yw build

This command will rebuild all bower deps that have brunch. To make this happen automatically you can add a .bowerrc file with the following contents:

{ "scripts": { "postinstall": "yw build %" } }

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.6.1
    0
    • latest

Version History

Package Sidebar

Install

npm i yw-cli

Weekly Downloads

0

Version

0.6.1

License

ISC

Last publish

Collaborators

  • davidgtonge