Elffuss BraidHub

kikocis/continue public

chore: format
Changeset231e99760742beef93f061ebbb69c1df04e5031a301583c9884f5d8864ac4072
AuthorNate <sestinj@gmail.com> · 2025-08-22 21:49 -07:00
CommitterNate <sestinj@gmail.com> · 2025-08-22 21:49 -07:00
Parents9f1ca54f3895

Browse the files at this changeset

1 file changed

modified extensions/cli/build.mjs +12 −6
@@ -1,8 +1,8 @@
11 #!/usr/bin/env node
22
33 import * as esbuild from "esbuild";
4-import { writeFileSync, chmodSync } from "fs";
5-import { resolve, dirname } from "path";
4+import { chmodSync, writeFileSync } from "fs";
5+import { dirname, resolve } from "path";
66 import { fileURLToPath } from "url";
77
88 const __dirname = dirname(fileURLToPath(import.meta.url));
@@ -59,9 +59,15 @@
5959 __dirname,
6060 "../../packages/config-types/dist/index.js",
6161 ),
62- "core": resolve(__dirname, "../../core"),
63- "@continuedev/fetch": resolve(__dirname, "../../packages/fetch/dist/index.js"),
64- "@continuedev/llm-info": resolve(__dirname, "../../packages/llm-info/dist/index.js"),
62+ core: resolve(__dirname, "../../core"),
63+ "@continuedev/fetch": resolve(
64+ __dirname,
65+ "../../packages/fetch/dist/index.js",
66+ ),
67+ "@continuedev/llm-info": resolve(
68+ __dirname,
69+ "../../packages/llm-info/dist/index.js",
70+ ),
6571 },
6672
6773 // Add banner to create require for CommonJS packages
@@ -76,7 +82,7 @@
7682
7783 // Create wrapper script with shebang
7884 writeFileSync("dist/cn.js", "#!/usr/bin/env node\nimport('./index.js');");
79-
85+
8086 // Make the wrapper script executable
8187 chmodSync("dist/cn.js", 0o755);
8288