From e4b91578e2ce2b01a58f85a9a170e9173c2239fa Mon Sep 17 00:00:00 2001 From: Mattrixwv Date: Sat, 9 Aug 2025 23:14:02 -0400 Subject: [PATCH] Added check for changes that haven't been committed --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 97c7008..aa3fd6f 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "dev": "vite", "build": "eslint . && tsc -b && vite build", "lint": "eslint .", - "deploy": "npm run build && npm pack && npm publish --access public", + "check-git-clean": "git diff --quiet && git diff-cached --quiet", + "deploy": "npm run check-git-clean && npm run build && npm pack && npm publish --access public", "preview": "vite preview", "versionPatch": "npm version patch", "versionMinor": "npm version minor",