thrivekit 2.0.0 → 2.0.2
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.
- package/package.json +1 -1
- package/ralph/setup.sh +3 -25
- package/.claude/settings.json +0 -75
- package/.claude/settings.local.json +0 -12
package/package.json
CHANGED
package/ralph/setup.sh
CHANGED
|
@@ -7,31 +7,9 @@ ralph_setup() {
|
|
|
7
7
|
echo "Setting up thrivekit..."
|
|
8
8
|
echo ""
|
|
9
9
|
|
|
10
|
-
#
|
|
11
|
-
local pkg_root
|
|
12
|
-
|
|
13
|
-
# Check common locations
|
|
14
|
-
if [[ -d "node_modules/thrivekit" ]]; then
|
|
15
|
-
pkg_root="node_modules/thrivekit"
|
|
16
|
-
elif [[ -d "apps/web/node_modules/thrivekit" ]]; then
|
|
17
|
-
pkg_root="apps/web/node_modules/thrivekit"
|
|
18
|
-
elif [[ -d "apps/frontend/node_modules/thrivekit" ]]; then
|
|
19
|
-
pkg_root="apps/frontend/node_modules/thrivekit"
|
|
20
|
-
elif [[ -d "frontend/node_modules/thrivekit" ]]; then
|
|
21
|
-
pkg_root="frontend/node_modules/thrivekit"
|
|
22
|
-
else
|
|
23
|
-
# Search for it
|
|
24
|
-
pkg_root=$(find . -path "*/node_modules/thrivekit" -type d 2>/dev/null | head -1)
|
|
25
|
-
fi
|
|
26
|
-
|
|
27
|
-
if [[ -z "$pkg_root" || ! -d "$pkg_root" ]]; then
|
|
28
|
-
print_error "thrivekit not found in node_modules."
|
|
29
|
-
echo "Run: npm install thrivekit"
|
|
30
|
-
return 1
|
|
31
|
-
fi
|
|
32
|
-
|
|
33
|
-
# Convert to absolute path
|
|
34
|
-
pkg_root="$(cd "$pkg_root" && pwd)"
|
|
10
|
+
# Package root is relative to this script (works with npx and local installs)
|
|
11
|
+
local pkg_root
|
|
12
|
+
pkg_root="$(cd "$RALPH_LIB/.." && pwd)"
|
|
35
13
|
echo "Found package at: $pkg_root"
|
|
36
14
|
echo ""
|
|
37
15
|
|
package/.claude/settings.json
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"hooks": {
|
|
3
|
-
"PreToolUse": [
|
|
4
|
-
{
|
|
5
|
-
"matcher": "Edit|Write",
|
|
6
|
-
"hooks": [
|
|
7
|
-
{
|
|
8
|
-
"type": "command",
|
|
9
|
-
"command": "/Users/allierays/Sites/vibe-and-thrive/ralph/hooks/protect-prd.sh",
|
|
10
|
-
"timeout": 5
|
|
11
|
-
}
|
|
12
|
-
]
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"PostToolUse": [
|
|
16
|
-
{
|
|
17
|
-
"matcher": "Edit|Write",
|
|
18
|
-
"hooks": [
|
|
19
|
-
{
|
|
20
|
-
"type": "command",
|
|
21
|
-
"command": "/Users/allierays/Sites/vibe-and-thrive/ralph/hooks/warn-debug.sh",
|
|
22
|
-
"timeout": 5
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"type": "command",
|
|
26
|
-
"command": "/Users/allierays/Sites/vibe-and-thrive/ralph/hooks/warn-secrets.sh",
|
|
27
|
-
"timeout": 5
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"type": "command",
|
|
31
|
-
"command": "/Users/allierays/Sites/vibe-and-thrive/ralph/hooks/warn-urls.sh",
|
|
32
|
-
"timeout": 5
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"type": "command",
|
|
36
|
-
"command": "/Users/allierays/Sites/vibe-and-thrive/ralph/hooks/warn-empty-catch.sh",
|
|
37
|
-
"timeout": 5
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"matcher": "*",
|
|
43
|
-
"hooks": [
|
|
44
|
-
{
|
|
45
|
-
"type": "command",
|
|
46
|
-
"command": "/Users/allierays/Sites/vibe-and-thrive/ralph/hooks/log-tools.sh",
|
|
47
|
-
"timeout": 3
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
],
|
|
52
|
-
"SessionStart": [
|
|
53
|
-
{
|
|
54
|
-
"hooks": [
|
|
55
|
-
{
|
|
56
|
-
"type": "command",
|
|
57
|
-
"command": "/Users/allierays/Sites/vibe-and-thrive/ralph/hooks/inject-context.sh",
|
|
58
|
-
"timeout": 5
|
|
59
|
-
}
|
|
60
|
-
]
|
|
61
|
-
}
|
|
62
|
-
],
|
|
63
|
-
"Stop": [
|
|
64
|
-
{
|
|
65
|
-
"hooks": [
|
|
66
|
-
{
|
|
67
|
-
"type": "command",
|
|
68
|
-
"command": "/Users/allierays/Sites/vibe-and-thrive/ralph/hooks/save-learnings.sh",
|
|
69
|
-
"timeout": 10
|
|
70
|
-
}
|
|
71
|
-
]
|
|
72
|
-
}
|
|
73
|
-
]
|
|
74
|
-
}
|
|
75
|
-
}
|