Skip to content

Commit 2f3f53f

Browse files
authored
fix: npm fix packages (#789)
1 parent ac882cc commit 2f3f53f

File tree

11 files changed

+46
-13
lines changed

11 files changed

+46
-13
lines changed

packaging/npm-bundled/package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@
44
"description": "Simple git hooks manager",
55
"main": "bin/index.js",
66
"bin": {
7-
"lefthook": "./bin/index.js"
7+
"lefthook": "bin/index.js"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/evilmartians/lefthook.git"
812
},
9-
"repository": "https://github.com/evilmartians/lefthook",
1013
"keywords": [
1114
"git",
1215
"hook",

packaging/npm-installer/package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@
44
"description": "Simple git hooks manager",
55
"main": "bin/index.js",
66
"bin": {
7-
"lefthook": "./bin/index.js"
7+
"lefthook": "bin/index.js"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/evilmartians/lefthook.git"
812
},
9-
"repository": "https://github.com/evilmartians/lefthook",
1013
"keywords": [
1114
"git",
1215
"hook",

packaging/npm/lefthook-darwin-arm64/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"version": "1.7.7",
44
"description": "The macOS ARM 64-bit binary for lefthook, git hooks manager.",
55
"preferUnplugged": false,
6-
"repository": "https://github.com/evilmartians/lefthook",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/evilmartians/lefthook.git"
9+
},
710
"license": "MIT",
811
"bugs": {
912
"url": "https://github.com/evilmartians/lefthook/issues",

packaging/npm/lefthook-darwin-x64/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"version": "1.7.7",
44
"description": "The macOS 64-bit binary for lefthook, git hooks manager.",
55
"preferUnplugged": false,
6-
"repository": "https://github.com/evilmartians/lefthook",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/evilmartians/lefthook.git"
9+
},
710
"license": "MIT",
811
"bugs": {
912
"url": "https://github.com/evilmartians/lefthook/issues",

packaging/npm/lefthook-freebsd-arm64/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"version": "1.7.7",
44
"description": "The FreeBSD ARM 64-bit binary for lefthook, git hooks manager.",
55
"preferUnplugged": false,
6-
"repository": "https://github.com/evilmartians/lefthook",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/evilmartians/lefthook.git"
9+
},
710
"license": "MIT",
811
"bugs": {
912
"url": "https://github.com/evilmartians/lefthook/issues",

packaging/npm/lefthook-freebsd-x64/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"version": "1.7.7",
44
"description": "The FreeBSD 64-bit binary for lefthook, git hooks manager.",
55
"preferUnplugged": false,
6-
"repository": "https://github.com/evilmartians/lefthook",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/evilmartians/lefthook.git"
9+
},
710
"license": "MIT",
811
"bugs": {
912
"url": "https://github.com/evilmartians/lefthook/issues",

packaging/npm/lefthook-linux-arm64/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"version": "1.7.7",
44
"description": "The Linux ARM 64-bit binary for lefthook, git hooks manager.",
55
"preferUnplugged": false,
6-
"repository": "https://github.com/evilmartians/lefthook",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/evilmartians/lefthook.git"
9+
},
710
"license": "MIT",
811
"bugs": {
912
"url": "https://github.com/evilmartians/lefthook/issues",

packaging/npm/lefthook-linux-x64/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"version": "1.7.7",
44
"description": "The Linux 64-bit binary for lefthook, git hooks manager.",
55
"preferUnplugged": false,
6-
"repository": "https://github.com/evilmartians/lefthook",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/evilmartians/lefthook.git"
9+
},
710
"license": "MIT",
811
"bugs": {
912
"url": "https://github.com/evilmartians/lefthook/issues",

packaging/npm/lefthook-windows-arm64/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"version": "1.7.7",
44
"description": "The Windows ARM 64-bit binary for lefthook, git hooks manager.",
55
"preferUnplugged": false,
6-
"repository": "https://github.com/evilmartians/lefthook",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/evilmartians/lefthook.git"
9+
},
710
"license": "MIT",
811
"bugs": {
912
"url": "https://github.com/evilmartians/lefthook/issues",

packaging/npm/lefthook-windows-x64/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"version": "1.7.7",
44
"description": "The Windows 64-bit binary for lefthook, git hooks manager.",
55
"preferUnplugged": false,
6-
"repository": "https://github.com/evilmartians/lefthook",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/evilmartians/lefthook.git"
9+
},
710
"license": "MIT",
811
"bugs": {
912
"url": "https://github.com/evilmartians/lefthook/issues",

packaging/npm/lefthook/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"name": "lefthook",
33
"version": "1.7.7",
44
"description": "Simple git hooks manager",
5-
"repository": "https://github.com/evilmartians/lefthook",
5+
"repository": {
6+
"type": "git",
7+
"url": "git+https://github.com/evilmartians/lefthook.git"
8+
},
69
"main": "bin/index.js",
710
"bin": {
811
"lefthook": "bin/index.js"

0 commit comments

Comments
 (0)