Events 3.8.0, @crosscode/demo 1.1.0: STOP stops all WhatsApp, demo scenarios
Events 3.8.0 (one migration): - STOP to the church's WhatsApp number stops all WhatsApp, not only news: checked before every sendText/sendPdf against WhatsAppStop (by number) and User.whatsappOptedOut (from Accounts' user.updated); 2FA codes go by email - a STOP received here is passed on to Accounts (whatsapp.optout); START turns it back on without Accounts; Accounts turning it back on clears it here - the eight demo scenarios as set-demo profiles, around each church's own people (@crosscode/demo, same accounts as Accounts) and campuses; the scenario's people are never removed from Accounts @crosscode/demo 1.1.0: each person's gender. crosscode script: scenarios as Events demo profiles; Events builds packages/demo. Checked on PostgreSQL 18: the migration and every scenario loaded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -32,11 +32,12 @@ events_backup() {
|
||||
}
|
||||
|
||||
# The shared packages this checkout's Events uses (from 2.4.0: contracts and seo; from 3.0.0:
|
||||
# auth-client, built after contracts, which it uses), built before it.
|
||||
# auth-client, built after contracts, which it uses; from 3.8.0: demo, the demo scenarios), built
|
||||
# before it.
|
||||
# Only the ones in the checkout, so going back to an older tag still installs and builds.
|
||||
events_shared_packages() {
|
||||
local p
|
||||
for p in packages/contracts packages/auth-client packages/seo; do
|
||||
for p in packages/contracts packages/auth-client packages/seo packages/demo; do
|
||||
if [ -f "$1/$p/package.json" ] && grep -q "\"@crosscode/${p#packages/}\"" "$1/apps/events/backend/package.json" "$1/apps/events/frontend/package.json" 2>/dev/null; then
|
||||
printf '%s\n' "$p"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user