diff --git a/package.json b/package.json index 10783b2..c55886f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@inkreach/inkreach-teable", - "version": "0.1.6", + "version": "0.1.7", "description": "CLI (command: inkreach-teable) for operating inkreach-teable: tables, fields, records, views, and the self-built automation engine (8 triggers + 7 actions).", "license": "MIT", "type": "commonjs", @@ -26,7 +26,8 @@ "typecheck": "tsc -p tsconfig.json --noEmit", "test": "vitest run", "clean": "rimraf dist tsconfig.build.tsbuildinfo", - "prepare": "npm run build" + "prepare": "npm run build", + "prepublishOnly": "npm run build && npm test && bash scripts/smoke-commands.sh" }, "dependencies": { "commander": "^12.1.0" diff --git a/scripts/smoke-commands.sh b/scripts/smoke-commands.sh index 7f0bc64..7b83f6b 100755 --- a/scripts/smoke-commands.sh +++ b/scripts/smoke-commands.sh @@ -40,7 +40,10 @@ smoke() { # smoke