From d715fabeb570641f85d1af653808555b2d3eaee0 Mon Sep 17 00:00:00 2001 From: Brent Schroeter Date: Tue, 3 Feb 2026 05:21:37 +0000 Subject: [PATCH] force lint, test, and build before publishing --- mise.toml | 4 +++- package.json | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mise.toml b/mise.toml index 14da141..28f76cd 100644 --- a/mise.toml +++ b/mise.toml @@ -11,5 +11,7 @@ npx rollup -c """ [tasks.test] -depends = ["lint"] run = "npx jest" + +[tasks.prepublish] +depends = ["lint", "test", "build"] diff --git a/package.json b/package.json index ac5c36b..593c0be 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "types": "dist/index.d.ts", "scripts": { "build": "mise run build", + "prepublishOnly": "mise run prepublish", "test": "mise run test" }, "devDependencies": {