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": {
"build": "bun build src/index.ts --outdir dist --target bun --format esm --external @ast-grep/napi && tsc --emitDeclarationOnly",
"clean": "rm -rf dist",
"prepare": "bun run build",
"prepublishOnly": "bun run clean && bun run build",
"typecheck": "tsc --noEmit",
"test": "bun test"
"bundle": "./build.sh",
"clean": "./clean.sh",
"prepublishOnly": "./prepublish.sh",
"typecheck": "./typecheck.sh",
"test": "./test.sh"
},
"keywords": [
"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