Snapshot release v0.0.0-202508022246
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@opencode/function",
|
"name": "@opencode/function",
|
||||||
"version": "0.0.0-202508022053",
|
"version": "0.0.0-202508022229",
|
||||||
"$schema": "https://json.schemastore.org/package.json",
|
"$schema": "https://json.schemastore.org/package.json",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://json.schemastore.org/package.json",
|
"$schema": "https://json.schemastore.org/package.json",
|
||||||
"version": "0.0.0-202508022053",
|
"version": "0.0.0-202508022229",
|
||||||
"name": "opencode",
|
"name": "opencode",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://json.schemastore.org/package.json",
|
"$schema": "https://json.schemastore.org/package.json",
|
||||||
"name": "@opencode-ai/sdk",
|
"name": "@opencode-ai/sdk",
|
||||||
"version": "0.0.0-202508022053",
|
"version": "0.0.0-202508022229",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"typecheck": "tsc --noEmit"
|
"typecheck": "tsc --noEmit"
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
"declaration": true,
|
"declaration": true,
|
||||||
"moduleResolution": "bundler",
|
"moduleResolution": "bundler",
|
||||||
"lib": [
|
"lib": [
|
||||||
|
"es2022",
|
||||||
"dom",
|
"dom",
|
||||||
"dom.iterable"
|
"dom.iterable"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@opencode/web",
|
"name": "@opencode/web",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.0.0-202508022053",
|
"version": "0.0.0-202508022229",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"dev:remote": "sst shell --stage=dev --target=Web astro dev",
|
"dev:remote": "sst shell --stage=dev --target=Web astro dev",
|
||||||
|
|||||||
+14
-2
@@ -11,6 +11,13 @@ if (!version) {
|
|||||||
}
|
}
|
||||||
process.env["OPENCODE_VERSION"] = version
|
process.env["OPENCODE_VERSION"] = version
|
||||||
|
|
||||||
|
const pkgjsons = await Array.fromAsync(
|
||||||
|
new Bun.Glob("**/package.json").scan({
|
||||||
|
absolute: true,
|
||||||
|
}),
|
||||||
|
)
|
||||||
|
|
||||||
|
const tree = await $`git add . && git write-tree`.text().then((x) => x.trim())
|
||||||
for await (const file of new Bun.Glob("**/package.json").scan({
|
for await (const file of new Bun.Glob("**/package.json").scan({
|
||||||
absolute: true,
|
absolute: true,
|
||||||
})) {
|
})) {
|
||||||
@@ -27,11 +34,16 @@ await import(`../packages/plugin/script/publish.ts`)
|
|||||||
if (!snapshot) {
|
if (!snapshot) {
|
||||||
await $`git commit -am "release: v${version}"`
|
await $`git commit -am "release: v${version}"`
|
||||||
await $`git tag v${version}`
|
await $`git tag v${version}`
|
||||||
await $`git push origin HEAD --tags`
|
await $`git push origin HEAD --tags --no-verify`
|
||||||
}
|
}
|
||||||
if (snapshot) {
|
if (snapshot) {
|
||||||
await $`git commit --allow-empty -m "Snapshot release v${version}"`
|
await $`git commit --allow-empty -m "Snapshot release v${version}"`
|
||||||
await $`git tag v${version}`
|
await $`git tag v${version}`
|
||||||
await $`git push origin v${version}`
|
await $`git push origin v${version} --no-verify`
|
||||||
await $`git reset --soft HEAD~1`
|
await $`git reset --soft HEAD~1`
|
||||||
|
for await (const file of new Bun.Glob("**/package.json").scan({
|
||||||
|
absolute: true,
|
||||||
|
})) {
|
||||||
|
$`await git checkout ${tree} ${file}`
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "opencode",
|
"name": "opencode",
|
||||||
"displayName": "opencode",
|
"displayName": "opencode",
|
||||||
"description": "opencode for VS Code",
|
"description": "opencode for VS Code",
|
||||||
"version": "0.0.0-202508022053",
|
"version": "0.0.0-202508022229",
|
||||||
"publisher": "sst-dev",
|
"publisher": "sst-dev",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user