From e083aec3f799aaa09223e3b77b13ffeee3091538 Mon Sep 17 00:00:00 2001 From: ryoppippi <1560508+ryoppippi@users.noreply.github.com> Date: Mon, 27 Jan 2025 12:28:37 +0000 Subject: [PATCH] feat(package.json): add prepublishOnly script Added a new "prepublishOnly" script to run tests and type checks before publishing the package. This ensures code quality and prevents issues from being published. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 52be626..e731cbb 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "typecheck": "tsc --noEmit", "test": "bun test", "release": "nr test && nr typecheck && nlx bumpp", + "prepublishOnly": "nr test && nr typecheck", "lint": "eslint --cache .", "format": "nr lint --fix" },