Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:22:38 +08:00
commit fac28cc151
4 changed files with 99 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{
"name": "vitest-4",
"description": "Vitest 4.x patterns and config",
"version": "1.0.0",
"author": {
"name": "Claude Code Plugin Marketplace"
},
"hooks": [
"./hooks/hooks.json"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# vitest-4
Vitest 4.x patterns and config

40
hooks/hooks.json Normal file
View File

@@ -0,0 +1,40 @@
{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/init-session.sh"
}
]
}
],
"PreToolUse": [
{
"matcher": "Read|Write|Edit",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/recommend-skills.sh"
}
]
}
],
"PostToolUse": [
{
"matcher": "Write|Edit",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/validate-vitest-config.sh"
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/validate-vitest-tests.sh"
}
]
}
]
}
}

45
plugin.lock.json Normal file
View File

@@ -0,0 +1,45 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:djankies/claude-configs:vitest-4",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "d3f10831e9031ef15ba936ffacc497ecc6216522",
"treeHash": "8bcbe422fb1ce8b51b2511c31d490a32e0748154eeeb3aa75f8e164906256b4b",
"generatedAt": "2025-11-28T10:16:30.772001Z",
"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": "vitest-4",
"description": "Vitest 4.x patterns and config",
"version": "1.0.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "afa0d96dce502b77f63d74f456435486c45224d99b8c381766399aa4ec20e426"
},
{
"path": "hooks/hooks.json",
"sha256": "b2e51ef76ebe2b3597d8a2bf1ff3868e60e33f4593aafefdcd79007170816a49"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "66f6c7c4c9a9dcd72d5c2207afb47ce6f4ba2ff2ecc2bfecdc115fa52fc4072b"
}
],
"dirSha256": "8bcbe422fb1ce8b51b2511c31d490a32e0748154eeeb3aa75f8e164906256b4b"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}