@dynamogeek/git-graph

1.0.3 • Public • Published

To use GitGraph, pass a pullRequests prop that is an array of objects, where each object has two properties: source, and target.

An example implementation can be found here.

let pullRequests = [
 {
   "source": "task/sub-branch-of-big-report-branch",
   "target": "feature/big-report-branch"
 },
 {
   "source": "feature/big-report-branch",
   "target": "master"
 },
 {
   "source": "task/some-task-going-into-develop",
   "target": "develop"
 },
 {
   "source": "task/another-task-going-into-develop",
   "target": "develop"
 },
 {
   "source": "task/the-best-task-going-into-develop",
   "target": "develop"
 }
];
<GitGraph pullRequests={pullRequests}/>

Readme

Keywords

none

Package Sidebar

Install

npm i @dynamogeek/git-graph

Weekly Downloads

0

Version

1.0.3

License

mit

Unpacked Size

8.44 kB

Total Files

3

Last publish

Collaborators

  • dynamogeek