From 4359719f9a2329b4ff0f862eb3191ec9efe616b5 Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Tue, 18 Nov 2025 00:49:17 -0600 Subject: [PATCH] ignore: format --- .github/workflows/update-nix-hashes.yml | 12 ++++++------ nix/scripts/bun-build.ts | 6 ++---- nix/scripts/canonicalize-node-modules.ts | 10 ++++++---- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/update-nix-hashes.yml b/.github/workflows/update-nix-hashes.yml index fe388697..21e07543 100644 --- a/.github/workflows/update-nix-hashes.yml +++ b/.github/workflows/update-nix-hashes.yml @@ -7,14 +7,14 @@ on: workflow_dispatch: push: paths: - - 'bun.lock' - - 'package.json' - - 'packages/*/package.json' + - "bun.lock" + - "package.json" + - "packages/*/package.json" pull_request: paths: - - 'bun.lock' - - 'package.json' - - 'packages/*/package.json' + - "bun.lock" + - "package.json" + - "packages/*/package.json" jobs: update: diff --git a/nix/scripts/bun-build.ts b/nix/scripts/bun-build.ts index 1c61a07d..a2270816 100644 --- a/nix/scripts/bun-build.ts +++ b/nix/scripts/bun-build.ts @@ -4,9 +4,7 @@ import fs from "fs" const version = "@VERSION@" const pkg = path.join(process.cwd(), "packages/opencode") -const parser = fs.realpathSync( - path.join(pkg, "./node_modules/@opentui/core/parser.worker.js"), -) +const parser = fs.realpathSync(path.join(pkg, "./node_modules/@opentui/core/parser.worker.js")) const worker = "./src/cli/cmd/tui/worker.ts" const target = process.env["BUN_COMPILE_TARGET"] @@ -62,7 +60,7 @@ const result = await Bun.build({ compile: { target, outfile: "opencode", - execArgv: ["--user-agent=opencode/" + version, "--env-file=\"\"", "--"], + execArgv: ["--user-agent=opencode/" + version, '--env-file=""', "--"], windows: {}, }, }) diff --git a/nix/scripts/canonicalize-node-modules.ts b/nix/scripts/canonicalize-node-modules.ts index 791d96df..bb004f3c 100644 --- a/nix/scripts/canonicalize-node-modules.ts +++ b/nix/scripts/canonicalize-node-modules.ts @@ -35,9 +35,11 @@ for (const entry of directories) { versions.set(slug, list) } -const semverModule = (await import(join(bunRoot, "node_modules/semver"))) as SemverLike | { - default: SemverLike -} +const semverModule = (await import(join(bunRoot, "node_modules/semver"))) as + | SemverLike + | { + default: SemverLike + } const semver = "default" in semverModule ? semverModule.default : semverModule const selections = new Map() @@ -91,4 +93,4 @@ for (const line of rewrites.slice(0, 20)) { } if (rewrites.length > 20) { console.log(" ...") -} \ No newline at end of file +}