Skip to content

Commit

Permalink
1.7.0: update NPM packages build process
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Jul 8, 2024
1 parent e3ae8e8 commit c46108e
Show file tree
Hide file tree
Showing 17 changed files with 24 additions and 30 deletions.
8 changes: 1 addition & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,9 @@

## master (unreleased)

## 1.6.22 (2024-07-08)
## 1.7.0 (2024-07-08)

- fix: publishing ([#765](https://github.com/evilmartians/lefthook/pull/765)) by @mrexox

## 1.6.21 (2024-07-08)
## 1.6.20 (2024-07-08)

## 1.6.19 (2024-07-08)

- perf: startup time reduce ([#705](https://github.com/evilmartians/lefthook/pull/705)) by @dalisoft
- docs: add a note about pnpm package installation ([#761](https://github.com/evilmartians/lefthook/pull/761)) by @mrexox
- ci: retriable integrity tests ([#758](https://github.com/evilmartians/lefthook/pull/758)) by @mrexox
Expand Down
2 changes: 1 addition & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,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.6.22"),
.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "1.7.0"),
```

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.6.22"
const version = "1.7.0"

var (
// Is set via -X github.com/evilmartians/lefthook/internal/version.commit={commit}.
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm-bundled/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evilmartians/lefthook",
"version": "1.6.22",
"version": "1.7.0",
"description": "Simple git hooks manager",
"main": "bin/index.js",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm-installer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evilmartians/lefthook-installer",
"version": "1.6.22",
"version": "1.7.0",
"description": "Simple git hooks manager",
"main": "bin/index.js",
"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.6.22",
"version": "1.7.0",
"description": "The macOS ARM 64-bit binary for lefthook, git hooks manager.",
"bin": {
"lefthook": "bin/lefthook"
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.6.22",
"version": "1.7.0",
"description": "The macOS 64-bit binary for lefthook, git hooks manager.",
"bin": {
"lefthook": "bin/lefthook"
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.6.22",
"version": "1.7.0",
"description": "The FreeBSD ARM 64-bit binary for lefthook, git hooks manager.",
"bin": {
"lefthook": "bin/lefthook"
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.6.22",
"version": "1.7.0",
"description": "The FreeBSD 64-bit binary for lefthook, git hooks manager.",
"bin": {
"lefthook": "bin/lefthook"
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.6.22",
"version": "1.7.0",
"description": "The Linux ARM 64-bit binary for lefthook, git hooks manager.",
"bin": {
"lefthook": "bin/lefthook"
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.6.22",
"version": "1.7.0",
"description": "The Linux 64-bit binary for lefthook, git hooks manager.",
"bin": {
"lefthook": "bin/lefthook"
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.6.22",
"version": "1.7.0",
"description": "The Windows ARM 64-bit binary for lefthook, git hooks manager.",
"bin": {
"lefthook": "bin/lefthook"
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.6.22",
"version": "1.7.0",
"description": "The Windows 64-bit binary for lefthook, git hooks manager.",
"bin": {
"lefthook": "bin/lefthook"
Expand Down
Empty file modified packaging/npm/lefthook/bin/index.js
100644 → 100755
Empty file.
18 changes: 9 additions & 9 deletions packaging/npm/lefthook/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook",
"version": "1.6.22",
"version": "1.7.0",
"description": "Simple git hooks manager",
"repository": "https://github.com/evilmartians/lefthook",
"main": "bin/index.js",
Expand All @@ -20,14 +20,14 @@
},
"homepage": "https://github.com/evilmartians/lefthook#readme",
"optionalDependencies": {
"lefthook-darwin-arm64": "1.6.22",
"lefthook-darwin-x64": "1.6.22",
"lefthook-linux-arm64": "1.6.22",
"lefthook-linux-x64": "1.6.22",
"lefthook-freebsd-arm64": "1.6.22",
"lefthook-freebsd-x64": "1.6.22",
"lefthook-windows-arm64": "1.6.22",
"lefthook-windows-x64": "1.6.22"
"lefthook-darwin-arm64": "1.7.0",
"lefthook-darwin-x64": "1.7.0",
"lefthook-linux-arm64": "1.7.0",
"lefthook-linux-x64": "1.7.0",
"lefthook-freebsd-arm64": "1.7.0",
"lefthook-freebsd-x64": "1.7.0",
"lefthook-windows-arm64": "1.7.0",
"lefthook-windows-x64": "1.7.0"
},
"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 @@ -2,7 +2,7 @@

require "fileutils"

VERSION = "1.6.22"
VERSION = "1.7.0"

ROOT = File.join(__dir__, "..")
DIST = File.join(ROOT, "dist")
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.6.22"
spec.version = "1.7.0"
spec.authors = ["A.A.Abroskin", "Evil Martians"]
spec.email = ["[email protected]"]

Expand Down

0 comments on commit c46108e

Please sign in to comment.