From 2eaadcd1c63c744461f85c6ba0a5ba9c027f5e6f Mon Sep 17 00:00:00 2001 From: linonetwo Date: Wed, 30 Oct 2024 14:57:57 +0800 Subject: [PATCH] Update npm-publish.sh --- bin/npm-publish.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/npm-publish.sh b/bin/npm-publish.sh index c37de5c24..e23517316 100755 --- a/bin/npm-publish.sh +++ b/bin/npm-publish.sh @@ -4,4 +4,8 @@ ./bin/clean.sh +# Build typings +npm i typescript +npx tsc + npm publish || exit 1