Skip to content
This repository was archived by the owner on Oct 28, 2020. It is now read-only.

Commit 1cf2eb5

Browse files
committed
feat(readme): updated readme with important sections, contributing guidelines, dependency ci badge
closes #52
1 parent 1dbaab0 commit 1cf2eb5

File tree

2 files changed

+31
-10
lines changed

2 files changed

+31
-10
lines changed

README.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
# :electric_plug::package: github-issues-label-sync
1+
# :electric_plug::package: github-issues-label-sync [![License](http://img.shields.io/:license-BSD2-blue.svg?style=flat-square)](https://opensource.org/licenses/BSD-2-Clause) [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://github.com/semantic-release/semantic-release)
22

3-
[![Build Status](http://img.shields.io/travis/superleap/github-issues-label-sync.svg?style=flat-square)](https://travis-ci.org/superleap/github-issues-label-sync) [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://github.com/semantic-release/semantic-release)
3+
[![current version](https://img.shields.io/npm/v/github-issues-label-sync.svg?style=flat-square)](https://www.npmjs.com/package/github-issues-label-sync) [![current version](https://img.shields.io/node/v/github-issues-label-sync.svg?style=flat-square)](https://www.npmjs.com/package/github-issues-label-sync) [![GitHub issues](https://img.shields.io/github/issues/superleap/github-issues-label-sync.svg)](https://github.com/superleap/github-issues-label-sync/issues) [![Join the chat at https://gitter.im/superleap/github-issues-label-sync](https://badges.gitter.im/superleap/github-issues-label-sync.svg)](https://gitter.im/superleap/github-issues-label-sync?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
44

5-
[![current version](https://img.shields.io/npm/v/github-issues-label-sync.svg?style=flat-square)](https://www.npmjs.com/package/github-asana-tag-sync) [![current version](https://img.shields.io/node/v/github-issues-label-sync.svg?style=flat-square)](https://www.npmjs.com/package/github-asana-tag-sync)
6-
[![Dependency Status](https://david-dm.org/superleap/github-issues-label-sync.svg)](https://david-dm.org/superleap/github-issues-label-sync) [![devDependency Status](https://david-dm.org/superleap/github-issues-label-sync/dev-status.svg)](https://david-dm.org/superleap/github-issues-label-sync#info=devDependencies)
5+
[![Build Status](http://img.shields.io/travis/superleap/github-issues-label-sync.svg?style=flat-square)](https://travis-ci.org/superleap/github-issues-label-sync) [![Dependency Status](https://dependencyci.com/github/superleap/github-issues-label-sync/badge)](https://dependencyci.com/github/superleap/github-issues-label-sync) [![Dependency Status](https://david-dm.org/superleap/github-issues-label-sync.svg)](https://david-dm.org/superleap/github-issues-label-sync) [![devDependency Status](https://david-dm.org/superleap/github-issues-label-sync/dev-status.svg)](https://david-dm.org/superleap/github-issues-label-sync#info=devDependencies)
76

87
[![codecov](https://codecov.io/gh/superleap/github-issues-label-sync/branch/master/graph/badge.svg)](https://codecov.io/gh/superleap/github-issues-label-sync) [![bitHound Overall Score](https://www.bithound.io/github/superleap/github-issues-label-sync/badges/score.svg)](https://www.bithound.io/github/superleap/github-issues-label-sync) [![bitHound Dependencies](https://www.bithound.io/github/superleap/github-issues-label-sync/badges/dependencies.svg)](https://www.bithound.io/github/superleap/github-issues-label-sync/master/dependencies/npm) [![bitHound Dev Dependencies](https://www.bithound.io/github/superleap/github-issues-label-sync/badges/devDependencies.svg)](https://www.bithound.io/github/superleap/github-issues-label-sync/master/dependencies/npm) [![bitHound Code](https://www.bithound.io/github/superleap/github-issues-label-sync/badges/code.svg)](https://www.bithound.io/github/superleap/github-issues-label-sync)
98

10-
[![License](http://img.shields.io/:license-BSD2-blue.svg?style=flat-square)](https://opensource.org/licenses/BSD-2-Clause) [![GitHub issues](https://img.shields.io/github/issues/superleap/github-issues-label-sync.svg)](https://github.com/superleap/github-issues-label-sync/issues) [![Join the chat at https://gitter.im/superleap/github-issues-label-sync](https://badges.gitter.im/superleap/github-issues-label-sync.svg)](https://gitter.im/superleap/github-issues-label-sync?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
119

1210
## Overview
1311

@@ -19,8 +17,18 @@
1917
2018
> **CLI version in progress**
2119
20+
## Requirements
21+
22+
In order to run the `github-issues-label-sync` package you will need the following things:
23+
24+
- a github OAuth token otherwise called personal access token. You can do this here: [github.com/settings/tokens](https://github.com/settings/tokens)
25+
- an environment running at least node v4
26+
- either `npm` or `git` installed
27+
2228
## Installation
2329

30+
There are multiple ways to run this module:
31+
2432
### NPM
2533

2634
Install GitHub Issues Label Sync with [NPM](https://www.npmjs.com/) or add
@@ -321,6 +329,14 @@ githubIssuesLabelSync.importLabels(labels, false).then((response) => {
321329
});
322330
```
323331

332+
## Contribute
333+
334+
We'd love to get contributions from you! Once you are up and running, take a look at the [contributing docs](https://github.com/superleap/github-issues-label-sync/blob/master/CONTRIBUTING.md) to see how to get your changes merged in.
335+
336+
## Changelog
337+
338+
See the [release page](https://github.com/superleap/github-issues-label-sync/releases).
339+
324340
## License
325341

326342
Copyright (c) 2016, TED Vortex (Teodor Eugen Duțulescu)

gulpfile.babel.js

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,17 @@ gulp.task(`manual`, [`changelog`], () => {
7272

7373
return versions.join(``);
7474
}).then((response) => {
75+
let overview = `## Overview\n${blocks[1]}\n\n`;
76+
let reqs = `## Requirements\n${blocks[2]}\n\n`;
77+
let contrib = `## Contributing\n${blocks[7]}\n\n`;
78+
let license = `## LICENSE\n${blocks[9]}`;
79+
7580
let bindings = {
76-
"index": `${blocks[0]}\n\n${blocks[1]}\n\n## LICENSE\n${blocks[6]}`,
77-
"installation": blocks[2],
78-
"usage": blocks[3],
79-
"configuration": blocks[4],
80-
"examples": blocks[5],
81+
"index": `${blocks[0]}\n\n${overview}${reqs}${contrib}${license}`,
82+
"installation": `${blocks[2]}\n\n${blocks[3]}`,
83+
"usage": blocks[4],
84+
"configuration": blocks[5],
85+
"examples": blocks[6],
8186
"changelog": response
8287
};
8388

0 commit comments

Comments
 (0)