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
View File
@@ -54,3 +54,4 @@ Temporary Items
# Make favicon generation script executable # Make favicon generation script executable
chmod +x ./scripts/generateFavicons.js chmod +x ./scripts/generateFavicons.js
chmod +x ./scripts/scanLogos.js
+7 -1
View File
@@ -6,7 +6,7 @@ CONTAINER_NAME = logo-gallery
DEV_PORT = 5006 DEV_PORT = 5006
# Main targets # 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 all: build start
@@ -69,3 +69,9 @@ favicon:
# Build with favicons # Build with favicons
build-with-favicons: favicon build 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"
+1035 -1
View File
File diff suppressed because it is too large Load Diff