From 5c336d81a5bdfb4b527d6cea9859a38af20d306a Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Mon, 29 Jul 2024 11:18:11 +0300 Subject: [PATCH] fix: revert packaging change (#796) --- packaging/npm/lefthook-darwin-arm64/package.json | 3 --- packaging/npm/lefthook-darwin-x64/package.json | 3 --- packaging/npm/lefthook-freebsd-arm64/package.json | 3 --- packaging/npm/lefthook-freebsd-x64/package.json | 3 --- packaging/npm/lefthook-linux-arm64/package.json | 3 --- packaging/npm/lefthook-linux-x64/package.json | 3 --- packaging/npm/lefthook-windows-arm64/package.json | 3 --- packaging/npm/lefthook-windows-x64/package.json | 3 --- packaging/npm/lefthook/package.json | 3 +++ 9 files changed, 3 insertions(+), 24 deletions(-) diff --git a/packaging/npm/lefthook-darwin-arm64/package.json b/packaging/npm/lefthook-darwin-arm64/package.json index 5b7d2937..e825cc13 100644 --- a/packaging/npm/lefthook-darwin-arm64/package.json +++ b/packaging/npm/lefthook-darwin-arm64/package.json @@ -3,9 +3,6 @@ "version": "1.7.10", "description": "The macOS ARM 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, - "bin": { - "lefthook": "bin/lefthook" - }, "repository": { "type": "git", "url": "git+https://github.com/evilmartians/lefthook.git" diff --git a/packaging/npm/lefthook-darwin-x64/package.json b/packaging/npm/lefthook-darwin-x64/package.json index bddfe253..bd4b4780 100644 --- a/packaging/npm/lefthook-darwin-x64/package.json +++ b/packaging/npm/lefthook-darwin-x64/package.json @@ -3,9 +3,6 @@ "version": "1.7.10", "description": "The macOS 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, - "bin": { - "lefthook": "bin/lefthook" - }, "repository": { "type": "git", "url": "git+https://github.com/evilmartians/lefthook.git" diff --git a/packaging/npm/lefthook-freebsd-arm64/package.json b/packaging/npm/lefthook-freebsd-arm64/package.json index a4c96e8f..95ea10b8 100644 --- a/packaging/npm/lefthook-freebsd-arm64/package.json +++ b/packaging/npm/lefthook-freebsd-arm64/package.json @@ -3,9 +3,6 @@ "version": "1.7.10", "description": "The FreeBSD ARM 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, - "bin": { - "lefthook": "bin/lefthook" - }, "repository": { "type": "git", "url": "git+https://github.com/evilmartians/lefthook.git" diff --git a/packaging/npm/lefthook-freebsd-x64/package.json b/packaging/npm/lefthook-freebsd-x64/package.json index 4e4c0ef7..e7aa6c3f 100644 --- a/packaging/npm/lefthook-freebsd-x64/package.json +++ b/packaging/npm/lefthook-freebsd-x64/package.json @@ -3,9 +3,6 @@ "version": "1.7.10", "description": "The FreeBSD 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, - "bin": { - "lefthook": "bin/lefthook" - }, "repository": { "type": "git", "url": "git+https://github.com/evilmartians/lefthook.git" diff --git a/packaging/npm/lefthook-linux-arm64/package.json b/packaging/npm/lefthook-linux-arm64/package.json index cd973ca6..216cb2da 100644 --- a/packaging/npm/lefthook-linux-arm64/package.json +++ b/packaging/npm/lefthook-linux-arm64/package.json @@ -3,9 +3,6 @@ "version": "1.7.10", "description": "The Linux ARM 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, - "bin": { - "lefthook": "bin/lefthook" - }, "repository": { "type": "git", "url": "git+https://github.com/evilmartians/lefthook.git" diff --git a/packaging/npm/lefthook-linux-x64/package.json b/packaging/npm/lefthook-linux-x64/package.json index 012b15e0..d14b63f1 100644 --- a/packaging/npm/lefthook-linux-x64/package.json +++ b/packaging/npm/lefthook-linux-x64/package.json @@ -3,9 +3,6 @@ "version": "1.7.10", "description": "The Linux 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, - "bin": { - "lefthook": "bin/lefthook" - }, "repository": { "type": "git", "url": "git+https://github.com/evilmartians/lefthook.git" diff --git a/packaging/npm/lefthook-windows-arm64/package.json b/packaging/npm/lefthook-windows-arm64/package.json index 5fc41cf5..2b7bf893 100644 --- a/packaging/npm/lefthook-windows-arm64/package.json +++ b/packaging/npm/lefthook-windows-arm64/package.json @@ -3,9 +3,6 @@ "version": "1.7.10", "description": "The Windows ARM 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, - "bin": { - "lefthook": "bin/lefthook" - }, "repository": { "type": "git", "url": "git+https://github.com/evilmartians/lefthook.git" diff --git a/packaging/npm/lefthook-windows-x64/package.json b/packaging/npm/lefthook-windows-x64/package.json index 8b8d4da7..a56919a9 100644 --- a/packaging/npm/lefthook-windows-x64/package.json +++ b/packaging/npm/lefthook-windows-x64/package.json @@ -3,9 +3,6 @@ "version": "1.7.10", "description": "The Windows 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, - "bin": { - "lefthook": "bin/lefthook" - }, "repository": { "type": "git", "url": "git+https://github.com/evilmartians/lefthook.git" diff --git a/packaging/npm/lefthook/package.json b/packaging/npm/lefthook/package.json index a547c003..67ce1dfd 100644 --- a/packaging/npm/lefthook/package.json +++ b/packaging/npm/lefthook/package.json @@ -7,6 +7,9 @@ "url": "git+https://github.com/evilmartians/lefthook.git" }, "main": "bin/index.js", + "bin": { + "lefthook": "bin/index.js" + }, "keywords": [ "git", "hook",