From bb626cb1783e0138480c697f730582d2dd1b8510 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Wed, 18 Jun 2025 11:37:12 -0700 Subject: [PATCH] fix(pre-commit): add formatted sql files --- .husky/pre-commit | 1 + package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index ee7d44c..658a7c4 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -24,6 +24,7 @@ if [ $? -ne 0 ]; then exit 1 else echo "${COLOR_GREEN}✅ SQL formatted successfully.${COLOR_RESET}" + git ls-files -m '*.sql' | xargs -r git add fi echo "${COLOR_GREEN}🎉 All pre-commit checks passed. Committing!${COLOR_RESET}" diff --git a/package-lock.json b/package-lock.json index 28e0359..0dfc77f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "10.7.4", + "version": "10.7.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "10.7.4", + "version": "10.7.5", "license": "MIT", "dependencies": { "minisearch": "^7.1.2", diff --git a/package.json b/package.json index 96cfb96..5d71018 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "10.7.4", + "version": "10.7.5", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "engines": {