@codyswann/lisa 2.189.4 → 2.189.6
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/dist/codex/scripts/install-pkgs.sh +4 -4
- package/package.json +1 -1
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/hooks/install-pkgs.sh +13 -13
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/hooks/install-pkgs.sh +13 -13
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/hooks/install-pkgs.sh +13 -13
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/src/base/hooks/install-pkgs.sh +13 -13
|
@@ -65,10 +65,10 @@ detect_package_manager() {
|
|
|
65
65
|
|
|
66
66
|
PACKAGE_MANAGER="$(detect_package_manager)"
|
|
67
67
|
case "$PACKAGE_MANAGER" in
|
|
68
|
-
bun) command -v bun >/dev/null 2>&1 && bun install ;;
|
|
69
|
-
pnpm) command -v pnpm >/dev/null 2>&1 && pnpm install ;;
|
|
70
|
-
yarn) command -v yarn >/dev/null 2>&1 && yarn install ;;
|
|
71
|
-
*) command -v npm >/dev/null 2>&1 && npm install ;;
|
|
68
|
+
bun) command -v bun >/dev/null 2>&1 && bun install >&2 ;;
|
|
69
|
+
pnpm) command -v pnpm >/dev/null 2>&1 && pnpm install >&2 ;;
|
|
70
|
+
yarn) command -v yarn >/dev/null 2>&1 && yarn install >&2 ;;
|
|
71
|
+
*) command -v npm >/dev/null 2>&1 && npm install >&2 ;;
|
|
72
72
|
esac
|
|
73
73
|
|
|
74
74
|
exit 0
|
package/package.json
CHANGED
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"ws": ">=8.20.1"
|
|
95
95
|
},
|
|
96
96
|
"name": "@codyswann/lisa",
|
|
97
|
-
"version": "2.189.
|
|
97
|
+
"version": "2.189.6",
|
|
98
98
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
99
99
|
"main": "dist/index.js",
|
|
100
100
|
"exports": {
|
|
@@ -20,7 +20,7 @@ link_primary_worktree_node_modules() {
|
|
|
20
20
|
[ -d "$primary_root/node_modules" ] || return 1
|
|
21
21
|
|
|
22
22
|
ln -s "$primary_root/node_modules" "node_modules"
|
|
23
|
-
echo "Linked node_modules from primary worktree: $primary_root/node_modules"
|
|
23
|
+
echo "Linked node_modules from primary worktree: $primary_root/node_modules" >&2
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
# Only run package installation when node_modules are missing.
|
|
@@ -60,12 +60,12 @@ detect_package_manager() {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
PACKAGE_MANAGER="$(detect_package_manager)"
|
|
63
|
-
echo "Detected package manager: ${PACKAGE_MANAGER}"
|
|
63
|
+
echo "Detected package manager: ${PACKAGE_MANAGER}" >&2
|
|
64
64
|
case "$PACKAGE_MANAGER" in
|
|
65
|
-
bun) bun install ;;
|
|
66
|
-
pnpm) pnpm install ;;
|
|
67
|
-
yarn) yarn install ;;
|
|
68
|
-
*) npm install ;;
|
|
65
|
+
bun) bun install >&2 ;;
|
|
66
|
+
pnpm) pnpm install >&2 ;;
|
|
67
|
+
yarn) yarn install >&2 ;;
|
|
68
|
+
*) npm install >&2 ;;
|
|
69
69
|
esac
|
|
70
70
|
|
|
71
71
|
# The tools below use Linux-specific binaries and paths — skip on other platforms.
|
|
@@ -74,15 +74,15 @@ if [ "$(uname -s)" != "Linux" ]; then
|
|
|
74
74
|
fi
|
|
75
75
|
|
|
76
76
|
# Install Gitleaks for secret detection (pre-commit hook)
|
|
77
|
-
echo "Installing Gitleaks for secret detection..."
|
|
77
|
+
echo "Installing Gitleaks for secret detection..." >&2
|
|
78
78
|
GITLEAKS_VERSION="8.18.4"
|
|
79
79
|
curl -sSfL "https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz" | tar -xz -C /usr/local/bin gitleaks
|
|
80
|
-
echo "Gitleaks installed: $(gitleaks version)"
|
|
80
|
+
echo "Gitleaks installed: $(gitleaks version)" >&2
|
|
81
81
|
|
|
82
82
|
# Install jira-cli for JIRA integration
|
|
83
83
|
# The tarball nests the binary at jira_VERSION_linux_x86_64/bin/jira,
|
|
84
84
|
# so we extract to a temp dir and copy the binary out.
|
|
85
|
-
echo "Installing jira-cli for JIRA integration..."
|
|
85
|
+
echo "Installing jira-cli for JIRA integration..." >&2
|
|
86
86
|
JIRA_CLI_VERSION="1.7.0"
|
|
87
87
|
JIRA_TMPDIR=$(mktemp -d)
|
|
88
88
|
curl -sSfL "https://github.com/ankitpokhrel/jira-cli/releases/download/v${JIRA_CLI_VERSION}/jira_${JIRA_CLI_VERSION}_linux_x86_64.tar.gz" \
|
|
@@ -90,12 +90,12 @@ curl -sSfL "https://github.com/ankitpokhrel/jira-cli/releases/download/v${JIRA_C
|
|
|
90
90
|
cp "${JIRA_TMPDIR}/jira_${JIRA_CLI_VERSION}_linux_x86_64/bin/jira" /usr/local/bin/jira
|
|
91
91
|
chmod +x /usr/local/bin/jira
|
|
92
92
|
rm -rf "${JIRA_TMPDIR}"
|
|
93
|
-
echo "jira-cli installed: $(jira version)"
|
|
93
|
+
echo "jira-cli installed: $(jira version)" >&2
|
|
94
94
|
|
|
95
95
|
# Install Chromium for Lighthouse CI (pre-push hook)
|
|
96
96
|
# Playwright's bundled Chromium works with @lhci/cli
|
|
97
|
-
echo "Installing Chromium for Lighthouse CI..."
|
|
98
|
-
npx playwright install chromium
|
|
97
|
+
echo "Installing Chromium for Lighthouse CI..." >&2
|
|
98
|
+
npx playwright install chromium >&2
|
|
99
99
|
|
|
100
100
|
# Find and export CHROME_PATH for Lighthouse CI
|
|
101
101
|
# Use sort to ensure deterministic selection of the latest version
|
|
@@ -110,7 +110,7 @@ if [ -n "$CHROME_PATH" ]; then
|
|
|
110
110
|
fi
|
|
111
111
|
|
|
112
112
|
export CHROME_PATH="$CHROME_PATH"
|
|
113
|
-
echo "Chromium installed at: $CHROME_PATH"
|
|
113
|
+
echo "Chromium installed at: $CHROME_PATH" >&2
|
|
114
114
|
fi
|
|
115
115
|
|
|
116
116
|
exit 0
|
|
@@ -20,7 +20,7 @@ link_primary_worktree_node_modules() {
|
|
|
20
20
|
[ -d "$primary_root/node_modules" ] || return 1
|
|
21
21
|
|
|
22
22
|
ln -s "$primary_root/node_modules" "node_modules"
|
|
23
|
-
echo "Linked node_modules from primary worktree: $primary_root/node_modules"
|
|
23
|
+
echo "Linked node_modules from primary worktree: $primary_root/node_modules" >&2
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
# Only run package installation when node_modules are missing.
|
|
@@ -60,12 +60,12 @@ detect_package_manager() {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
PACKAGE_MANAGER="$(detect_package_manager)"
|
|
63
|
-
echo "Detected package manager: ${PACKAGE_MANAGER}"
|
|
63
|
+
echo "Detected package manager: ${PACKAGE_MANAGER}" >&2
|
|
64
64
|
case "$PACKAGE_MANAGER" in
|
|
65
|
-
bun) bun install ;;
|
|
66
|
-
pnpm) pnpm install ;;
|
|
67
|
-
yarn) yarn install ;;
|
|
68
|
-
*) npm install ;;
|
|
65
|
+
bun) bun install >&2 ;;
|
|
66
|
+
pnpm) pnpm install >&2 ;;
|
|
67
|
+
yarn) yarn install >&2 ;;
|
|
68
|
+
*) npm install >&2 ;;
|
|
69
69
|
esac
|
|
70
70
|
|
|
71
71
|
# The tools below use Linux-specific binaries and paths — skip on other platforms.
|
|
@@ -74,15 +74,15 @@ if [ "$(uname -s)" != "Linux" ]; then
|
|
|
74
74
|
fi
|
|
75
75
|
|
|
76
76
|
# Install Gitleaks for secret detection (pre-commit hook)
|
|
77
|
-
echo "Installing Gitleaks for secret detection..."
|
|
77
|
+
echo "Installing Gitleaks for secret detection..." >&2
|
|
78
78
|
GITLEAKS_VERSION="8.18.4"
|
|
79
79
|
curl -sSfL "https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz" | tar -xz -C /usr/local/bin gitleaks
|
|
80
|
-
echo "Gitleaks installed: $(gitleaks version)"
|
|
80
|
+
echo "Gitleaks installed: $(gitleaks version)" >&2
|
|
81
81
|
|
|
82
82
|
# Install jira-cli for JIRA integration
|
|
83
83
|
# The tarball nests the binary at jira_VERSION_linux_x86_64/bin/jira,
|
|
84
84
|
# so we extract to a temp dir and copy the binary out.
|
|
85
|
-
echo "Installing jira-cli for JIRA integration..."
|
|
85
|
+
echo "Installing jira-cli for JIRA integration..." >&2
|
|
86
86
|
JIRA_CLI_VERSION="1.7.0"
|
|
87
87
|
JIRA_TMPDIR=$(mktemp -d)
|
|
88
88
|
curl -sSfL "https://github.com/ankitpokhrel/jira-cli/releases/download/v${JIRA_CLI_VERSION}/jira_${JIRA_CLI_VERSION}_linux_x86_64.tar.gz" \
|
|
@@ -90,12 +90,12 @@ curl -sSfL "https://github.com/ankitpokhrel/jira-cli/releases/download/v${JIRA_C
|
|
|
90
90
|
cp "${JIRA_TMPDIR}/jira_${JIRA_CLI_VERSION}_linux_x86_64/bin/jira" /usr/local/bin/jira
|
|
91
91
|
chmod +x /usr/local/bin/jira
|
|
92
92
|
rm -rf "${JIRA_TMPDIR}"
|
|
93
|
-
echo "jira-cli installed: $(jira version)"
|
|
93
|
+
echo "jira-cli installed: $(jira version)" >&2
|
|
94
94
|
|
|
95
95
|
# Install Chromium for Lighthouse CI (pre-push hook)
|
|
96
96
|
# Playwright's bundled Chromium works with @lhci/cli
|
|
97
|
-
echo "Installing Chromium for Lighthouse CI..."
|
|
98
|
-
npx playwright install chromium
|
|
97
|
+
echo "Installing Chromium for Lighthouse CI..." >&2
|
|
98
|
+
npx playwright install chromium >&2
|
|
99
99
|
|
|
100
100
|
# Find and export CHROME_PATH for Lighthouse CI
|
|
101
101
|
# Use sort to ensure deterministic selection of the latest version
|
|
@@ -110,7 +110,7 @@ if [ -n "$CHROME_PATH" ]; then
|
|
|
110
110
|
fi
|
|
111
111
|
|
|
112
112
|
export CHROME_PATH="$CHROME_PATH"
|
|
113
|
-
echo "Chromium installed at: $CHROME_PATH"
|
|
113
|
+
echo "Chromium installed at: $CHROME_PATH" >&2
|
|
114
114
|
fi
|
|
115
115
|
|
|
116
116
|
exit 0
|
|
@@ -20,7 +20,7 @@ link_primary_worktree_node_modules() {
|
|
|
20
20
|
[ -d "$primary_root/node_modules" ] || return 1
|
|
21
21
|
|
|
22
22
|
ln -s "$primary_root/node_modules" "node_modules"
|
|
23
|
-
echo "Linked node_modules from primary worktree: $primary_root/node_modules"
|
|
23
|
+
echo "Linked node_modules from primary worktree: $primary_root/node_modules" >&2
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
# Only run package installation when node_modules are missing.
|
|
@@ -60,12 +60,12 @@ detect_package_manager() {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
PACKAGE_MANAGER="$(detect_package_manager)"
|
|
63
|
-
echo "Detected package manager: ${PACKAGE_MANAGER}"
|
|
63
|
+
echo "Detected package manager: ${PACKAGE_MANAGER}" >&2
|
|
64
64
|
case "$PACKAGE_MANAGER" in
|
|
65
|
-
bun) bun install ;;
|
|
66
|
-
pnpm) pnpm install ;;
|
|
67
|
-
yarn) yarn install ;;
|
|
68
|
-
*) npm install ;;
|
|
65
|
+
bun) bun install >&2 ;;
|
|
66
|
+
pnpm) pnpm install >&2 ;;
|
|
67
|
+
yarn) yarn install >&2 ;;
|
|
68
|
+
*) npm install >&2 ;;
|
|
69
69
|
esac
|
|
70
70
|
|
|
71
71
|
# The tools below use Linux-specific binaries and paths — skip on other platforms.
|
|
@@ -74,15 +74,15 @@ if [ "$(uname -s)" != "Linux" ]; then
|
|
|
74
74
|
fi
|
|
75
75
|
|
|
76
76
|
# Install Gitleaks for secret detection (pre-commit hook)
|
|
77
|
-
echo "Installing Gitleaks for secret detection..."
|
|
77
|
+
echo "Installing Gitleaks for secret detection..." >&2
|
|
78
78
|
GITLEAKS_VERSION="8.18.4"
|
|
79
79
|
curl -sSfL "https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz" | tar -xz -C /usr/local/bin gitleaks
|
|
80
|
-
echo "Gitleaks installed: $(gitleaks version)"
|
|
80
|
+
echo "Gitleaks installed: $(gitleaks version)" >&2
|
|
81
81
|
|
|
82
82
|
# Install jira-cli for JIRA integration
|
|
83
83
|
# The tarball nests the binary at jira_VERSION_linux_x86_64/bin/jira,
|
|
84
84
|
# so we extract to a temp dir and copy the binary out.
|
|
85
|
-
echo "Installing jira-cli for JIRA integration..."
|
|
85
|
+
echo "Installing jira-cli for JIRA integration..." >&2
|
|
86
86
|
JIRA_CLI_VERSION="1.7.0"
|
|
87
87
|
JIRA_TMPDIR=$(mktemp -d)
|
|
88
88
|
curl -sSfL "https://github.com/ankitpokhrel/jira-cli/releases/download/v${JIRA_CLI_VERSION}/jira_${JIRA_CLI_VERSION}_linux_x86_64.tar.gz" \
|
|
@@ -90,12 +90,12 @@ curl -sSfL "https://github.com/ankitpokhrel/jira-cli/releases/download/v${JIRA_C
|
|
|
90
90
|
cp "${JIRA_TMPDIR}/jira_${JIRA_CLI_VERSION}_linux_x86_64/bin/jira" /usr/local/bin/jira
|
|
91
91
|
chmod +x /usr/local/bin/jira
|
|
92
92
|
rm -rf "${JIRA_TMPDIR}"
|
|
93
|
-
echo "jira-cli installed: $(jira version)"
|
|
93
|
+
echo "jira-cli installed: $(jira version)" >&2
|
|
94
94
|
|
|
95
95
|
# Install Chromium for Lighthouse CI (pre-push hook)
|
|
96
96
|
# Playwright's bundled Chromium works with @lhci/cli
|
|
97
|
-
echo "Installing Chromium for Lighthouse CI..."
|
|
98
|
-
npx playwright install chromium
|
|
97
|
+
echo "Installing Chromium for Lighthouse CI..." >&2
|
|
98
|
+
npx playwright install chromium >&2
|
|
99
99
|
|
|
100
100
|
# Find and export CHROME_PATH for Lighthouse CI
|
|
101
101
|
# Use sort to ensure deterministic selection of the latest version
|
|
@@ -110,7 +110,7 @@ if [ -n "$CHROME_PATH" ]; then
|
|
|
110
110
|
fi
|
|
111
111
|
|
|
112
112
|
export CHROME_PATH="$CHROME_PATH"
|
|
113
|
-
echo "Chromium installed at: $CHROME_PATH"
|
|
113
|
+
echo "Chromium installed at: $CHROME_PATH" >&2
|
|
114
114
|
fi
|
|
115
115
|
|
|
116
116
|
exit 0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.189.
|
|
3
|
+
"version": "2.189.6",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.189.
|
|
3
|
+
"version": "2.189.6",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, across Claude and Codex.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.189.
|
|
3
|
+
"version": "2.189.6",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.189.
|
|
3
|
+
"version": "2.189.6",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.189.
|
|
3
|
+
"version": "2.189.6",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -20,7 +20,7 @@ link_primary_worktree_node_modules() {
|
|
|
20
20
|
[ -d "$primary_root/node_modules" ] || return 1
|
|
21
21
|
|
|
22
22
|
ln -s "$primary_root/node_modules" "node_modules"
|
|
23
|
-
echo "Linked node_modules from primary worktree: $primary_root/node_modules"
|
|
23
|
+
echo "Linked node_modules from primary worktree: $primary_root/node_modules" >&2
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
# Only run package installation when node_modules are missing.
|
|
@@ -60,12 +60,12 @@ detect_package_manager() {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
PACKAGE_MANAGER="$(detect_package_manager)"
|
|
63
|
-
echo "Detected package manager: ${PACKAGE_MANAGER}"
|
|
63
|
+
echo "Detected package manager: ${PACKAGE_MANAGER}" >&2
|
|
64
64
|
case "$PACKAGE_MANAGER" in
|
|
65
|
-
bun) bun install ;;
|
|
66
|
-
pnpm) pnpm install ;;
|
|
67
|
-
yarn) yarn install ;;
|
|
68
|
-
*) npm install ;;
|
|
65
|
+
bun) bun install >&2 ;;
|
|
66
|
+
pnpm) pnpm install >&2 ;;
|
|
67
|
+
yarn) yarn install >&2 ;;
|
|
68
|
+
*) npm install >&2 ;;
|
|
69
69
|
esac
|
|
70
70
|
|
|
71
71
|
# The tools below use Linux-specific binaries and paths — skip on other platforms.
|
|
@@ -74,15 +74,15 @@ if [ "$(uname -s)" != "Linux" ]; then
|
|
|
74
74
|
fi
|
|
75
75
|
|
|
76
76
|
# Install Gitleaks for secret detection (pre-commit hook)
|
|
77
|
-
echo "Installing Gitleaks for secret detection..."
|
|
77
|
+
echo "Installing Gitleaks for secret detection..." >&2
|
|
78
78
|
GITLEAKS_VERSION="8.18.4"
|
|
79
79
|
curl -sSfL "https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz" | tar -xz -C /usr/local/bin gitleaks
|
|
80
|
-
echo "Gitleaks installed: $(gitleaks version)"
|
|
80
|
+
echo "Gitleaks installed: $(gitleaks version)" >&2
|
|
81
81
|
|
|
82
82
|
# Install jira-cli for JIRA integration
|
|
83
83
|
# The tarball nests the binary at jira_VERSION_linux_x86_64/bin/jira,
|
|
84
84
|
# so we extract to a temp dir and copy the binary out.
|
|
85
|
-
echo "Installing jira-cli for JIRA integration..."
|
|
85
|
+
echo "Installing jira-cli for JIRA integration..." >&2
|
|
86
86
|
JIRA_CLI_VERSION="1.7.0"
|
|
87
87
|
JIRA_TMPDIR=$(mktemp -d)
|
|
88
88
|
curl -sSfL "https://github.com/ankitpokhrel/jira-cli/releases/download/v${JIRA_CLI_VERSION}/jira_${JIRA_CLI_VERSION}_linux_x86_64.tar.gz" \
|
|
@@ -90,12 +90,12 @@ curl -sSfL "https://github.com/ankitpokhrel/jira-cli/releases/download/v${JIRA_C
|
|
|
90
90
|
cp "${JIRA_TMPDIR}/jira_${JIRA_CLI_VERSION}_linux_x86_64/bin/jira" /usr/local/bin/jira
|
|
91
91
|
chmod +x /usr/local/bin/jira
|
|
92
92
|
rm -rf "${JIRA_TMPDIR}"
|
|
93
|
-
echo "jira-cli installed: $(jira version)"
|
|
93
|
+
echo "jira-cli installed: $(jira version)" >&2
|
|
94
94
|
|
|
95
95
|
# Install Chromium for Lighthouse CI (pre-push hook)
|
|
96
96
|
# Playwright's bundled Chromium works with @lhci/cli
|
|
97
|
-
echo "Installing Chromium for Lighthouse CI..."
|
|
98
|
-
npx playwright install chromium
|
|
97
|
+
echo "Installing Chromium for Lighthouse CI..." >&2
|
|
98
|
+
npx playwright install chromium >&2
|
|
99
99
|
|
|
100
100
|
# Find and export CHROME_PATH for Lighthouse CI
|
|
101
101
|
# Use sort to ensure deterministic selection of the latest version
|
|
@@ -110,7 +110,7 @@ if [ -n "$CHROME_PATH" ]; then
|
|
|
110
110
|
fi
|
|
111
111
|
|
|
112
112
|
export CHROME_PATH="$CHROME_PATH"
|
|
113
|
-
echo "Chromium installed at: $CHROME_PATH"
|
|
113
|
+
echo "Chromium installed at: $CHROME_PATH" >&2
|
|
114
114
|
fi
|
|
115
115
|
|
|
116
116
|
exit 0
|