bun-git-hooks 0.2.13 → 0.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.d.ts CHANGED
@@ -5,10 +5,14 @@ export interface StagedLintConfig {
5
5
  }
6
6
 
7
7
  export type GitHooksConfig = {
8
- [K in typeof VALID_GIT_HOOKS[number]]?: string | { stagedLint?: StagedLintConfig }
8
+ [K in typeof VALID_GIT_HOOKS[number]]?: string | {
9
+ 'stagedLint'?: StagedLintConfig
10
+ 'staged-lint'?: StagedLintConfig
11
+ }
9
12
  } & {
10
- preserveUnused?: boolean | typeof VALID_GIT_HOOKS[number][]
11
- verbose?: boolean
13
+ 'preserveUnused'?: boolean | typeof VALID_GIT_HOOKS[number][]
14
+ 'verbose'?: boolean
15
+ 'staged-lint'?: StagedLintConfig
12
16
  }
13
17
 
14
18
  export interface SetHooksFromConfigOptions {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bun-git-hooks",
3
3
  "type": "module",
4
- "version": "0.2.13",
4
+ "version": "0.2.15",
5
5
  "description": "A modern, zero dependency tool for managing git hooks in Bun projects.",
6
6
  "author": "Chris Breuer <chris@stacksjs.org>",
7
7
  "license": "MIT",
@@ -73,12 +73,13 @@
73
73
  "zip:darwin-arm64": "zip -j bin/git-hooks-darwin-arm64.zip bin/git-hooks-darwin-arm64"
74
74
  },
75
75
  "devDependencies": {
76
+ "@stacksjs/clarity": "0.3.14",
76
77
  "@stacksjs/docs": "^0.70.23",
77
78
  "@stacksjs/eslint-config": "^4.10.2-beta.3",
78
- "@types/bun": "^1.2.10",
79
+ "@types/bun": "^1.2.11",
79
80
  "bumpp": "^10.1.0",
80
81
  "bun-plugin-dtsx": "^0.21.9",
81
- "bunfig": "^0.8.3",
82
+ "bunfig": "^0.8.4",
82
83
  "cac": "^6.7.14",
83
84
  "changelogen": "^0.6.1",
84
85
  "typescript": "^5.8.3"