Files
MatthewYe 6b616b4590 fix: 更新脚本权限和扫描路径,添加 marketplace.json
- 添加 scripts/install.sh 和 scan.sh 执行权限
- 更新 ljg-skill-map/scripts/scan.sh 支持 legacy 和 plugin 双架构
- 更新 ljg-skill-map/SKILL.md 描述
- 添加 .claude-plugin/marketplace.json 发布文档

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 22:24:09 +08:00

18 lines
446 B
Bash
Executable File

#!/bin/bash
# 安装 ljg-card 依赖
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
CARD_DIR="$(dirname "$SCRIPT_DIR")/skills/ljg-card"
if [ -f "$CARD_DIR/package.json" ]; then
echo "Installing ljg-card dependencies..."
cd "$CARD_DIR"
npm install
npx playwright install chromium
echo "ljg-card dependencies installed successfully."
else
echo "Error: package.json not found in $CARD_DIR"
exit 1
fi