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.


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.


$ 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]
  $ pear COMMAND


pear amend

amend last commit message with trailers

  $ pear amend

See code: src/commands/amend.ts

pear current

list current authors

  $ pear current

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

pear current:add

add current author

  $ pear current:add

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

pear current:clear

clear current authors

  $ pear current:clear

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

pear current:trailer

list current authors in trailer format

  $ pear current:trailer

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

pear help [COMMAND]

display help for pear

  $ pear help [COMMAND]

  COMMAND  command to show help for

  --all  see all commands in CLI

See code: @oclif/plugin-help

pear init

create the ~/.pear-data file

  $ pear init

See code: src/commands/init.ts

pear known

list known authors

  $ pear known

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

pear known:add

add known author

  $ 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)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 5
Last Month 5
Dev Dependencies (14)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |