1.2.0 • Published 4 years ago

chglog v1.2.0

Weekly downloads
126
License
MIT
Repository
github
Last release
4 years ago

Crawling pull-request with commit message and commit hash

Installation

yarn add chglog

Usage

Define a visitor

export interface Visitor {
  visitLabel(label: Label, source: PullRequest): void;
  visitAuthor(author: User, source: PullRequest): void;
}
const createSampleVistor = () => {
  return {
    visitLabel(label: Label, source: PullRequest) {
      ...
    },
    visitAuthor(author: User, source: PullRequest) {
      ...
    },   
};

Fetch and parse

const visitor = createSampleVistor();

await fetchData(
  {
    rightRef: '',
    leftRef: '',
    githubToken: '',
    repoOwner: '',
    repoName: '',
    workingDirectory: ''
  },
  visitor
);
1.2.0

4 years ago

1.0.0

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.6

4 years ago

0.1.2

4 years ago

0.1.4

4 years ago

0.1.5

4 years ago

0.1.1

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago