forked from Selig/openclaw-skill
Initial commit: OpenClaw Skill Collection
6 custom skills (assign-task, dispatch-webhook, daily-briefing, task-capture, qmd-brain, tts-voice) with technical documentation. Compatible with Claude Code, OpenClaw, Codex CLI, and OpenCode.
This commit is contained in:
21
openclaw-knowhow-skill/docs/infrastructure/install/bun.md
Normal file
21
openclaw-knowhow-skill/docs/infrastructure/install/bun.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# Bun (Experimental) Documentation
|
||||
|
||||
## Overview
|
||||
|
||||
This page documents experimental Bun runtime support for the repository. Bun is an optional local runtime for running TypeScript directly (`bun run …`, `bun --watch …`).
|
||||
|
||||
## Key Points
|
||||
|
||||
**Installation approach:** Users can install dependencies using `bun install` or `bun install --no-save` to prevent lockfile generation.
|
||||
|
||||
**Build and testing:** The commands `bun run build` and `bun run vitest run` execute build and test operations respectively.
|
||||
|
||||
**Production considerations:** Not recommended for Gateway runtime (WhatsApp/Telegram bugs). Use Node for production.
|
||||
|
||||
**Lifecycle scripts:** Bun may initially block certain dependency installation scripts. However, for this specific repository, the commonly blocked scripts aren't necessary for operation. Users can trust problematic scripts via `bun pm trust` if needed.
|
||||
|
||||
**Limitations:** Some npm scripts still require pnpm, particularly documentation and UI-related commands.
|
||||
|
||||
## Bottom Line
|
||||
|
||||
Bun serves as an optional development alternative to pnpm but remains unsuitable for production gateway deployments involving WhatsApp or Telegram integrations.
|
||||
Reference in New Issue
Block a user