Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:28:06 +08:00
commit 44c1ebcb47
4 changed files with 74 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{
"name": "tsc-check",
"description": "PreToolUse hook to run TypeScript type-checks",
"version": "1.0.0",
"author": {
"name": "ClaudeSmith"
},
"hooks": [
"./hooks/hooks.json"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# tsc-check
PreToolUse hook to run TypeScript type-checks

15
hooks/hooks.json Normal file
View File

@@ -0,0 +1,15 @@
{
"hooks": {
"PreToolUse": [
{
"matcher": "Write|Edit",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/tsc-check.sh"
}
]
}
]
}
}

45
plugin.lock.json Normal file
View File

@@ -0,0 +1,45 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:JNLei/claude-tools:plugins/hooks/tsc-check",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "c54109ae47b6024e528aa86a2d44dd658b815da6",
"treeHash": "9b18c3390a2afb38cee953fd2871f892fba63444bfc42d04eb0a1dd71e7a7833",
"generatedAt": "2025-11-28T10:11:45.969962Z",
"toolVersion": "publish_plugins.py@0.2.0"
},
"origin": {
"remote": "git@github.com:zhongweili/42plugin-data.git",
"branch": "master",
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
},
"manifest": {
"name": "tsc-check",
"description": "PreToolUse hook to run TypeScript type-checks",
"version": "1.0.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "980a6ee993dc48effb61fa4be6dbcf75bcd8e28556274d030aa83a9fc622285b"
},
{
"path": "hooks/hooks.json",
"sha256": "fbb1e924a3dcabcff7d47b148d203da7182b2cc48eba2a251956f885a795ce8f"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "244b3e8fb3c523632a0e01b216da558e36e717abfcb401abaeeafad5f53304de"
}
],
"dirSha256": "9b18c3390a2afb38cee953fd2871f892fba63444bfc42d04eb0a1dd71e7a7833"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}