92265cf27ff72bc029cdf790909bf65ed1d55d90
upsertChurch() handles matched churches (replace schedules atomically via $transaction, update contact fields if null) and new churches (create with source='diocese-hk', lat/lng=0 for later geocoding). main() wires up CLI args, file reading, matching loop, and summary. Guards main() call with ESM import.meta.url check to prevent execution on import during tests. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
Data pipeline for NearestMass — scraping, enrichment, and scheduling
Languages
TypeScript
99.2%
JavaScript
0.5%
CSS
0.1%
Shell
0.1%