diff --git a/packages/nexus/package.json b/packages/nexus/package.json index 93456e1..3b3129d 100644 --- a/packages/nexus/package.json +++ b/packages/nexus/package.json @@ -13,6 +13,7 @@ "scripts": { "dev": "echo 'Add dev script here'", "build": "tsup", + "prepublish": "pnpm run build", "typecheck": "tsc", "lint": "eslint src/", "lint:fix": "pnpm run lint --fix", diff --git a/scripts/publish.sh b/scripts/publish.sh index e53e9c3..03e6047 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -4,7 +4,7 @@ set -eo pipefail set -x ./scripts/docs.sh --autocommit -pnpm publish -r --no-git-checks +pnpm publish -r pnpm changeset tag # We need to write to /dev/null because this script