Skip to content

Commit c0c329c

Browse files
committed
Move repo, use travis
1 parent 6ca8d71 commit c0c329c

4 files changed

Lines changed: 41 additions & 13 deletions

File tree

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: node_js
2+
node_js:
3+
- '6'
4+
deploy:
5+
- provider: npm
6+
email: code@oledid.com
7+
skip_cleanup: true
8+
api_key:
9+
secure: IsYfbPF6TFl/P4ffnoi3TyHS7vIBtH8uLUgA9ZhCo2VunV4/1kVKymSzD+OUSxz0mRGhHDl73d1LQbbiOcBoP/mbU9ZAme56KvAPscmXiV2WLNtAO2RX9N0kBYpjVJMBi/vzfO+UvRvgJQ2METMEZHSwlOkdzd17dxhAhFlw11MioHXtH9kREjt5WgR74clSeaW/78dYRMPZvsflcpgcq5KOQ0WpU1er3pi1ZOoNQjEA4SHdcAQwlAh/BcbUAASOBrajFjFjYEx2wBf0RjWI0aA/IgLJrqw0/p8TTQ0sNHGCQwyvvJMDEcfWnmqVD4xqnkRyX/x5xW1twtIg6NY5PB1ZdHFhlpWP+hc9nwSDQ+/9u5H6OCIAzxY71w/MAjEJZ5ou1pjJ5W0pW5HABBVu5rz/vt4ENrDXBJfseTgIY0K2ZW0tYiLs53JR7gTGqq9gva67iRk9uoiPXl92xISfdNyZ0XrjlU/+0WokMNtSAhuabGDtMkoTeBL1LrVIJD80CmGS/JE/eyKHFkZ1Sb262pmrSfyeCyrgTfZLhVGTP8QdW0l3F3dpdzX6zzQD7SRKpZjXiQ4KlH8MDWvQlLK4qSjyVnepsSGM7o7HoVootOt/LFq6Bv5a2tCYycZbu4k9wu+4za/UwwROg5tOmYtVEswhL9b20e8EypfCYnmrGfE=
10+
on:
11+
tags: true
12+
- provider: releases
13+
api_key:
14+
secure: MevZHm78eFKAoOwH7qHyHukb7hn7sLiXdvwfHxapCE5VPsxpAHK7/x6JOCXS3omBKitvhlJIwdXrc8g58vHIqw4BbkD7EFAqSzyEL64eQpCkAje1lUyWlg9rqgr0Obd1TmUn0W2koQzC8jpF4Y1agO/GTqjdU+XiD+PgJKlldlUzd8IY6VP+mEYvNeHn3+TbhwCLaudhw9DTBfMOJSgs4EQgtxEj18KktkSGaFKobSSFihd3Vuyo2qtQMkHG7zqQcU+ono2U0lGvxHilFJ046ZmQeCkiFhAIPiBJzGLA+KezMaikz0XtZXZmClPHtsi7d+CCokVk+YsDg02w+/lUQuj54TRBylOpFbeDecYATlrrJ2QtGA13aET1tfQWcUendducGhnDXX0uBnpdoHT/3eIgtqK8DwXjsAAqarK4Oi9Sviqt8Un3OOp/8MB5RUCd3wvmxexXxJiDJXmIiaMifMy8EeX5W8w5ScZRA4FbUlIaeNWddz10A5jQlgE/UfMlEW4PC8/s4R7q6EnvLcqbhQv8MhoRSIDyrXqD/P9GPIH9J+0hnhgW7E5/xPahh07bdNjkczidr0Uff1Dtsyszuz3k2Oe4QwgTOsli4Wc8sPKH505j/x0PWztqK0NRoqJuqJyfFJbPRVkacPEf24qpP1qL6awyUR2URw2FqJbWhQk=
15+
skip_cleanup: true
16+
on:
17+
tags: true

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# sync-github-forks-cli
2-
> Keeps github forks up to date using node, the github api and git.
1+
# sync-github-forks-cli [![Build Status](https://travis-ci.org/oledid-js/sync-github-forks-cli.svg?branch=master)](https://travis-ci.org/oledid-js/sync-github-forks-cli) [![npm](https://img.shields.io/npm/dt/sync-github-forks-cli.svg)](https://www.npmjs.com/package/sync-github-forks-cli) [![npm](https://img.shields.io/npm/v/sync-github-forks-cli.svg)](https://www.npmjs.com/package/sync-github-forks-cli)
2+
Keeps github forks up to date using node, the github api and git.
33

