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
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:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -143,6 +143,8 @@ Thumbs.db
|
|||||||
# Temporary files
|
# Temporary files
|
||||||
*.tmp
|
*.tmp
|
||||||
*.temp
|
*.temp
|
||||||
|
temp/webpage-downloads/data/
|
||||||
|
temp/webpage-downloads/*.html
|
||||||
|
|
||||||
# Security tooling artifacts (CI downloads)
|
# Security tooling artifacts (CI downloads)
|
||||||
gitleaks
|
gitleaks
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "harheimertc-website",
|
"name": "harheimertc-website",
|
||||||
"version": "1.4.0",
|
"version": "1.4.1",
|
||||||
"description": "Moderne Webseite für den Harheimer Tischtennis Club",
|
"description": "Moderne Webseite für den Harheimer Tischtennis Club",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import {
|
|||||||
validateImportedSpielplan
|
validateImportedSpielplan
|
||||||
} from '../server/utils/spielplan-data.js'
|
} 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 PUBLIC_SEASONS_DIR = 'public/data/spielplaene'
|
||||||
const INTERNAL_SEASONS_DIR = 'server/data/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
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
cd /home/torsten/Programs/harheimertc/temp/webpage-downloads
|
cd /home/torsten/Programs/harheimertc
|
||||||
mkdir -p data
|
mkdir -p server/data/spielplan-import
|
||||||
/usr/bin/env node import-spielplan.js >> data/spielplan-import.log 2>&1
|
/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
Reference in New Issue
Block a user