feat: split plugins and cleanup
CI / verify (pull_request) Failing after 8s

This commit is contained in:
2026-10-04 12:49:41 +02:00
parent 0b6f39b6d9
commit f527778b29
29 changed files with 1793 additions and 2313 deletions
+15 -1
View File
@@ -1,9 +1,23 @@
import solidPlugin from "@opentui/solid/bun-plugin";
import { rm } from "node:fs/promises";
export async function build() {
for (const file of ["index.js", "index.d.ts", "playwright.d.ts"])
await rm(`dist/${file}`, { force: true });
const results = await Promise.all([
Bun.build({
entrypoints: ["src/index.ts", "src/quota-rpc.ts"],
entrypoints: [
"src/agents.ts",
"src/multi-work.ts",
"src/quota-plugin.ts",
"src/quota-rpc.ts",
],
outdir: "dist",
target: "bun",
format: "esm",
}),
Bun.build({
entrypoints: ["scripts/install.ts"],
outdir: "dist",
target: "bun",
format: "esm",