44

55
## Requirements:
66
`git` must be in PATH.
77

88

99
## Program flow:
10-
See [the API's readme](https://github.com/oledid/sync-github-forks)
10+
See [the API's readme](https://github.com/oledid-js/sync-github-forks)
1111

1212

1313
## Usage:
@@ -22,11 +22,11 @@ sync-github-forks oledid-forks C:/temp/sync-github-forks (secret-github-api-key)
2222
```
2323

2424
### Example output:
25-
See [the API's readme](https://github.com/oledid/sync-github-forks)
25+
See [the API's readme](https://github.com/oledid-js/sync-github-forks)
2626

2727

2828
## Related:
29-
* [@oledid/sync-github-forks](https://github.com/oledid/sync-github-forks) - API for this module
29+
* [@oledid-js/sync-github-forks](https://github.com/oledid-js/sync-github-forks) - API for this module
3030
* [@oledid-forks](https://github.com/oledid-forks) - An organization that uses this to sync its forks every day
3131

3232

jslint.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"jsRules": {
3+
"linebreak-style": [
4+
true,
5+
"LF"
6+
]
7+
}
8+
}

package.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
{
22
"name": "sync-github-forks-cli",
3-
"version": "0.1.15",
3+
"version": "0.1.16",
44
"description": "Keep github forks up to date using node, the github api and git",
55
"main": "dist/cli.js",
66
"bin": {
77
"sync-github-forks": "dist/cli.js"
88
},
99
"scripts": {
10+
"postinstall": "npm run build",
11+
"build": "tsc --newline lf",
1012
"test": "npm run lint",
11-
"lint": "tslint -c ./tslint.json src/**",
12-
"build": "tsc --newline lf"
13+
"lint": "tslint -t stylish -c ./tslint.json src/**/*.ts && tslint -t stylish -c ./jslint.json dist/**/*.js",
14+
"prepublish": "in-publish && npm run build && npm run test || not-in-publish"
1315
},
1416
"files": [
1517
"dist"
1618
],
1719
"repository": {
1820
"type": "git",
19-
"url": "git+https://github.com/oledid/sync-github-forks-cli.git"
21+
"url": "git+https://github.com/oledid-js/sync-github-forks-cli.git"
2022
},
2123
"keywords": [
2224
"sync",
@@ -31,18 +33,19 @@
3133
"author": "Ole Morten Didriksen <code@oledid.com>",
3234
"license": "MIT",
3335
"bugs": {
34-
"url": "https://github.com/oledid/sync-github-forks-cli/issues"
36+
"url": "https://github.com/oledid-js/sync-github-forks-cli/issues"
3537
},
36-
"homepage": "https://github.com/oledid/sync-github-forks-cli#readme",
38+
"homepage": "https://github.com/oledid-js/sync-github-forks-cli#readme",
3739
"devDependencies": {
3840
"@types/bluebird": "^3.0.37",
3941
"@types/node": "^7.0.4",
4042
"tslint": "^4.4.2",
41-
"typescript": "^2.1.5"
43+
"typescript": "^2.1.6",
44+
"in-publish": "^2.0.0"
4245
},
4346
"dependencies": {
4447
"bluebird": "^3.4.7",
4548
"execa": "^0.6.0",
46-
"sync-github-forks": "~0.1.14"
49+
"sync-github-forks": "^0.1.15"
4750
}
4851
}

0 commit comments

Comments
 (0)