From 95d7216752160b6b0e4dbaafdc572eaa0b4e3cdb Mon Sep 17 00:00:00 2001 From: bipproduction Date: Mon, 17 Nov 2025 14:06:55 +0800 Subject: [PATCH] build --- bin/build.ts | 2 ++ bin/publish.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/build.ts b/bin/build.ts index d209184..b3532bb 100644 --- a/bin/build.ts +++ b/bin/build.ts @@ -81,6 +81,8 @@ async function build() { console.log("🎉 Build complete!"); } +execSync("git add -A", { stdio: 'inherit' }) +execSync("git commit -m 'build'", { stdio: 'inherit' }) execSync("cd src && npm version patch", { stdio: 'inherit' }) build() diff --git a/bin/publish.ts b/bin/publish.ts index efc47ed..0f1fdb5 100644 --- a/bin/publish.ts +++ b/bin/publish.ts @@ -1,3 +1,3 @@ import { execSync } from "child_process"; -execSync("npm publish", { stdio: 'inherit' }) \ No newline at end of file +execSync("cd dist && npm publish", { stdio: 'inherit' }) \ No newline at end of file