A reseed gives every event a new id without listing the old ones in the feed's `deleted`, and consumers only fetched ?updatedSince= after the first sync, so the old copies stayed beside the new ones. - Both: the 15-minute feed poll and "Sync now" fetch the whole list and drop copies that aren't in it; the fetch after event.changed stays incremental. - Events set-demo.js keeps FeedEntry and marks its live entries removed, resets the links' lastGoodAt, then publishes the new feed, sends event.changed and fetches the linked products' events back in. - Website loadDemo lists the old published events in FeedRemoval and sends event.changed after publishing. - Website header: links to the church's other sites read "Events site" with an external-link icon, not a second "Events". Checked: Website backend tests (133), Events backend tests (802), both typechecks, Website frontend build. set-demo.js not run end to end (no local database). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
1.4 KiB
JSON
28 lines
1.4 KiB
JSON
{
|
|
"name": "@crosscode/events",
|
|
"version": "3.7.2",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev:backend": "cd backend && npm run dev",
|
|
"dev:frontend": "cd frontend && npm run dev",
|
|
"start:backend": "cd backend && npm run start",
|
|
"start:frontend": "cd frontend && npm run start",
|
|
"start": "concurrently \"npm run start:backend\" \"npm run start:frontend\"",
|
|
"dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"",
|
|
"test:e2e": "playwright test",
|
|
"demo:list": "npm --prefix backend run set-demo -- --list",
|
|
"demo:small": "npm --prefix backend run set-demo -- --profile=small",
|
|
"demo:events": "npm --prefix backend run set-demo -- --profile=events",
|
|
"demo:ministry": "npm --prefix backend run set-demo -- --profile=ministry",
|
|
"demo:multicampus": "npm --prefix backend run set-demo -- --profile=multicampus",
|
|
"api:types": "npm --prefix backend run openapi && npm --prefix frontend run api:types",
|
|
"build:all": "cd frontend && npm run build && cd .. && cd backend && npm run prisma:generate",
|
|
"test:backend": "npm --prefix backend test"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"description": "Cross Events: scripts for the backend and frontend (workspaces apps/events/backend and apps/events/frontend). Its dev tools (Playwright, concurrently) are in the root package.json.",
|
|
"private": true
|
|
}
|