Files
openclaw-skill/openclaw-knowhow-skill/output/openclaw-docs_data/pages/Bun_Experimental_3edf8ecd25.json
Selig 4c966a3ad2 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.
2026-03-13 10:58:30 +08:00

47 lines
2.7 KiB
JSON
Executable File
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"title": "Bun (experimental)",
"content": "Goal: run this repo with **Bun** (optional, not recommended for WhatsApp/Telegram)\nwithout diverging from pnpm workflows.\n\n⚠ **Not recommended for Gateway runtime** (WhatsApp/Telegram bugs). Use Node for production.\n\n* Bun is an optional local runtime for running TypeScript directly (`bun run …`, `bun --watch …`).\n* `pnpm` is the default for builds and remains fully supported (and used by some docs tooling).\n* Bun cannot use `pnpm-lock.yaml` and will ignore it.\n\nNote: `bun.lock`/`bun.lockb` are gitignored, so theres no repo churn either way. If you want *no lockfile writes*:\n\n## Build / Test (Bun)\n\n## Bun lifecycle scripts (blocked by default)\n\nBun may block dependency lifecycle scripts unless explicitly trusted (`bun pm untrusted` / `bun pm trust`).\nFor this repo, the commonly blocked scripts are not required:\n\n* `@whiskeysockets/baileys` `preinstall`: checks Node major >= 20 (we run Node 22+).\n* `protobufjs` `postinstall`: emits warnings about incompatible version schemes (no build artifacts).\n\nIf you hit a real runtime issue that requires these scripts, trust them explicitly:\n\n* Some scripts still hardcode pnpm (e.g. `docs:build`, `ui:*`, `protocol:check`). Run those via pnpm for now.",
"code_samples": [
{
"code": "Note: `bun.lock`/`bun.lockb` are gitignored, so theres no repo churn either way. If you want *no lockfile writes*:",
"language": "unknown"
},
{
"code": "## Build / Test (Bun)",
"language": "unknown"
},
{
"code": "## Bun lifecycle scripts (blocked by default)\n\nBun may block dependency lifecycle scripts unless explicitly trusted (`bun pm untrusted` / `bun pm trust`).\nFor this repo, the commonly blocked scripts are not required:\n\n* `@whiskeysockets/baileys` `preinstall`: checks Node major >= 20 (we run Node 22+).\n* `protobufjs` `postinstall`: emits warnings about incompatible version schemes (no build artifacts).\n\nIf you hit a real runtime issue that requires these scripts, trust them explicitly:",
"language": "unknown"
}
],
"headings": [
{
"level": "h2",
"text": "Status",
"id": "status"
},
{
"level": "h2",
"text": "Install",
"id": "install"
},
{
"level": "h2",
"text": "Build / Test (Bun)",
"id": "build-/-test-(bun)"
},
{
"level": "h2",
"text": "Bun lifecycle scripts (blocked by default)",
"id": "bun-lifecycle-scripts-(blocked-by-default)"
},
{
"level": "h2",
"text": "Caveats",
"id": "caveats"
}
],
"url": "llms-txt#bun-(experimental)",
"links": []
}