Snapshot release v0.0.0-202508022053

This commit is contained in:
Dax Raad
2025-08-02 16:53:25 -04:00
parent 09c4b71632
commit 1f9e8cc4a5
9 changed files with 18 additions and 17 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@opencode/function",
"version": "0.0.1",
"version": "0.0.0-202508022053",
"$schema": "https://json.schemastore.org/package.json",
"private": true,
"type": "module",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/package.json",
"version": "0.0.0",
"version": "0.0.0-202508022053",
"name": "opencode",
"type": "module",
"private": true,
+1
View File
@@ -0,0 +1 @@
dist
+2 -7
View File
@@ -5,19 +5,14 @@ process.chdir(dir)
import { $ } from "bun"
const version = process.env["OPENCODE_VERSION"]
if (!version) {
throw new Error("OPENCODE_VERSION is required")
}
const snapshot = process.env["OPENCODE_SNAPSHOT"] === "true"
await $`bun tsc`
await $`bun pm version --allow-same-version --no-git-tag-version ${version}`
if (snapshot) {
await $`bun publish --tag snapshot`
await $`bun publish --tag snapshot --access public`
await $`git checkout package.json`
}
if (!snapshot) {
await $`bun publish`
await $`bun publish --access public`
}
+1 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/sdk",
"version": "0.0.0",
"version": "0.0.0-202508022053",
"type": "module",
"scripts": {
"typecheck": "tsc --noEmit"
+7 -2
View File
@@ -6,7 +6,12 @@
"module": "preserve",
"declaration": true,
"moduleResolution": "bundler",
"lib": ["dom.iterable"]
"lib": [
"dom",
"dom.iterable"
]
},
"include": ["src"]
"include": [
"src"
]
}
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@opencode/web",
"type": "module",
"version": "0.0.1",
"version": "0.0.0-202508022053",
"scripts": {
"dev": "astro dev",
"dev:remote": "sst shell --stage=dev --target=Web astro dev",
+3 -3
View File
@@ -14,12 +14,12 @@ 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}"`)
let pkg = await Bun.file(file).text()
pkg = pkg.replaceAll(/"version": "[^"]+"/g, `"version": "${version}"`)
await Bun.file(file).write(pkg)
}
await import(`../packages/opencode/script/publish.ts`)
// 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`)
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "opencode",
"displayName": "opencode",
"description": "opencode for VS Code",
"version": "0.0.0",
"version": "0.0.0-202508022053",
"publisher": "sst-dev",
"repository": {
"type": "git",