commit 6cdd472fa4d2928a53ebad8eaa1ea785cef85557
parent f9d945b2e4a42f3cd7b9e83c963ca878e1276968
Author: Henry Unite <unitehenry@gmail.com>
Date: Thu, 26 Feb 2026 07:25:48 +0000
chore: scripts
Diffstat:
6 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -1,2 +1,3 @@
package.json
package-lock.json
+node_modules
diff --git a/app.ts b/app.ts
@@ -0,0 +1,9 @@
+function logMessage(message: string) {
+ console.log(message);
+}
+
+function main() {
+ logMessage(42);
+}
+
+main();
diff --git a/scripts/clean.sh b/scripts/clean.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+rm -rf node_modules
+rm package.json
+rm package-lock.json
diff --git a/scripts/format.sh b/scripts/format.sh
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+npx prettier --write *.ts
diff --git a/scripts/install.sh b/scripts/install.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+npm install express
+npm install @opencode-ai/sdk
diff --git a/scripts/typecheck.sh b/scripts/typecheck.sh
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+npx tsc --noEmit *.ts