fix: use workspace links for runner shared package (#198)

This commit is contained in:
Eyejoker
2026-05-30 00:30:31 +09:00
committed by GitHub
parent e3d02dbac1
commit 35988d9797
8 changed files with 147 additions and 334 deletions

View File

@@ -5,6 +5,11 @@
"packageManager": "bun@1.3.11",
"type": "module",
"main": "dist/index.js",
"workspaces": [
"runners/shared",
"runners/agent-runner",
"runners/codex-runner"
],
"scripts": {
"build": "tsc",
"dashboard:dev": "vite --config apps/dashboard/vite.config.ts",
@@ -13,12 +18,12 @@
"dashboard:ux": "bun scripts/dashboard-ux.ts",
"android:build": "cd apps/android && ./gradlew assembleDebug",
"android:install": "cd apps/android && ./gradlew installDebug",
"install:runners": "bun install --frozen-lockfile --cwd runners/shared && bun install --frozen-lockfile --cwd runners/agent-runner && bun install --frozen-lockfile --cwd runners/codex-runner",
"install:runners": "bun install --frozen-lockfile",
"build:runners": "bun run install:runners && bun run --cwd runners/shared build && bun run --cwd runners/agent-runner build && bun run --cwd runners/codex-runner build",
"build:all": "bun run build && bun run dashboard:build && bun run build:runners",
"build:runtime": "bun run build:all",
"verify:dist": "bash scripts/check-dist-fresh.sh",
"deploy": "git pull --ff-only && bun install --frozen-lockfile && bun run build:all && bun install --frozen-lockfile && bun run verify:dist && bun setup/index.ts --step migrate-room-registrations && systemctl --user restart ejclaw",
"deploy": "git pull --ff-only && bun install --frozen-lockfile && bun run build:all && bun run verify:dist && bun setup/index.ts --step migrate-room-registrations && systemctl --user restart ejclaw",
"start": "bun dist/index.js",
"dev": "bun --watch src/index.ts",
"test": "vitest run",
@@ -38,7 +43,7 @@
"@modelcontextprotocol/sdk": "^1.27.1",
"cron-parser": "^5.5.0",
"discord.js": "^14.18.0",
"ejclaw-runners-shared": "file:./runners/shared",
"ejclaw-runners-shared": "workspace:*",
"lucide-react": "^1.11.0",
"pino": "^9.6.0",
"pino-pretty": "^13.0.0",