mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 01:34:22 +01:00
ci: tweaks
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"packageManager": "bun@1.2.21",
|
"packageManager": "bun@1.2.21",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "bun run --conditions=development packages/opencode/src/index.ts",
|
"dev": "bun run packages/opencode/src/index.ts",
|
||||||
"typecheck": "bun turbo typecheck",
|
"typecheck": "bun turbo typecheck",
|
||||||
"prepare": "husky"
|
"prepare": "husky"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
"typecheck": "tsc --noEmit",
|
"typecheck": "tsc --noEmit",
|
||||||
"test": "bun test",
|
"test": "bun test",
|
||||||
"build": "./script/build.ts",
|
"build": "./script/build.ts",
|
||||||
"dev": "bun run --conditions=development ./src/index.ts"
|
"dev": "bun run ./src/index.ts"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"opencode": "./bin/opencode"
|
"opencode": "./bin/opencode"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ console.log("=== Generating Stainless SDK ===")
|
|||||||
console.log(process.cwd())
|
console.log(process.cwd())
|
||||||
|
|
||||||
await $`rm -rf go`
|
await $`rm -rf go`
|
||||||
await $`bun run --conditions=development ../../opencode/src/index.ts generate > openapi.json`
|
await $`bun run ../../opencode/src/index.ts generate > openapi.json`
|
||||||
await $`stl builds create --branch main --pull --allow-empty --+target go`
|
await $`stl builds create --branch main --pull --allow-empty --+target go`
|
||||||
|
|
||||||
await $`rm -rf ../go`
|
await $`rm -rf ../go`
|
||||||
|
|||||||
Reference in New Issue
Block a user