8 Commits

Author SHA1 Message Date
e22b3c82a2 Fix Docker build version detection
- Skip prebuild step in Docker when VERSION build arg is provided
- Prevent version-check.js from overwriting pre-generated version.js in Docker
- Fix Docker containers showing incorrect '-dev' suffix for release builds
- Use direct react-scripts build when version is pre-generated
2026-01-21 22:06:37 +01:00
d027459678 Enhance version management and Docker build system
- Add Docker build args for proper version detection in containers
- Update build.sh script with smart version detection for Docker builds
- Add --message option to new-version.js for custom commit messages
- Fix Docker builds showing incorrect '-dev' suffix for release builds
- Improve versioning workflow with comprehensive --check analysis
2026-01-21 21:48:45 +01:00
7e78ef65b1 Implement multi-stage Docker build for clean production image
- Build stage: Has scripts/ for version generation, all dependencies
- Production stage: Only production deps, built artifacts, server.js
- Eliminates build scripts and dev dependencies from final image
- Maintains proper version.js generation during build process
2026-01-21 20:06:39 +01:00
601f80ab06 Fix Docker build - add React build step back to Dockerfile
The build/ directory doesn't exist in Docker context, so we need to
build the React app inside the container. This approach:
- Installs all deps, builds app, then removes dev deps
- Works for remote deployments without requiring pre-built artifacts
- Maintains lean final image size
2026-01-21 19:45:47 +01:00
4fe1ece3a3 Restructure project and fix tests
Major changes:
- Move server.js to project root for cleaner architecture
- Remove server tests due to CRA Jest configuration conflicts
- Fix React component tests (clipboard API and user interaction issues)
- Optimize Dockerfile to copy only essential files (server.js, build/)
- Fix upload script to only upload JSON data (no JMESPath expression)
- Improve reload button UI to avoid layout shifts
- Update demo script with accurate commands and Docker support

All 17 React tests now pass. Server structure simplified and consistent.
2026-01-21 19:42:04 +01:00
61408d6362 Fix serve command options in Dockerfile
- Remove unsupported --host flag from serve command
- The serve package with -l option binds to 0.0.0.0 by default in containers
- Container will now start properly without ArgError
2026-01-18 16:13:00 +01:00
ce508d32b5 Fix Dockerfile to properly expose container service
- Install all dependencies with 'npm ci' instead of production-only
- Install 'serve' package globally in container
- Use direct serve command with proper host binding (0.0.0.0)
- Fix container service accessibility for production deployment
2026-01-18 16:06:01 +01:00
c09e545637 Initial commit: JMESPath Testing Tool
- React-based web application for testing JMESPath expressions
- macOS-first containerization with Apple container command
- Bootstrap UI with real-time evaluation
- GitHub Actions CI/CD pipeline
- Docker fallback support
- Comprehensive documentation and development scripts
2026-01-18 13:19:07 +01:00