refactor(core): migrate to Bun and converge acquisition policies and Agent boundaries
This commit is contained in:
1 parent
3f1c6d02f6
commit
27c0f27434
268 files changed
+7468
-7852
No files matched your search
+4
-4
@@ -25,11 +25,11 @@ die() { echo "✗ $*" >&2; exit 1; }
|
||||
[ -f "$ENV_FILE" ] || die "缺少 $ENV_FILE"
|
||||
[ -z "$(git status --porcelain)" ] || die "工作区有未提交的改动,先提交再发布(git status)"
|
||||
|
||||
version=$(deno eval --quiet 'console.log(JSON.parse(Deno.readTextFileSync("deno.json")).version)')
|
||||
version=$(bun -e 'console.log(JSON.parse(require("node:fs").readFileSync("package.json")).version)')
|
||||
tag="v$version"
|
||||
for f in apps/*/deno.json apps/web/package.json packages/*/deno.json; do
|
||||
v=$(deno eval --quiet "console.log(JSON.parse(Deno.readTextFileSync('$f')).version ?? '')")
|
||||
[ -z "$v" ] || [ "$v" = "$version" ] || die "$f 版本 $v 与根 deno.json $version 不一致"
|
||||
for f in apps/*/package.json packages/*/package.json; do
|
||||
v=$(bun -e "console.log(JSON.parse(require("node:fs").readFileSync('$f')).version ?? '')")
|
||||
[ -z "$v" ] || [ "$v" = "$version" ] || die "$f 版本 $v 与根 package.json $version 不一致"
|
||||
done
|
||||
grep -q "^## \[$version\]" CHANGELOG.md || die "CHANGELOG.md 还没有 ## [$version] 条目"
|
||||
|
||||
|
||||
Reference in new issue
Block a user