mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-29 13:09:46 +00:00
ignore: fix snapshot (#4444)
Co-authored-by: opencode <opencode@sst.dev>
This commit is contained in:
parent
856c87d05c
commit
e49204bd33
4 changed files with 4 additions and 8 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue