Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
6d155fa
chore(deps): update all non-major dependencies
github-actions[bot] Sep 26, 2025
03746eb
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 28, 2025
036693f
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 30, 2025
29b0d67
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 6, 2025
a396db0
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 6, 2025
b7f425b
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 6, 2025
4b218d3
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 7, 2025
540f82f
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 7, 2025
9b49fb8
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 7, 2025
90fb8ab
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 10, 2025
61295b0
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 11, 2025
0021318
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 13, 2025
4294a93
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 14, 2025
473f814
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 15, 2025
55e01de
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 16, 2025
340f71e
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 16, 2025
103dd72
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 16, 2025
4ad7b51
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 17, 2025
d953823
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 23, 2025
9798954
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 28, 2025
85225e4
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 29, 2025
0d53aa1
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 29, 2025
3409b52
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 29, 2025
3f5958c
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
fetch-depth: 0

- name: Install Bun
uses: oven-sh/setup-bun@v2
uses: oven-sh/setup-bun@v2.0.2

- name: Use cached node_modules
uses: actions/cache@v4
uses: actions/cache@v4.3.0
with:
path: node_modules
key: node-modules-${{ hashFiles('**/bun.lock') }}
Expand All @@ -40,7 +40,7 @@ jobs:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Attach Binaries
uses: stacksjs/action-releaser@v1.1.0
uses: stacksjs/action-releaser@v1.2.6
with:
files: |
bin/git-hooks-linux-x64.zip
Expand Down
2 changes: 2 additions & 0 deletions deps.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dependencies:
bun.sh: ^1.2.21
35 changes: 18 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bun-git-hooks",
"type": "module",
"version": "0.2.19",
"version": "0.3.1",
"description": "A modern, zero dependency tool for managing git hooks in Bun projects.",
"author": "Chris Breuer <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -41,7 +41,11 @@
"git-hooks": "./dist/bin/cli.js",
"bun-git-hooks": "./dist/bin/cli.js"
},
"files": ["README.md", "dist"],
"files": [
"README.md",
"dist",
"scripts"
],
"scripts": {
"build": "bun build.ts && bun run compile",
"compile": "bun build ./bin/cli.ts --compile --minify --outfile bin/git-hooks",
Expand All @@ -51,16 +55,16 @@
"compile:windows-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-windows-x64 --outfile bin/git-hooks-windows-x64.exe",
"compile:darwin-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-x64 --outfile bin/git-hooks-darwin-x64",
"compile:darwin-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-arm64 --outfile bin/git-hooks-darwin-arm64",
"postinstall": "bunx git-hooks && bun ./scripts/postinstall.ts",
"postinstall": "bun ./scripts/postinstall.ts",
"uninstall": "bun ./scripts/uninstall.ts",
"fresh": "bunx rimraf node_modules/ bun.lock && bun i",
"prepublishOnly": "bun --bun run build && bun run compile:all",
"prepublishOnly": "bun --bun run build && bun run compile:all && bun run zip",
"test": "bun test",
"lint": "bunx --bun eslint .",
"lint:fix": "bunx --bun eslint . --fix",
"changelog": "bunx logsmith --verbose",
"changelog:generate": "bunx logsmith --output CHANGELOG.md",
"release": "bun run changelog:generate && bunx bumpx prompt --recursive",
"release": "bunx bumpx prompt --recursive --all",
"dev:docs": "bun --bun vitepress dev docs",
"build:docs": "bun --bun vitepress build docs",
"preview:docs": "bun --bun vitepress preview docs",
Expand All @@ -74,21 +78,18 @@
"zip:darwin-arm64": "zip -j bin/git-hooks-darwin-arm64.zip bin/git-hooks-darwin-arm64"
},
"devDependencies": {
"@stacksjs/bumpx": "^0.1.84",
"@stacksjs/clarity": "^0.3.23",
"@stacksjs/bumpx": "^0.2.2",
"@stacksjs/clarity": "^0.3.24",
"@stacksjs/docs": "^0.70.23",
"@stacksjs/eslint-config": "^4.10.2-beta.3",
"@stacksjs/eslint-config": "^4.14.0-beta.3",
"@stacksjs/gitlint": "^0.1.5",
"@stacksjs/logsmith": "^0.1.18",
"@types/bun": "^1.2.22",
"buddy-bot": "^0.8.9",
"bumpp": "^10.2.3",
"bun-git-hooks": "^0.2.19",
"bun-plugin-dtsx": "^0.21.12",
"bunfig": "^0.10.1",
"@stacksjs/logsmith": "^0.2.0",
"@types/bun": "^1.3.1",
"buddy-bot": "^0.9.9",
"bun-plugin-dtsx": "0.21.12",
"bunfig": "^0.15.5",
"cac": "^6.7.14",
"changelogen": "^0.6.2",
"typescript": "^5.9.2"
"typescript": "^5.9.3"
},
"git-hooks": {
"pre-commit": {
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/project_with_auto_restage_disabled/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "test-auto-restage-disabled",
"version": "1.0.0",
"version": "0.3.1",
"devDependencies": {
"bun-git-hooks": "^0.1.0"
"bun-git-hooks": "^0.3.1"
},
"git-hooks": {
"pre-commit": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bun-git-hooks-test-package",
"version": "1.0.0",
"version": "0.3.1",
"devDependencies": {
"bun-git-hooks": "0.1.0"
"bun-git-hooks": "0.3.1"
}
}