mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-24 20:25:36 -04:00
feat(http-recorder): prepare independent beta release
This commit is contained in:
+9
-1
@@ -2,6 +2,7 @@
|
||||
|
||||
import { Script } from "@opencode-ai/script"
|
||||
import { $ } from "bun"
|
||||
import path from "node:path"
|
||||
import { fileURLToPath } from "url"
|
||||
|
||||
console.log("=== publishing ===\n")
|
||||
@@ -14,7 +15,14 @@ const pkgjsons = await Array.fromAsync(
|
||||
new Bun.Glob("**/package.json").scan({
|
||||
absolute: true,
|
||||
}),
|
||||
).then((arr) => arr.filter((x) => !x.includes("node_modules") && !x.includes("dist")))
|
||||
).then((arr) =>
|
||||
arr.filter(
|
||||
(x) =>
|
||||
!x.includes("node_modules") &&
|
||||
!x.includes("dist") &&
|
||||
path.relative(dir, x) !== path.join("packages", "http-recorder", "package.json"),
|
||||
),
|
||||
)
|
||||
|
||||
async function prepareReleaseFiles() {
|
||||
for (const file of pkgjsons) {
|
||||
|
||||
Reference in New Issue
Block a user