From 337424761e5d90a9b41ddfa653538e4ab2fe5bdb Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sat, 29 Nov 2025 18:02:14 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 12 ++++++++++ README.md | 3 +++ hooks/hooks.json | 17 ++++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 hooks/hooks.json create mode 100644 plugin.lock.json diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..34bc844 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,12 @@ +{ + "name": "ex_unit", + "description": "ExUnit testing automation with pre-commit test validation", + "version": "1.0.1", + "author": { + "name": "Bradley Golden", + "url": "https://github.com/bradleygolden" + }, + "hooks": [ + "./hooks" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..7611acd --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# ex_unit + +ExUnit testing automation with pre-commit test validation diff --git a/hooks/hooks.json b/hooks/hooks.json new file mode 100644 index 0000000..4bf8199 --- /dev/null +++ b/hooks/hooks.json @@ -0,0 +1,17 @@ +{ + "description": "ExUnit testing automation with pre-commit validation", + "hooks": { + "PreToolUse": [ + { + "matcher": "Bash", + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/scripts/pre-commit-test.sh", + "timeout": 60 + } + ] + } + ] + } +} diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..2444f99 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:bradleygolden/claude-marketplace-elixir:plugins/ex_unit", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "70e151fddd16d3fe6875525a1aa7e245fdcbd287", + "treeHash": "ddd1c7f801194801c07d2c77e95b0cd3c3baa7e0bcb310fc752efdfe2190aed7", + "generatedAt": "2025-11-28T10:14:23.490458Z", + "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": "ex_unit", + "description": "ExUnit testing automation with pre-commit test validation", + "version": "1.0.1" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "d71d8bdb9eafdb406bfc7aaa9c8e10a3de75bf14cf66ae45aab0e4eabcc89632" + }, + { + "path": "hooks/hooks.json", + "sha256": "86ef1ea65bb162080521f5bcb7d526553b0ff7e40b3e289e60247ec6fa00d3c5" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "6dea85d08ed3290b170bf9fc6e40741248dad44908efa7c1630f3b11a26a7eda" + } + ], + "dirSha256": "ddd1c7f801194801c07d2c77e95b0cd3c3baa7e0bcb310fc752efdfe2190aed7" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file