A Payload site, ready to clone

Placeholder: concentric circles in violet

The example theme, block and plugin packages, published

What changed

A project’s own themes, blocks and collections are packages of their own. The references to copy used to live in payload-apex’s packages folder, unpublished, so reading one meant having the monorepo at hand. Now each is a package of its own, named by the new naming rule: @omitsis/apex-theme-example (the Harbour design system, formerly apex-theme-harbour, with its plugin now called apexThemeExamplePlugin), @omitsis/apex-block-example (a promotion block with its styles, strings and picker drawings) and @omitsis/apex-plugin-example (an events collection with its pages, listing and feed). A project installs one to see it on a site, or copies it as a starting point.

Tests that don’t depend on them

template-site’s tests used to run those packages through its checks. They now run small fixtures that travel with template-site (tests/fixtures), so a new version of an example on the registry can never change what the template’s tests check. The generators’ help and the docs point at the published examples.

Where to see it

Nothing changes on the site or in the admin: this is for whoever builds a project. The README sections on themes, block packages and project plugins, the front-end style guide and the new client project guide name the packages; pnpm make:block --help, make:theme --help and make:collection --help say which one to read. A project that used @omitsis/apex-theme-harbour moves to the new name.

A complete example to read
pnpm make:block --help   # names @omitsis/apex-block-example
pnpm make:theme --help   # names @omitsis/apex-theme-example