ReviewOS

also looking at this

stacks/bun-git-hooks

chore(deps): update all non-major dependencies

#53
Closed chris wants to merge buddy-bot/update-non-major-updates-1758881172631 into main
5 files +27 -24

Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.

deps.yamladded+2-0
Changes to deps.yaml
@@ -0,0 +1,2 @@
1dependencies:
2 bun.sh: ^1.2.21
package.jsonmodified+12-11
Changes to package.json
@@ -1,7 +1,7 @@
11{
22 "name": "bun-git-hooks",
33 "type": "module",
4 "version": "0.2.19",
4 "version": "0.3.1",
55 "description": "A modern, zero dependency tool for managing git hooks in Bun projects.",
66 "author": "Chris Breuer <chris@stacksjs.org>",
77 "license": "MIT",
@@ -41,7 +41,11 @@
4141 "git-hooks": "./dist/bin/cli.js",
4242 "bun-git-hooks": "./dist/bin/cli.js"
4343 },
44 "files": ["README.md", "dist"],
44 "files": [
45 "README.md",
46 "dist",
47 "scripts"
48 ],
4549 "scripts": {
4650 "build": "bun build.ts && bun run compile",
4751 "compile": "bun build ./bin/cli.ts --compile --minify --outfile bin/git-hooks",
@@ -51,10 +55,10 @@
5155 "compile:windows-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-windows-x64 --outfile bin/git-hooks-windows-x64.exe",
5256 "compile:darwin-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-x64 --outfile bin/git-hooks-darwin-x64",
5357 "compile:darwin-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-arm64 --outfile bin/git-hooks-darwin-arm64",
54 "postinstall": "bunx git-hooks && bun ./scripts/postinstall.ts",
58 "postinstall": "bun ./scripts/postinstall.ts",
5559 "uninstall": "bun ./scripts/uninstall.ts",
5660 "fresh": "bunx rimraf node_modules/ bun.lock && bun i",
57 "prepublishOnly": "bun --bun run build && bun run compile:all",
61 "prepublishOnly": "bun --bun run build && bun run compile:all && bun run zip",
5862 "test": "bun test",
5963 "lint": "bunx --bun eslint .",
6064 "lint:fix": "bunx --bun eslint . --fix",
@@ -77,17 +81,14 @@
7781 "@stacksjs/bumpx": "^0.1.84",
7882 "@stacksjs/clarity": "^0.3.23",
7983 "@stacksjs/docs": "^0.70.23",
80 "@stacksjs/eslint-config": "^4.10.2-beta.3",
84 "@stacksjs/eslint-config": "^4.14.0-beta.3",
8185 "@stacksjs/gitlint": "^0.1.5",
8286 "@stacksjs/logsmith": "^0.1.18",
8387 "@types/bun": "^1.2.23",
84 "buddy-bot": "^0.8.9",
85 "bumpp": "^10.3.1",
86 "bun-git-hooks": "^0.2.19",
87 "bun-plugin-dtsx": "^0.21.12",
88 "bunfig": "^0.10.1",
88 "buddy-bot": "^0.9.7",
89 "bun-plugin-dtsx": "0.21.12",
90 "bunfig": "^0.15.0",
8991 "cac": "^6.7.14",
90 "changelogen": "^0.6.2",
9192 "typescript": "^5.9.3"
9293 },
9394 "git-hooks": {
test/fixtures/project_with_auto_restage_disabled/package.jsonmodified+2-2
Changes to test/fixtures/project_with_auto_restage_disabled/package.json
@@ -1,8 +1,8 @@
11{
22 "name": "test-auto-restage-disabled",
3 "version": "1.0.0",
3 "version": "0.3.1",
44 "devDependencies": {
5 "bun-git-hooks": "^0.1.0"
5 "bun-git-hooks": "^0.3.1"
66 },
77 "git-hooks": {
88 "pre-commit": {