Refactor code structure and improve readability in main module

This commit is contained in:
sHa
2025-05-12 17:04:08 +03:00
parent fbe239c1fe
commit d9e46d2b0c
3 changed files with 1043 additions and 2 deletions

1
.gitignore vendored
View File

@@ -54,3 +54,4 @@ Temporary Items
# Make favicon generation script executable
chmod +x ./scripts/generateFavicons.js
chmod +x ./scripts/scanLogos.js

View File

@@ -6,7 +6,7 @@ CONTAINER_NAME = logo-gallery
DEV_PORT = 5006
# Main targets
.PHONY: all build start stop restart logs clean scan-logos dev rebuild favicon deps-favicon build-with-favicons
.PHONY: all build start stop restart logs clean scan-logos dev rebuild favicon deps-favicon build-with-favicons sync-packages
all: build start
@@ -69,3 +69,9 @@ favicon:
# Build with favicons
build-with-favicons: favicon build
# Update package-lock.json by running npm install in Docker
update-lock:
@echo "Updating package-lock.json to match package.json..."
$(DOCKER_COMPOSE) -f compose.dev.yml run --rm slogos-dev npm install
@echo "Package lock file has been updated"

1036
package-lock.json generated

File diff suppressed because it is too large Load Diff