Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
This commit is contained in:
old4ever committed 2026-04-19 19:12:13 -04:00
1 parent cfcdc7eea2
commit 25291b2ba4
6 files changed
+27 -6

No files matched your search

Executable
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
bun build src/index.ts --outdir dist --target bun --format esm --external @ast-grep/napi
tsc --emitDeclarationOnly
Executable
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
rm -rf dist
+5 -6
View File
@@ -18,12 +18,11 @@
} }
}, },
"scripts": { "scripts": {
"build": "bun build src/index.ts --outdir dist --target bun --format esm --external @ast-grep/napi && tsc --emitDeclarationOnly", "bundle": "./build.sh",
"clean": "rm -rf dist", "clean": "./clean.sh",
"prepare": "bun run build", "prepublishOnly": "./prepublish.sh",
"prepublishOnly": "bun run clean && bun run build", "typecheck": "./typecheck.sh",
"typecheck": "tsc --noEmit", "test": "./test.sh"
"test": "bun test"
}, },
"keywords": [ "keywords": [
"opencode", "opencode",
Executable
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
./clean.sh
./build.sh
Executable
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
bun test
Executable
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
tsc --noEmit