From 138001e7c1d4670b221ef6ea2086234e5c3351e5 Mon Sep 17 00:00:00 2001 From: ISA Date: Tue, 17 Jun 2025 15:32:20 +0200 Subject: [PATCH] pre-commit husky --- .env.development | 2 +- .env.production | 2 +- .husky/pre-commit | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.env.development b/.env.development index 12839a7..916fa2b 100644 --- a/.env.development +++ b/.env.development @@ -6,5 +6,5 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false NEXT_PUBLIC_EXPORT_STATIC=false NEXT_PUBLIC_USE_CGI=false # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.408 +NEXT_PUBLIC_APP_VERSION=1.6.409 diff --git a/.env.production b/.env.production index 62e2845..07f7154 100644 --- a/.env.production +++ b/.env.production @@ -5,4 +5,4 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_USE_CGI=true # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.408 \ No newline at end of file +NEXT_PUBLIC_APP_VERSION=1.6.409 \ No newline at end of file diff --git a/.husky/pre-commit b/.husky/pre-commit index 7c908be..ff4510a 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -4,7 +4,7 @@ echo "🔄 Version wird automatisch erhöht (bumpVersion.ts)..." # Version automatisch erhöhen -node /scripts/bumpVersion.ts +npx ts-node scripts/bumpVersion.ts || exit 1 # Automatisch relevante Dateien zum Commit hinzufügen git add package.json package-lock.json .env.development .env.production diff --git a/package-lock.json b/package-lock.json index 7604888..2b6ac85 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.408", + "version": "1.6.409", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.408", + "version": "1.6.409", "dependencies": { "@fontsource/roboto": "^5.1.0", "@iconify-icons/ri": "^1.2.10", diff --git a/package.json b/package.json index 185a556..05c4099 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.408", + "version": "1.6.409", "private": true, "scripts": { "dev": "next dev",