gitgraph.js

A JavaScript library to draw pretty git graphs in the browser

Github星跟蹤圖

GitGraph.js

A JavaScript library to draw pretty git graphs.


? Help! The project is looking for maintainers!

Build Status
MIT License
lerna
Join the chat at https://gitter.im/gitgraphjs/community

Getting started

GitGraph.js codebase is a monorepo. Packages are released under @gitgraph/* scope.

As a user, you're probably interested in one of the rendering libraries:

You'll find usage details in their README.

As a contributor, you might be interested in checking out gitgraph-core. It contains the core logic for rendering libraries to use.

Running the project locally

Pre-requisites:

Setting things up:

  1. Clone the repository: git clone git@github.com:nicoespeon/gitgraph.js.git
  2. Install dependencies: yarn install
  3. Bootstrap the project: yarn run lerna bootstrap

Lerna will install dependencies of all packages and links any cross-dependencies.

Available root-level commands are detailed in package.json. You would usually need:

  • yarn test to run Jest unit tests (yarn test --watch for watch mode)
  • yarn develop to start Storybook, watching for changes of all packages

You can also go to specific packages and run available commands detailed in their package.json. For example, you could cd packages/gitgraph-core/ and run yarn test --watch to only run tests of this package.

But root-level commands are more convenient!

Contributing

Contributing Guide

Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to GitGraph.js.

Good First Issues

To help you get your feet wet and get you familiar with our contribution process, we have a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started.

Versioning

We use SemVer as a guideline for our versioning here.

Releases use the following format:

<major>.<minor>.<patch>
  • Breaking changes bump <major> (and reset <minor> & <patch>)
  • Backward compatible changes bump <minor> (and reset <patch>)
  • Bug fixes bump <patch>

Authors and contributors

Nicolas Carlo - @nicoespeon / https://nicoespeon.com

Fabien Bernard - @fabien0102 / https://fabien0102.com

0
1
2
3
4
5
6
7

Copyright (c) 2013 Nicolas CARLO and Fabien BERNARD under the MIT license.

?‍ What does that mean?

Thanks

Thanks to Chromatic for providing the visual testing platform that help us catch visual regressions for the rendering libs.

主要指標

概覽
名稱與所有者nicoespeon/gitgraph.js
主編程語言TypeScript
編程語言JavaScript (語言數: 6)
平台
許可證MIT License
所有者活动
創建於2013-08-14 09:46:20
推送於2024-07-13 11:37:49
最后一次提交2024-07-13 07:37:49
發布數144
最新版本名稱@gitgraph/website@0.0.11 (發布於 2021-03-06 14:40:02)
第一版名稱v0.1.0 (發布於 2013-08-23 10:19:54)
用户参与
星數3.1k
關注者數57
派生數366
提交數1.5k
已啟用問題?
問題數281
打開的問題數0
拉請求數128
打開的拉請求數0
關閉的拉請求數33
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?