Skip to content

Commit 0760113

Browse files
committed
Merge branch 'release/v0.1.0'
2 parents 7b4ff7d + 4823321 commit 0760113

File tree

6 files changed

+664
-601
lines changed

6 files changed

+664
-601
lines changed

.gitignore

+2-5
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
.idea
33
node_modules
44
npm-debug.log
5-
6-
coverage/lcov-report/
7-
85
coverage/
9-
10-
all_issues\.csv
6+
all_issues.csv
7+
yarn-error.log

.travis.yml

+17-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
1+
sudo: false
12
language: node_js
3+
os:
4+
- linux
5+
- osx
26
node_js:
3-
- "node"
4-
- "6"
7+
- 8
8+
- 7
9+
- 6
10+
- node
511
cache: yarn
6-
script:
7-
- ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --reporter test/ -- -R spec
8-
- ./node_modules/.bin/codecov
12+
before_install: yarn global add greenkeeper-lockfile@1
13+
before_script: greenkeeper-lockfile-update
14+
after_script: greenkeeper-lockfile-upload
15+
after_success:
16+
- yarn cover
17+
- ./node_modules/.bin/codecov
18+
env:
19+
global:
20+
secure: eGptEeBpj9rsGNLF6cqvXsclE6QBCWABReVPq5ueQ0LqeE8/bXKKDoIWSkFL105Zk0grqUiMRESfIr7CWFyFlT75MhE1/QfKsGtNtJoZ4FQMb/a85VjQLBWEX9Nr34+R+FMv3a2HY49SuFhFcyndSbPZ4vc3lV48+gV/QzbKT2vNSjgH2wQrMlqgkg3Sg8sghdaVsKWsd3TxLX+PvfZD23M+bYMf1CGO0bub4kUuAZ+EfTi+nVFE5XQVZP5Ln8Ypwy8FyftxBIiYu6DkuXoGoBZxr9Ov70ANCIJeDsAhRioDSJ/33VtgSuBLjEoBgZsrdSet5q95/t4iPdzqfQlqTJvJ1uhwdWP/OdiH6Eip+elLGb4m1xaLMjCyCGY1FL5RnafCYRFsyIZWE2H1qQnOrd4gnfZx03Yrmg6ZnodyqvEp8sVvLxl5aWiiv9QMlTK1s6z23I9g1zx3kYcY0vBvdgEFCG/1vmD0dqK3A3/wr58EVeR01nj+pbqeJtnXk1bu9eTV2p9YpVsHpjM33sqwXtqoPegCGGuAsLyWoszjfK6ZhEMLS7T8Wlf8ECACd60u/5T+d7rOqhfCaCdkXu4kZczpZ9EeFBTpuHPRFDEvTNka35HXoFoY8c0TXY0zE3wSJL7xubKVPO/lFjsPREuQXxTOcSvnNxLQrL4+wjjQW9w=

README.md

+16-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Git Issues Downloader
22

3+
[![Greenkeeper badge](https://badges.greenkeeper.io/remoteorigin/git-issues-downloader.svg)](https://greenkeeper.io/)
4+
35
Command line application allowing you to download all issues in the CSV format from the public or private repository
46

57
[![Build Status](https://travis-ci.org/remoteorigin/git-issues-downloader.svg?branch=master)](https://travis-ci.org/remoteorigin/git-issues-downloader)
@@ -8,13 +10,19 @@ Command line application allowing you to download all issues in the CSV format f
810

911
## Requirements
1012

11-
- [Node.js](https://nodejs.org) (`v6.10.3 LTS`)
12-
- [Yarn](https://yarnpkg.com) (for development)
13+
- [Node.js](https://nodejs.org) `v8.10.0 LTS` (tested on versions `6`, `7`, `8` and `latest`)
14+
- [Yarn](https://yarnpkg.com) `latest`
1315

1416
## Installation
1517

18+
Via `npm`
19+
1620
npm install -g git-issues-downloader
1721

22+
Via `yarn`
23+
24+
yarn global add git-issues-downloader
25+
1826
## Ussage
1927

2028
git-issues-downloader <repository URL>
@@ -45,10 +53,14 @@ Example with username and password
4553

4654
All tests are are written in [Mocha](https://mochajs.org/) and stored in the `test` folder.
4755

48-
yarn run test
56+
yarn test
4957

5058
### Linting
5159

5260
Using [Standard](https://github.com/feross/standard) JavaScript linter & automatic code fixer.
5361

54-
yarn run lint
62+
yarn lint
63+
64+
Automaticaaly fix linting issues
65+
66+
yarn lint:fix

app.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ const chalk = require('chalk')
99
const argv = require('yargs')
1010
.usage('Usage: git-issues-downloader [options] URL \nType git-issues-downloader --help to see a list of all options.')
1111
.help('h')
12-
13-
.version(function () {
14-
return `Version: ${require('./package.json').version}`
15-
})
16-
12+
.version()
1713
.alias('h', 'help')
1814
.alias('v', 'version')
1915
.alias('u', 'username')

package.json

+16-10
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "git-issues-downloader",
3-
"version": "0.0.2",
3+
"version": "0.1.0",
44
"main": "app.js",
55
"license": "MIT",
66
"scripts": {
77
"start": "node app.js ; exit 0",
8-
"test": "mocha test",
8+
"test": "mocha",
9+
"cover": "istanbul cover _mocha -- -R spec",
910
"lint": "standard",
1011
"lint:fix": "standard --fix"
1112
},
@@ -15,23 +16,23 @@
1516
]
1617
},
1718
"dependencies": {
18-
"chalk": "^1.1.3",
19-
"codecov": "^2.2.0",
19+
"chalk": "^2.3.2",
20+
"codecov": "^3.0.0",
2021
"istanbul": "^0.4.5",
2122
"lodash": "^4.17.4",
2223
"moment": "^2.18.1",
2324
"read": "^1.0.7",
2425
"request": "^2.81.0",
25-
"sinon": "^2.3.1",
26-
"yargs": "^8.0.1"
26+
"sinon": "^4.4.8",
27+
"yargs": "^11.0.0"
2728
},
2829
"bin": {
2930
"git-issues-downloader": "app.js"
3031
},
3132
"devDependencies": {
32-
"chai": "^3.5.0",
33-
"mocha": "^3.4.1",
34-
"standard": "^10.0.2"
33+
"chai": "^4.1.2",
34+
"mocha": "^5.0.5",
35+
"standard": "^11.0.1"
3536
},
3637
"description": "Command line application allowing you to download all issues in the CSV format from the public or private repository",
3738
"repository": "git@github.com:remoteorigin/git-issues-downloader.git",
@@ -47,6 +48,11 @@
4748
"tickets",
4849
"download",
4950
"downloader",
50-
"csv"
51+
"save",
52+
"csv",
53+
"export",
54+
"offline",
55+
"local",
56+
"cli"
5157
]
5258
}

0 commit comments

Comments
 (0)