Skip to content

Commit a00ed3e

Browse files
committed
fix(github): parsing github url
1 parent a669d5f commit a00ed3e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
},
5050
"homepage": "https://github.com/bahmutov/manpm#readme",
5151
"dependencies": {
52+
"@bahmutov/parse-github-repo-url": "0.0.0",
5253
"bluebird": "3.0.5",
5354
"check-more-types": "2.2.0",
5455
"debug": "2.2.0",
@@ -58,7 +59,6 @@
5859
"marked": "0.3.5",
5960
"marked-terminal": "https://github.com/mikaelbr/marked-terminal.git#35f6ddac9d9f32b11e85ceb6bc5f42642f06e456",
6061
"marked-to-md": "1.0.1",
61-
"parse-github-repo-url": "https://github.com/bahmutov/parse-github-repo-url.git#52c8b013e1ab3fa4ad8e305e8afeb9109313dc31",
6262
"really-need": "1.7.2",
6363
"simple-bin-help": "1.5.0",
6464
"simple-get": "1.4.3",
@@ -67,7 +67,7 @@
6767
"preferGlobal": true,
6868
"config": {
6969
"pre-git": {
70-
"commit-msg": "validate-commit-msg",
70+
"commit-msg": "simple",
7171
"pre-commit": [
7272
"npm run ban",
7373
"npm run lint",
@@ -92,7 +92,7 @@
9292
"git-issues": "1.2.0",
9393
"mocha": "2.3.4",
9494
"next-update": "0.9.5",
95-
"pre-git": "1.3.1",
95+
"pre-git": "3.1.1",
9696
"quote": "0.4.0",
9797
"semantic-release": "4.3.5"
9898
}

src/get-readme.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var log = require('debug')('manpm');
22
var la = require('lazy-ass');
33
var check = require('check-more-types');
4-
var parseGithubRepoUrl = require('parse-github-repo-url');
4+
var parseGithubRepoUrl = require('@bahmutov/parse-github-repo-url');
55
var utils = require('./utils');
66

77
// working around github-url-to-object used inside get-package-readme

src/utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var log = require('debug')('manpm');
22
var la = require('lazy-ass');
33
var check = require('check-more-types');
4-
var parseGithubRepoUrl = require('parse-github-repo-url');
4+
var parseGithubRepoUrl = require('@bahmutov/parse-github-repo-url');
55

66
// TODO move to kensho/check-more-types
77
function maybeGithubRepoName(name) {

0 commit comments

Comments
 (0)