← Public packages
@kentcdodds/pie-night
Pie night sign-ups: hosts start an event, guests add the pies they are bringing and watch the list fill in live. Installable, with optional push notifications.
Files
/**
* Owner-only, one-time move from the single-event version of Pie Night into a
* named event. Only useful for installs that ran the old single-event app;
* forks start empty and skip this.
*
* import migrate from 'kody:@you/pie-night/migrate'
* export default () => migrate({ code: 'Our Pie Night 2026', creator: 'your-kody-username', place: 'At our house' })
*/
import { migrateLegacy } from './store.ts'
export default async function migrate(params: { code: string; creator: string; place?: string; title?: string; theme?: string }) {
return migrateLegacy(params)
}