#!/bin/bash
OUTPUT_ZIP="../weather-plugin.zip"

echo "📦 Bundling weather plugin..."
zip -r "$OUTPUT_ZIP" . -x "node_modules/*" "package-lock.json" "zip-plugin.sh" "*.log" ".DS_Store"

if [ $? -eq 0 ]; then
  echo "✅ Successfully packaged weather plugin to $OUTPUT_ZIP"
else
  echo "❌ Failed to package weather plugin"
  exit 1
fi
