A Payload site, ready to clone

Placeholder: concentric circles in violet

Packages with names that say what they are

What changed

A package’s name now says what it is and how a project uses it: theme, block, collection, util (a library that is only imported) or plugin (registered in Payload). Three packages template-site installs took their new names: @omitsis/apex-rsc-blocks, the blocks every site has (hero, prose, image with text, call to action, form, code, video, columns), is @omitsis/apex-block-base; @omitsis/apex-cookie-consent is @omitsis/apex-plugin-cookie-consent; @omitsis/apex-rate-limit is @omitsis/apex-util-rate-limit. Blocks, styles, tokens, stored content and the admin look exactly as before.

For projects

A project’s own code (its block package, its project/ templates) may import @omitsis/apex-rsc-blocks. It keeps working: the last version under that name is a deprecated package that re-exports the new one, and template-site still installs it. Moving the imports to the new name is one search and replace, given in the release’s Upgrade notes; the generators already write the new name. The admin translations keep their apexRscBlocks key, so override files need nothing.

Where to see it

Nothing changes on the site or in the admin: every page with blocks, such as this demo’s Block styles page, looks the same. The Plugins page in the admin lists @omitsis/apex-block-base among the block packages, and the README’s “Blocks from apex-block-base” section tells the story.

In a derived project, from its root
grep -rl --exclude-dir=node_modules --exclude=pnpm-lock.yaml '@omitsis/apex-rsc-blocks' blocks theme html/project \
  | xargs -r sed -i 's#@omitsis/apex-rsc-blocks#@omitsis/apex-block-base#g'