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
.github/workflows/release.ymlmodified+3-3
Changes to .github/workflows/release.yml
@@ -16,10 +16,10 @@ jobs:
1616 fetch-depth: 0
1717
1818 - name: Install Bun
19 uses: oven-sh/setup-bun@v2
19 uses: oven-sh/setup-bun@v2.0.2
2020
2121 - name: Use cached node_modules
22 uses: actions/cache@v4
22 uses: actions/cache@v4.3.0
2323 with:
2424 path: node_modules
2525 key: node-modules-${{ hashFiles('**/bun.lock') }}
@@ -40,7 +40,7 @@ jobs:
4040 GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
4141
4242 - name: Attach Binaries
43 uses: stacksjs/action-releaser@v1.1.0
43 uses: stacksjs/action-releaser@v1.2.6
4444 with:
4545 files: |
4646 bin/git-hooks-linux-x64.zip
deps.yamladded+2-0
Changes to deps.yaml
@@ -0,0 +1,2 @@
1dependencies:
2 bun.sh: ^1.2.21
package.jsonmodified+18-17
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,16 +55,16 @@
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",
6165 "changelog": "bunx logsmith --verbose",
6266 "changelog:generate": "bunx logsmith --output CHANGELOG.md",
63 "release": "bun run changelog:generate && bunx bumpx prompt --recursive",
67 "release": "bunx bumpx prompt --recursive --all",
6468 "dev:docs": "bun --bun vitepress dev docs",
6569 "build:docs": "bun --bun vitepress build docs",
6670 "preview:docs": "bun --bun vitepress preview docs",
@@ -74,21 +78,18 @@
7478 "zip:darwin-arm64": "zip -j bin/git-hooks-darwin-arm64.zip bin/git-hooks-darwin-arm64"
7579 },
7680 "devDependencies": {
77 "@stacksjs/bumpx": "^0.1.84",
78 "@stacksjs/clarity": "^0.3.23",
81 "@stacksjs/bumpx": "^0.2.2",
82 "@stacksjs/clarity": "^0.3.24",
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",
82 "@stacksjs/logsmith": "^0.1.18",
83 "@types/bun": "^1.2.22",
84 "buddy-bot": "^0.8.9",
85 "bumpp": "^10.2.3",
86 "bun-git-hooks": "^0.2.19",
87 "bun-plugin-dtsx": "^0.21.12",
88 "bunfig": "^0.10.1",
86 "@stacksjs/logsmith": "^0.2.0",
87 "@types/bun": "^1.3.1",
88 "buddy-bot": "^0.9.9",
89 "bun-plugin-dtsx": "0.21.12",
90 "bunfig": "^0.15.5",
8991 "cac": "^6.7.14",
90 "changelogen": "^0.6.2",
91 "typescript": "^5.9.2"
92 "typescript": "^5.9.3"
9293 },
9394 "git-hooks": {
9495 "pre-commit": {
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": {
test/fixtures/project_with_configuration_in_separate_js/package.jsonmodified+2-2
Changes to test/fixtures/project_with_configuration_in_separate_js/package.json
@@ -1,7 +1,7 @@
11{
22 "name": "bun-git-hooks-test-package",
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}