Refactor code structure for improved readability and maintainability
Some checks failed
Code Analysis and Production Deploy / analyze (push) Has been skipped
Code Analysis and Production Deploy / deploy-production (push) Has been skipped
Code Analysis and Production Deploy / deploy-test (push) Successful in 2m1s
Code Analysis and Production Deploy / analyze (pull_request) Failing after 2m51s
Code Analysis and Production Deploy / deploy-production (pull_request) Has been skipped
Code Analysis and Production Deploy / deploy-test (pull_request) Has been skipped
Require Package Version Change / check (pull_request) Failing after 10s

This commit is contained in:
Torsten Schulz (local)
2026-05-20 10:52:28 +02:00
parent 0849c625cb
commit 4e918870f5
7 changed files with 7 additions and 9767 deletions

2
.gitignore vendored
View File

@@ -143,6 +143,8 @@ Thumbs.db
# Temporary files
*.tmp
*.temp
temp/webpage-downloads/data/
temp/webpage-downloads/*.html
# Security tooling artifacts (CI downloads)
gitleaks

View File

@@ -1,6 +1,6 @@
{
"name": "harheimertc-website",
"version": "1.4.0",
"version": "1.4.1",
"description": "Moderne Webseite für den Harheimer Tischtennis Club",
"private": true,
"type": "module",

View File

@@ -7,7 +7,7 @@ import {
validateImportedSpielplan
} from '../server/utils/spielplan-data.js'
const DEFAULT_INPUT = 'temp/webpage-downloads/data/harheimer_tc_spielplan.json'
const DEFAULT_INPUT = 'server/data/spielplan-import/harheimer_tc_spielplan.json'
const PUBLIC_SEASONS_DIR = 'public/data/spielplaene'
const INTERNAL_SEASONS_DIR = 'server/data/public-data/spielplaene'

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
cd /home/torsten/Programs/harheimertc/temp/webpage-downloads
mkdir -p data
/usr/bin/env node import-spielplan.js >> data/spielplan-import.log 2>&1
cd /home/torsten/Programs/harheimertc
mkdir -p server/data/spielplan-import
/usr/bin/env node scripts/import-spielplan.js >> server/data/spielplan-import/spielplan-import.log 2>&1

File diff suppressed because one or more lines are too long