Skip to content

Commit

Permalink
1.10.7: fix for NPM add postinstall scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Jan 15, 2025
1 parent 1fcc785 commit 82f1c78
Show file tree
Hide file tree
Showing 19 changed files with 34 additions and 29 deletions.
2 changes: 1 addition & 1 deletion docs/mdbook/installation/swift.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ You can find the Swift wrapper plugin [here](https://github.com/csjones/lefthook
Utilize lefthook in your Swift project using Swift Package Manager:

```swift
.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "1.10.6"),
.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "1.10.7"),
```

Or, with [mint](https://github.com/yonaskolb/Mint):
Expand Down
2 changes: 1 addition & 1 deletion internal/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strconv"
)

const version = "1.10.6"
const version = "1.10.7"

var (
// Is set via -X github.com/evilmartians/lefthook/internal/version.commit={commit}.
Expand Down
2 changes: 1 addition & 1 deletion packaging/aur/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=lefthook
pkgdesc="Git hooks manager"
pkgver=1.10.6
pkgver=1.10.7
pkgrel=1
arch=('x86_64' 'aarch64')
url="https://github.com/evilmartians/lefthook"
Expand Down
4 changes: 3 additions & 1 deletion packaging/npm-bundled/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"name": "@evilmartians/lefthook",
"version": "1.10.6",
"version": "1.10.7",
"description": "Simple git hooks manager",
"main": "bin/index.js",
"files": [
"postinstall.js",
"get-exe.js",
"schema.json"
],
"bin": {
Expand Down
3 changes: 2 additions & 1 deletion packaging/npm-installer/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "@evilmartians/lefthook-installer",
"version": "1.10.6",
"version": "1.10.7",
"description": "Simple git hooks manager",
"main": "bin/index.js",
"files": [
"install.js",
"schema.json"
],
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm/lefthook-darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook-darwin-arm64",
"version": "1.10.6",
"version": "1.10.7",
"description": "The macOS ARM 64-bit binary for lefthook, git hooks manager.",
"preferUnplugged": false,
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm/lefthook-darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook-darwin-x64",
"version": "1.10.6",
"version": "1.10.7",
"description": "The macOS 64-bit binary for lefthook, git hooks manager.",
"preferUnplugged": false,
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm/lefthook-freebsd-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook-freebsd-arm64",
"version": "1.10.6",
"version": "1.10.7",
"description": "The FreeBSD ARM 64-bit binary for lefthook, git hooks manager.",
"preferUnplugged": false,
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm/lefthook-freebsd-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook-freebsd-x64",
"version": "1.10.6",
"version": "1.10.7",
"description": "The FreeBSD 64-bit binary for lefthook, git hooks manager.",
"preferUnplugged": false,
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm/lefthook-linux-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook-linux-arm64",
"version": "1.10.6",
"version": "1.10.7",
"description": "The Linux ARM 64-bit binary for lefthook, git hooks manager.",
"preferUnplugged": false,
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm/lefthook-linux-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook-linux-x64",
"version": "1.10.6",
"version": "1.10.7",
"description": "The Linux 64-bit binary for lefthook, git hooks manager.",
"preferUnplugged": false,
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm/lefthook-openbsd-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook-openbsd-arm64",
"version": "1.10.6",
"version": "1.10.7",
"description": "The OpenBSD ARM 64-bit binary for lefthook, git hooks manager.",
"preferUnplugged": false,
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm/lefthook-openbsd-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook-openbsd-x64",
"version": "1.10.6",
"version": "1.10.7",
"description": "The OpenBSD 64-bit binary for lefthook, git hooks manager.",
"preferUnplugged": false,
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm/lefthook-windows-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook-windows-arm64",
"version": "1.10.6",
"version": "1.10.7",
"description": "The Windows ARM 64-bit binary for lefthook, git hooks manager.",
"preferUnplugged": false,
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm/lefthook-windows-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook-windows-x64",
"version": "1.10.6",
"version": "1.10.7",
"description": "The Windows 64-bit binary for lefthook, git hooks manager.",
"preferUnplugged": false,
"repository": {
Expand Down
24 changes: 13 additions & 11 deletions packaging/npm/lefthook/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"name": "lefthook",
"version": "1.10.6",
"version": "1.10.7",
"description": "Simple git hooks manager",
"repository": {
"type": "git",
"url": "git+https://github.com/evilmartians/lefthook.git"
},
"main": "bin/index.js",
"files": [
"postinstall.js",
"get-exe.js",
"schema.json"
],
"bin": {
Expand All @@ -26,16 +28,16 @@
},
"homepage": "https://github.com/evilmartians/lefthook#readme",
"optionalDependencies": {
"lefthook-darwin-arm64": "1.10.6",
"lefthook-darwin-x64": "1.10.6",
"lefthook-linux-arm64": "1.10.6",
"lefthook-linux-x64": "1.10.6",
"lefthook-freebsd-arm64": "1.10.6",
"lefthook-freebsd-x64": "1.10.6",
"lefthook-openbsd-arm64": "1.10.6",
"lefthook-openbsd-x64": "1.10.6",
"lefthook-windows-arm64": "1.10.6",
"lefthook-windows-x64": "1.10.6"
"lefthook-darwin-arm64": "1.10.7",
"lefthook-darwin-x64": "1.10.7",
"lefthook-linux-arm64": "1.10.7",
"lefthook-linux-x64": "1.10.7",
"lefthook-freebsd-arm64": "1.10.7",
"lefthook-freebsd-x64": "1.10.7",
"lefthook-openbsd-arm64": "1.10.7",
"lefthook-openbsd-x64": "1.10.7",
"lefthook-windows-arm64": "1.10.7",
"lefthook-windows-x64": "1.10.7"
},
"scripts": {
"postinstall": "node postinstall.js"
Expand Down
2 changes: 1 addition & 1 deletion packaging/pack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
require "digest"
require "open-uri"

VERSION = "1.10.6"
VERSION = "1.10.7"

ROOT = File.join(__dir__, "..")
DIST = File.join(ROOT, "dist")
Expand Down
2 changes: 1 addition & 1 deletion packaging/pypi/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='lefthook',
version='1.10.6',
version='1.10.7',
author='Evil Martians',
author_email='[email protected]',
url='https://github.com/evilmartians/lefthook',
Expand Down
2 changes: 1 addition & 1 deletion packaging/rubygems/lefthook.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = "lefthook"
spec.version = "1.10.6"
spec.version = "1.10.7"
spec.authors = ["A.A.Abroskin", "Evil Martians"]
spec.email = ["[email protected]"]

Expand Down

0 comments on commit 82f1c78

Please sign in to comment.