ci: tweaks

This commit is contained in:
Dax Raad
2025-09-27 04:12:55 -04:00
parent 925ce6503e
commit ea66c02633
3 changed files with 3 additions and 3 deletions

View File

@@ -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"
}, },

View File

@@ -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"

View File

@@ -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`