From b4643a83e7474c2e664a75cba4879cc30860bca0 Mon Sep 17 00:00:00 2001 From: Alexander Zinn Date: Thu, 28 Aug 2025 17:06:12 -0400 Subject: [PATCH] Add pre-publish script --- scripts/pre-publish.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 scripts/pre-publish.sh diff --git a/scripts/pre-publish.sh b/scripts/pre-publish.sh new file mode 100755 index 0000000..0a52925 --- /dev/null +++ b/scripts/pre-publish.sh @@ -0,0 +1,13 @@ +#! /usr/bin/env bash + +set -o errexit +set -o nounset +set -o pipefail + +echo "Preparing package.json for distributions" +bash scripts/prepare-package-json.sh + +echo "Copying .npmrc to dist/" +cp .npmrc dist/ + +echo "Pre-publish done" \ No newline at end of file