docs: 统一使用 bun run <script> 避免与 Bun 内置子命令冲突

bun build 会调用 Bun 内置 bundler 而非 package.json script,
将所有文档中的 bun <script> 改为 bun run <script> 以避免歧义。
bun test 保留不变(直接使用 Bun 内置 test runner)。
This commit is contained in:
2026-03-05 12:57:26 +08:00
parent 58d7a453b6
commit cd7448c3b3
4 changed files with 86 additions and 91 deletions

View File

@@ -14,12 +14,7 @@
"cache": false
},
"typecheck": {
"inputs": [
"package.json",
"tsconfig.json",
"tsconfig.*.json",
"**/*.{ts,tsx,d.ts}"
],
"inputs": ["package.json", "tsconfig.json", "tsconfig.*.json", "**/*.{ts,tsx,d.ts}"],
"outputs": []
}
},