wip: plugins
This commit is contained in:
parent
c9bffc0f46
commit
09c4b71632
34 changed files with 2765 additions and 2484 deletions
|
|
@ -11,8 +11,17 @@ if (!version) {
|
|||
}
|
||||
process.env["OPENCODE_VERSION"] = version
|
||||
|
||||
for await (const file of new Bun.Glob("**/package.json").scan({
|
||||
absolute: true,
|
||||
})) {
|
||||
const pkg = await Bun.file(file).text()
|
||||
pkg.replaceAll(/"version": "[^"]+"/, `"version": "${version}"`)
|
||||
await Bun.file(file).write(pkg)
|
||||
}
|
||||
|
||||
await import(`../packages/opencode/script/publish.ts`)
|
||||
await import(`../packages/sdk/js/script/publish.ts`)
|
||||
await import(`../packages/plugin/script/publish.ts`)
|
||||
// await import(`../packages/sdk/stainless/generate.ts`)
|
||||
|
||||
if (!snapshot) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue