feat(http-recorder): prepare independent beta release
This commit is contained in:
parent
f48f24ec4e
commit
81eea42e80
17 changed files with 485 additions and 85 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue