Files
OJ2/bunfig.toml
T
xuyueandClaude Opus 5.5 eb0309ae35 chore(构建): Bun 锁到 1.4.4,CI 和镜像不再跟 latest;后端类型检查换成 bun check
单二进制把运行时一起打进去,CI 装的是几线上就是几,之前三处都不锁(@types/bun latest、
setup-bun latest、oven/bun:1),1.4.x 每版都有破坏性变更会悄悄上线。
顺带 bunfig 加 minimumReleaseAge = "3d",@types/bun 除外。
后端 typecheck 从 tsc 换成 bun check,1.9s → 0.26s,报错一致。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 09:13:21 +08:00

9 lines
393 B
TOML

[install]
# workspace 内部依赖走本地链接,不去 registry 找
linker = "hoisted"
# 新发布不满 3 天的版本不装:被投毒的包通常几小时到一两天内就会被发现并撤下。
# @types/bun 例外:它跟着 package.json 的 packageManager 一起升,升 Bun 当天就要用上。
minimumReleaseAge = "3d"
minimumReleaseAgeExcludes = ["@types/bun", "bun-types"]