1.3.6 • Published 4 years ago

my-publisher v1.3.6

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

my-publisher

A command tool to publish my packages on npmjs.org (including private packages).

Motivation

  • Every day, I spend too much time to publish packages to npmjs.org.

Installation

$ npm install -g my-publisher

Usage

$ publish -m "your message" --access public

$ publish --help

What the cli do

  • Checkout to develop branch
  • Increase version in package.json
  • Commit package.json
  • Push to origin develop
  • Merge develop into master
  • Create a tag with format release/vx.y.z from master
  • Check .npmrc and hide .npmrc if needed
  • Run npm publish with global .npmrc file (from ~/.npmrc)
  • Checkout to develop again

Development

  • Create develop environment: create dev.env with content:
CURRENT_DIR=/your-dir/my-publisher-example
ACCESS=public
  • Install dependency packages:
npm install
  • Run script:
npm run dev

License

This code is free to use under the terms of the MIT license.

1.3.6

4 years ago

1.3.5

4 years ago

1.3.4

4 years ago

1.3.3

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago