block-no-verify 1.1.2 → 1.1.3

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.
Files changed (3) hide show
  1. package/README.md +15 -5
  2. package/dist/cli.js +0 -0
  3. package/package.json +20 -17
package/README.md CHANGED
@@ -13,14 +13,24 @@ This package provides a CLI that can block any git commands that include `--no-v
13
13
  <a href="https://github.com/langgenius/dify">
14
14
  <img src="https://github.com/langgenius.png" width="50" height="50" alt="Dify" title="Dify - Open-source LLM app development platform">
15
15
  </a>
16
+ <a href="https://centy.io">
17
+ <img src="https://github.com/centy-io.png" width="50" height="50" alt="Centy" title="Centy">
18
+ </a>
19
+ <a href="https://worktree.io">
20
+ <img src="https://github.com/worktree-io.png" width="50" height="50" alt="Worktree" title="Worktree">
21
+ </a>
16
22
 
17
23
  ## Installation
18
24
 
25
+ Add as a dev dependency to ensure a consistent, pinned version:
26
+
19
27
  ```bash
20
- pnpm add -g block-no-verify
28
+ pnpm add -D block-no-verify
29
+ # or
30
+ npm install --save-dev block-no-verify
21
31
  ```
22
32
 
23
- Or use without installation via `pnpm dlx block-no-verify` or `npx block-no-verify`.
33
+ Then use it with `pnpm exec block-no-verify` or `npm exec block-no-verify`.
24
34
 
25
35
  ## Quick Start
26
36
 
@@ -53,7 +63,7 @@ Add to your `.claude/settings.json`:
53
63
  "hooks": [
54
64
  {
55
65
  "type": "command",
56
- "command": "pnpm dlx block-no-verify"
66
+ "command": "pnpm exec block-no-verify"
57
67
  }
58
68
  ]
59
69
  }
@@ -78,7 +88,7 @@ Add to your `.gemini/settings.json`:
78
88
  {
79
89
  "name": "block-no-verify",
80
90
  "type": "command",
81
- "command": "pnpm dlx block-no-verify",
91
+ "command": "pnpm exec block-no-verify",
82
92
  "description": "Block --no-verify flags in git commands",
83
93
  "timeout": 5000
84
94
  }
@@ -103,7 +113,7 @@ Create `.cursor/hooks.json` in your project root:
103
113
  "hooks": {
104
114
  "beforeShellExecution": [
105
115
  {
106
- "command": "pnpm dlx block-no-verify"
116
+ "command": "pnpm exec block-no-verify"
107
117
  }
108
118
  ]
109
119
  }
package/dist/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "block-no-verify",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "CLI tool to block --no-verify flag in git commands. Prevents AI agents from bypassing git hooks.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -17,6 +17,22 @@
17
17
  "files": [
18
18
  "dist"
19
19
  ],
20
+ "scripts": {
21
+ "build": "tsc",
22
+ "dev": "tsc --watch",
23
+ "test": "vitest",
24
+ "test:watch": "vitest --watch",
25
+ "test:coverage": "vitest --coverage",
26
+ "lint": "eslint .",
27
+ "lint:fix": "eslint . --fix",
28
+ "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
29
+ "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
30
+ "spell": "cspell lint '**/*.{ts,js,md,json}' --gitignore",
31
+ "spell:check": "cspell lint '**/*.{ts,js,md,json}' --gitignore",
32
+ "knip": "knip",
33
+ "prepare": "husky",
34
+ "release": "release-it"
35
+ },
20
36
  "keywords": [
21
37
  "git",
22
38
  "no-verify",
@@ -32,6 +48,7 @@
32
48
  "engines": {
33
49
  "node": ">=20.0.0"
34
50
  },
51
+ "packageManager": "pnpm@10.26.2",
35
52
  "publishConfig": {
36
53
  "access": "public"
37
54
  },
@@ -47,6 +64,7 @@
47
64
  "@commitlint/cli": "^20.3.1",
48
65
  "@commitlint/config-conventional": "^20.3.1",
49
66
  "@cspell/dict-he": "^4.0.5",
67
+ "@release-it/conventional-changelog": "^10.0.6",
50
68
  "@types/node": "^25.0.3",
51
69
  "@vitest/coverage-v8": "^4.0.16",
52
70
  "cspell": "^9.4.0",
@@ -61,20 +79,5 @@
61
79
  "release-it": "^19.2.3",
62
80
  "typescript": "^5.9.3",
63
81
  "vitest": "^4.0.16"
64
- },
65
- "scripts": {
66
- "build": "tsc",
67
- "dev": "tsc --watch",
68
- "test": "vitest",
69
- "test:watch": "vitest --watch",
70
- "test:coverage": "vitest --coverage",
71
- "lint": "eslint .",
72
- "lint:fix": "eslint . --fix",
73
- "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
74
- "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
75
- "spell": "cspell lint '**/*.{ts,js,md,json}' --gitignore",
76
- "spell:check": "cspell lint '**/*.{ts,js,md,json}' --gitignore",
77
- "knip": "knip",
78
- "release": "release-it"
79
82
  }
80
- }
83
+ }