summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2025-11-17 23:22:38 -0800
committerGitHub <[email protected]>2025-11-18 01:22:38 -0600
commite49204bd334c0a1d0c84ce8ba85dbfdb99fa33af (patch)
tree3382f31d434c55fb4f3f84191ad40bf5e0e8a35b
parent856c87d05c911c81a9b418052ff9bec86ed72ca0 (diff)
downloadopencode-e49204bd334c0a1d0c84ce8ba85dbfdb99fa33af.tar.gz
opencode-e49204bd334c0a1d0c84ce8ba85dbfdb99fa33af.zip
ignore: fix snapshot (#4444)
Co-authored-by: opencode <[email protected]>
-rw-r--r--.github/workflows/snapshot.yml2
-rw-r--r--bun.lock2
-rw-r--r--nix/hashes.json2
-rwxr-xr-xpackages/opencode/script/build.ts6
4 files changed, 4 insertions, 8 deletions
diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml
index 6c38495d1..815433f03 100644
--- a/.github/workflows/snapshot.yml
+++ b/.github/workflows/snapshot.yml
@@ -4,7 +4,7 @@ on:
push:
branches:
- dev
- - fix-build
+ - fix-snapshot-2
- v0
concurrency: ${{ github.workflow }}-${{ github.ref }}
diff --git a/bun.lock b/bun.lock
index 2a60e664e..ee8947fa0 100644
--- a/bun.lock
+++ b/bun.lock
@@ -1,6 +1,6 @@
{
"lockfileVersion": 1,
- "configVersion": 0,
+ "configVersion": 1,
"workspaces": {
"": {
"name": "opencode",
diff --git a/nix/hashes.json b/nix/hashes.json
index b66407b4f..00a097d7f 100644
--- a/nix/hashes.json
+++ b/nix/hashes.json
@@ -1,3 +1,3 @@
{
- "nodeModules": "sha256-srbGIRjvpqUF+jWq4GAx7sGAasq02dRySnxTjijJJT8="
+ "nodeModules": "sha256-lAU5G92UJ998pKOd0EAt9gUa/HUXXvu6xAUdH2STmDo="
}
diff --git a/packages/opencode/script/build.ts b/packages/opencode/script/build.ts
index 3edd14b17..502baed02 100755
--- a/packages/opencode/script/build.ts
+++ b/packages/opencode/script/build.ts
@@ -1,5 +1,6 @@
#!/usr/bin/env bun
+import solidPlugin from "../node_modules/@opentui/solid/scripts/solid-plugin"
import path from "path"
import fs from "fs"
import { $ } from "bun"
@@ -9,11 +10,6 @@ const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
const dir = path.resolve(__dirname, "..")
-// Resolve @opentui/solid package path more robustly using import.meta.resolve
-const solidPackagePath = path.dirname(fileURLToPath(import.meta.resolve("@opentui/solid")))
-const solidPluginPath = path.join(solidPackagePath, "scripts/solid-plugin.ts")
-const solidPlugin = (await import(solidPluginPath)).default
-
process.chdir(dir)
import pkg from "../package.json"