Remove macOS and Apple container references

- Remove Containerfile and .containerignore (Apple container specific)
- Update package.json to remove Apple container scripts
- Replace macOS-specific build scripts with Docker-focused versions
- Update README to prioritize Docker over Apple container
- Update DEVELOPMENT.md to remove macOS-first approach
- Update demo script to remove Apple container references
- Update workflow to remove Containerfile path triggers
- Simplify project to be Docker-first for cross-platform compatibility
This commit is contained in:
2026-01-18 13:44:09 +01:00
parent a891d736ef
commit 393c798080
10 changed files with 42 additions and 216 deletions

42
demo.sh
View File

@@ -1,19 +1,11 @@
#!/bin/bash
# JMESPath Testing Tool - Demo Script
# Optimized for macOS with Apple container command
echo "🍎 JMESPath Testing Tool Demo"
echo "🚀 JMESPath Testing Tool Demo"
echo "==============================="
echo ""
# Check if running on macOS
if [[ "$OSTYPE" == "darwin"* ]]; then
echo "✅ Running on macOS (recommended platform)"
else
echo "⚠️ Not running on macOS. This demo is optimized for macOS."
fi
# Check if Node.js is installed
if command -v node &> /dev/null; then
echo "✅ Node.js version: $(node --version)"
@@ -30,16 +22,11 @@ else
exit 1
fi
# Check container runtimes
if command -v container &> /dev/null; then
echo "✅ Apple container command available"
# Check Docker
if command -v docker &> /dev/null; then
echo "✅ Docker available"
else
echo "⚠️ Apple container command not found"
if command -v docker &> /dev/null; then
echo "✅ Docker available as fallback"
else
echo "⚠️ No container runtime found"
fi
echo "⚠️ Docker not found"
fi
echo ""
@@ -47,25 +34,22 @@ echo "📦 Installing dependencies..."
npm install
echo ""
echo "🔨 Building with macOS-optimized script..."
npm run build:macos
echo "🔨 Building production version..."
npm run build
echo ""
echo "🎉 Demo completed successfully!"
echo ""
echo "To start development (macOS optimized):"
echo " npm run dev"
echo ""
echo "To start development (traditional):"
echo "To start development:"
echo " npm start"
echo ""
echo "To serve the production build:"
echo " npm run serve"
echo ""
echo "To run with containers:"
if command -v container &> /dev/null; then
echo " npm run container:run # Apple container (recommended)"
fi
echo "To run with Docker:"
if command -v docker &> /dev/null; then
echo " npm run docker:run # Docker (fallback)"
echo " npm run docker:build"
echo " npm run docker:run"
else
echo " (Docker not available - install Docker first)"
fi