diff --git a/package.json b/package.json index f598f11..d3378d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@moduletrace/bun-sqlite", - "version": "1.0.8", + "version": "1.0.9", "description": "SQLite manager for Bun", "author": "Benjamin Toby", "main": "dist/index.js", diff --git a/publish.sh b/publish.sh index 449b749..c52bbc5 100755 --- a/publish.sh +++ b/publish.sh @@ -1,11 +1,14 @@ #!/bin/bash +set -e + if [ -z "$1" ]; then msg="Updates" else msg="$1" fi +tsc --noEmit rm -rf dist tsc git add . diff --git a/tsconfig.json b/tsconfig.json index e8f4da1..2b0f895 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "lib": ["ESNext"], "target": "ESNext", - "module": "Preserve", + "module": "ESNext", "moduleDetection": "force", "jsx": "react-jsx", "allowJs": true,