Repository navigation
v1.2.0: NPM Distribution & Security Hardening
🚀 Gr8hopper v1.2.0: Now on NPM!
This major update transforms Gr8hopper from a repository-only tool into a globally distributable package, while significantly hardening security for Docker and VPS deployments.
📦 NPM Package Distribution (New!)
- CLI Support: New binary entry point allows running via
npx gr8hopperornpm install -g. - Lightweight: Optimized package context (approx. 41KB).
- Easy Setup: Running the command automatically initializes a local
routes.json.
🛡️ Security & Container Hardening
- Non-Root Execution: Docker containers run as user
gr8hopper(UID 1001). - Named Volumes: Shifted to named volumes (
gr8hopper-data) for cleaner persistence. - Environment Validation: Fail-early validation for
ADMIN_USERNAME/ADMIN_PASSWORD. - Zero-Exposure Config: Standardized on
.envfiles andEnvironmentFilepatterns.
🛠️ Developer Experience (DX)
- Husky Refinement: Properly chained
lint-stagedandtsc. - Storage Infrastructure: Fully asynchronous
JsonFileAdapter.
🔄 Comparison: v1.1.2 vs v1.2.0
| Feature | v1.1.2 | v1.2.0 |
|---|---|---|
| Installation | Git Clone only | NPM / NPX / Global CLI |
| Docker User | root | gr8hopper (UID 1001) |
| Data Persistence | Bind Mount (./data) |
Named Volumes (Safer) |
| Admin Setup | Default placeholders | Required Env Variable Validation |