mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 03:26:59 +00:00
Refactor code structure and improve readability in main module
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -54,3 +54,4 @@ Temporary Items
|
||||
|
||||
# Make favicon generation script executable
|
||||
chmod +x ./scripts/generateFavicons.js
|
||||
chmod +x ./scripts/scanLogos.js
|
||||
|
||||
8
Makefile
8
Makefile
@@ -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
1036
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user