@wisemen/payload-core-seeder
v0.1.5
Published
PayloadCMS seeding with locales
Readme
@wisemen-core/payload-core-seeder
Type-safe database seeding for Payload CMS — write seed data in seed.ts files, reference other docs with typed tokens instead of raw ids, attach upload files inline, and the plugin orders dependencies and creates everything.
pnpm add @wisemen-core/payload-core-seederRequires Payload ^3 and React 19. No framework requirement — zero next/ imports, no next peer; runs in any Payload app.
Localized fields accept a map of the configured locale codes. The runner writes the matching value in each locale, including nested fields:
{
title: {
en: 'About us',
nl: 'Over ons',
},
}