@jonallured/pear
Credit where credit is due.
Last updated a month ago by jonallured .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @jonallured/pear 
SYNC missed versions from official npm registry.

pear CircleCI

Credit where credit is due.

Workflows

Pear can be used in any number of ways, but they basically boil down to these:

  • copy/paste trailer into commit message
  • amend commit with trailer
  • automate trailer with post commit hook

The first two are more manual in case git hooks aren't your thing while the last helps automate.

Cutting a new release

The process of cutting a new release is mostly managed by CircleCI. All that needs to be done locally is running the release script:

# those args are old/new version numbers
$ ./bin/release 0.0.0 0.0.1

This script will find the old version, replace with the new version and then do all the git things to get GitHub updated and kick off the release job on Circle.

Usage

$ npm install -g @jonallured/pear
$ pear COMMAND
running command...
$ pear (-v|--version|version)
@jonallured/pear/0.2.0 darwin-x64 node-v10.15.1
$ pear --help [COMMAND]
USAGE
  $ pear COMMAND
...

Commands

pear amend

amend last commit message with trailers

USAGE
  $ pear amend

See code: src/commands/amend.ts

pear current

list current authors

USAGE
  $ pear current

See code: src/commands/current/index.ts

pear current:add

add current author

USAGE
  $ pear current:add

See code: src/commands/current/add.ts

pear current:clear

clear current authors

USAGE
  $ pear current:clear

See code: src/commands/current/clear.ts

pear current:trailer

list current authors in trailer format

USAGE
  $ pear current:trailer

See code: src/commands/current/trailer.ts

pear help [COMMAND]

display help for pear

USAGE
  $ pear help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

pear init

create the ~/.pear-data file

USAGE
  $ pear init

See code: src/commands/init.ts

pear known

list known authors

USAGE
  $ pear known

See code: src/commands/known/index.ts

pear known:add

add known author

USAGE
  $ pear known:add

See code: src/commands/known/add.ts

Current Tags

  • 0.4.0                                ...           latest (a month ago)

5 Versions

  • 0.4.0                                ...           a month ago
  • 0.3.0                                ...           a month ago
  • 0.2.0                                ...           a year ago
  • 0.1.0                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 5
Last Month 5
Dev Dependencies (14)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |