From 88f91f420c75e1c1ffaa449edec5fca3cd73416a Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Tue, 9 Sep 2025 00:26:35 +0300 Subject: [PATCH] feat: move verify script to project root - relocate verify/verify.sh to ./verify.sh for easier access - update all documentation and build script references - add npm run verify script for consistency - simplify verification command execution --- Makefile | 2 +- README.md | 2 +- docs/CLI.md | 2 +- docs/INSTALLATION.md | 2 +- package.json | 1 + verify/verify.sh => verify.sh | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) rename verify/verify.sh => verify.sh (97%) diff --git a/Makefile b/Makefile index a444260..5087c3d 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,7 @@ snapshots: verify: @echo "🔬 Verifying installation in container..." - ENGINE=docker ./verify/verify.sh + ENGINE=docker ./verify.sh # CI pipeline ci: lint generate validate test diff --git a/README.md b/README.md index c77de91..89b0e47 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Unofficial hub for Everforest color scheme resources. Generator-first approach f ./install.sh cli # Verify installation - ENGINE=docker ./verify/verify.sh + ENGINE=docker ./verify.sh ## Supported Tools diff --git a/docs/CLI.md b/docs/CLI.md index 46ed427..de24cf6 100644 --- a/docs/CLI.md +++ b/docs/CLI.md @@ -41,7 +41,7 @@ After installation: ## Verification - ENGINE=docker ./verify/verify.sh + ENGINE=docker ./verify.sh Tests all configurations in a clean container environment. diff --git a/docs/INSTALLATION.md b/docs/INSTALLATION.md index 31fe7fe..a69d733 100644 --- a/docs/INSTALLATION.md +++ b/docs/INSTALLATION.md @@ -17,7 +17,7 @@ cp cli/alacritty/everforest-dark-medium.yml ~/.config/alacritty/themes/ ### Verify Installation ```bash # Run verification script in container -ENGINE=docker ./verify/verify.sh +ENGINE=docker ./verify.sh ``` ## Platform-Specific Installation diff --git a/package.json b/package.json index ff00322..fc51dcb 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "demo:open": "npm run demo & sleep 2 && open http://localhost:3000/docs/examples/web-demo.html", "install:themes": "./install.sh", "install:dry": "./install.sh --dry-run", + "verify": "./verify.sh", "build": "npm run generate && npm run validate", "dev": "npm run generate && npm run demo", "prepare": "husky install", diff --git a/verify/verify.sh b/verify.sh similarity index 97% rename from verify/verify.sh rename to verify.sh index 1a8a051..39900d6 100755 --- a/verify/verify.sh +++ b/verify.sh @@ -6,7 +6,7 @@ set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -PROJECT_ROOT="$(dirname "${SCRIPT_DIR}")" +PROJECT_ROOT="${SCRIPT_DIR}" ENGINE="${ENGINE:-docker}" echo "🔍 Verifying Everforest configurations with ${ENGINE}..."