From 0a2ab2d3e1dd21edad811f41ed73ce3be8db53e9 Mon Sep 17 00:00:00 2001 From: Mark Larah Date: Sun, 19 Nov 2023 11:31:46 -0600 Subject: [PATCH] v3.0.6 --- package.json | 4 ++-- strip-postinstall.sh | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index cb871ce..8b4ab38 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "extract-schema-coordinates", - "version": "3.0.5", + "version": "3.0.6", "description": "extract schema coordinates from GraphQL documents", "type": "module", "exports": { @@ -17,7 +17,7 @@ "build": "npx tsup-node src/extract-schema-coordinates.ts --dts --format esm,cjs --out-dir lib", "typecheck": "npx tsup-node src/extract-schema-coordinates.ts --dts-only", "postinstall": "npx husky install", - "prepare": "./strip-postinstall", + "prepare": "./strip-postinstall.sh", "test": "NODE_OPTIONS=--experimental-vm-modules jest" }, "devDependencies": { diff --git a/strip-postinstall.sh b/strip-postinstall.sh index a471120..335be5e 100755 --- a/strip-postinstall.sh +++ b/strip-postinstall.sh @@ -3,4 +3,5 @@ set -euo pipefail # prevent our postinstall hook from infecting applications jq 'del(.scripts.postinstall)' package.json > package.json.tmp -mv package.json.tmp package.json \ No newline at end of file +mv package.json.tmp package.json +rm package.json.tmp \ No newline at end of file