refactor(sdk): remove local legacy package
This commit is contained in:
parent
28f4284bd7
commit
80865407e0
74 changed files with 46983 additions and 87229 deletions
|
|
@ -2,9 +2,7 @@
|
|||
|
||||
import { $ } from "bun"
|
||||
|
||||
await $`bun ./packages/sdk/js/script/build.ts`
|
||||
|
||||
await $`bun dev generate > ../sdk/openapi.json`.cwd("packages/opencode")
|
||||
await $`bun run generate`.cwd("packages/protocol")
|
||||
|
||||
await $`bun run generate`.cwd("packages/www")
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ async function prepareReleaseFiles() {
|
|||
}
|
||||
|
||||
await $`bun install`
|
||||
await $`./packages/sdk/js/script/build.ts`
|
||||
}
|
||||
|
||||
if (Script.release && !Script.preview) {
|
||||
|
|
@ -54,9 +53,6 @@ await $`bun ./packages/client/script/publish.ts`
|
|||
console.log("\n=== cli ===\n")
|
||||
await $`bun ./packages/cli/script/publish.ts`
|
||||
|
||||
console.log("\n=== sdk ===\n")
|
||||
await $`bun ./packages/sdk/js/script/publish.ts`
|
||||
|
||||
console.log("\n=== plugin ===\n")
|
||||
await $`bun ./packages/plugin/script/publish.ts`
|
||||
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ async function commits(from: string, to: string) {
|
|||
}
|
||||
|
||||
const log =
|
||||
await $`git log ${base}..${head} --format=%H -- packages/opencode packages/sdk packages/plugin packages/desktop packages/app sdks/vscode packages/extensions github`.text()
|
||||
await $`git log ${base}..${head} --format=%H -- packages/opencode packages/plugin packages/desktop packages/app sdks/vscode packages/extensions github`.text()
|
||||
|
||||
const list: Commit[] = []
|
||||
for (const hash of log.split("\n").filter(Boolean)) {
|
||||
|
|
@ -136,7 +136,7 @@ async function commits(from: string, to: string) {
|
|||
else if (file.startsWith("packages/opencode/")) areas.add("core")
|
||||
else if (file.startsWith("packages/desktop/src-tauri/")) areas.add("tauri")
|
||||
else if (file.startsWith("packages/desktop/") || file.startsWith("packages/app/")) areas.add("app")
|
||||
else if (file.startsWith("packages/sdk/") || file.startsWith("packages/plugin/")) areas.add("sdk")
|
||||
else if (file.startsWith("packages/plugin/")) areas.add("sdk")
|
||||
else if (file.startsWith("sdks/vscode/") || file.startsWith("github/")) areas.add("extensions/vscode")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue