Skip to content

Latest commit

 

History

1,123 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


codeware sthlm logo

cdwr

The Codeware Sthlm platform monorepo — a multi-tenant Payload CMS in production, and the Nx tooling that builds and ships it.

@cdwr/nx-payload npm   MIT

Three things live here, at different levels of maturity:

  • The platform — a multi-tenant CMS built on Payload v3 and Next.js, serving tenant sites and their admin from one app. Custom domains with automated certificate issuance, per-tenant content scoping, forms, bookings and a themed admin.
  • @cdwr/nx-payload and create-nx-payload — published Nx plugins that add Payload support to any Nx workspace. Developed here, against the platform that actually uses them.
  • The delivery pipeline — release-driven deploys to Fly.io, where an app ships when its conventional commits produce a version bump. Per-pull-request preview environments, and the internal GitHub Actions that drive them.

Contents

Packages

Nx Plugins

Add support for Payload in your existing Nx workspace.

npx add @cdwr/nx-payload

Quickly create a new Nx workspace with a Payload application, using the plugin as a preset.

npx create-nx-payload

GitHub Actions

A set of internal actions drives this repository's own delivery pipeline — gating, image build, deploy, preview teardown, PR status and automatic Nx migrations. They are consumed locally via uses: ./packages/<name> and are not published to npm or the GitHub Marketplace; a GitHub Action is not installable from npm.

Node Libraries

Fly CLI node wrapper for programmatic deployments to Fly.io.

Development

Local setup, the CMS host/tenant modes, database and seed commands, dev email and the admin import-map rule are documented in CLAUDE.md, which is kept current as the workspace changes. It is the single source for how to run things here — this file deliberately does not repeat it.

Interactive CLIs for managing deployments and workspace configuration:

pnpm cdwr

Releases

Releases are cut from a developer's machine; GitHub Actions publishes to npm on the resulting tags.

nx release-cli

Deployment

Applications deploy to Fly.io from GitHub Actions, for both single-tenant and multi-tenant setups. The pipeline detects affected applications with Nx, resolves the target environment, and deploys production on merge or an isolated preview environment per pull request.

About

Multi-tenant CMS platform on Payload and Next.js, with the Nx tooling that builds and ships it

Topics

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages