@hasna/hooks 0.8.0 → 0.9.0

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 (52) hide show
  1. package/bin/index.js +315 -67
  2. package/bin/serve.js +12 -0
  3. package/dist/index.js +52 -4
  4. package/dist/lib/installer.d.ts +40 -1
  5. package/dist/lib/registration.d.ts +75 -0
  6. package/dist/lib/registry.d.ts +14 -0
  7. package/hooks/hook-agent-rules-version-check/README.md +1 -1
  8. package/hooks/hook-trash-guard/README.md +132 -0
  9. package/hooks/hook-trash-guard/package.json +12 -0
  10. package/hooks/hook-trash-guard/src/hook.ts +1114 -0
  11. package/package.json +4 -2
  12. package/hooks/codewith-native-common.test.ts +0 -1935
  13. package/hooks/hook-affected-tests/tsconfig.json +0 -25
  14. package/hooks/hook-agent-rules-version-check/src/hook.test.ts +0 -104
  15. package/hooks/hook-agent-rules-version-check/tsconfig.json +0 -25
  16. package/hooks/hook-announce-start/tsconfig.json +0 -25
  17. package/hooks/hook-announce-stop/tsconfig.json +0 -25
  18. package/hooks/hook-autoformat/tsconfig.json +0 -25
  19. package/hooks/hook-branchprotect/tsconfig.json +0 -25
  20. package/hooks/hook-checkbugs/tsconfig.json +0 -15
  21. package/hooks/hook-checkdocs/tsconfig.json +0 -15
  22. package/hooks/hook-checkfiles/tsconfig.json +0 -15
  23. package/hooks/hook-checklint/tsconfig.json +0 -15
  24. package/hooks/hook-checkpoint/tsconfig.json +0 -25
  25. package/hooks/hook-checksecurity/tsconfig.json +0 -15
  26. package/hooks/hook-checktasks/tsconfig.json +0 -20
  27. package/hooks/hook-checktests/tsconfig.json +0 -15
  28. package/hooks/hook-conflict-detect/tsconfig.json +0 -25
  29. package/hooks/hook-contextrefresh/tsconfig.json +0 -25
  30. package/hooks/hook-desktopnotify/tsconfig.json +0 -25
  31. package/hooks/hook-dm-inject/tsconfig.json +0 -25
  32. package/hooks/hook-envsetup/tsconfig.json +0 -25
  33. package/hooks/hook-failure-to-task/tsconfig.json +0 -25
  34. package/hooks/hook-filelock/tsconfig.json +0 -25
  35. package/hooks/hook-fleet-blockers-gate/src/hook.test.ts +0 -302
  36. package/hooks/hook-fleet-blockers-gate/tsconfig.json +0 -25
  37. package/hooks/hook-fleet-catchup/src/hook.test.ts +0 -156
  38. package/hooks/hook-fleet-catchup/tsconfig.json +0 -25
  39. package/hooks/hook-gitguard/tsconfig.json +0 -25
  40. package/hooks/hook-knowledge-context/src/hook.test.ts +0 -379
  41. package/hooks/hook-packageage/tsconfig.json +0 -25
  42. package/hooks/hook-permissionguard/tsconfig.json +0 -25
  43. package/hooks/hook-phonenotify/tsconfig.json +0 -25
  44. package/hooks/hook-precompact/tsconfig.json +0 -25
  45. package/hooks/hook-protectfiles/tsconfig.json +0 -25
  46. package/hooks/hook-scanoutput/src/hook.test.ts +0 -217
  47. package/hooks/hook-spiral-detector/src/hook.test.ts +0 -72
  48. package/hooks/hook-stylescheck/tsconfig.json +0 -25
  49. package/hooks/hook-typecheck-gate/tsconfig.json +0 -25
  50. package/hooks/hook-workspace-repos-guard/src/hook.test.ts +0 -466
  51. package/hooks/hook-workspace-repos-guard/tsconfig.json +0 -21
  52. package/hooks/mention-context/src/hook.test.ts +0 -68
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/hooks",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Open source hooks library for AI coding agents - Install safety, quality, and automation hooks with a single command",
5
5
  "type": "module",
6
6
  "bin": {
@@ -80,7 +80,9 @@
80
80
  "!hooks/*/dist/",
81
81
  "scripts/",
82
82
  "README.md",
83
- "LICENSE"
83
+ "LICENSE",
84
+ "!hooks/**/*.test.ts",
85
+ "!hooks/**/tsconfig.json"
84
86
  ],
85
87
  "homepage": "https://github.com/hasna/hooks#readme",
86
88
  "bugs": {