mirror of
https://github.com/hanzo-apps/cms.git
synced 2026-10-30 14:47:33 +00:00
Complete de-brand of the fork the org owns (unpublished, empty DB — so no external consumers and no data migration). 1308 files. Applied Payload→CMS / payload→cms / PAYLOAD→CMS to: type/identifier names (PayloadRequest→CMSRequest, getPayload→getCMS, BasePayload→BaseCMS, the request property req.payload→req.cms, PayloadComponent→ CMSComponent, usePayloadAPI→useCMSAPI, …); collection/DB slugs (payload-jobs→cms-jobs, payload-kv, payload-migrations, payload-preferences, payload-locked-documents); env vars (PAYLOAD_*→CMS_*); i18n key + values (payloadSettings→cmsSettings, 'Payload Settings'→'CMS Settings' across 44 languages); CSS @layer/classes; comments/docs/UI. PRESERVED (deliberate — renaming breaks resolution or law): - MIT LICENSE + 'Copyright (c) 2018-2025 Payload CMS, Inc.' (legal attribution) - every import/require/export specifier + path literal; on-disk filenames (payload.config.ts, payload-types.ts) + the packages/payload dir; @payload-config alias - package.json "name" fields (already @hanzo/cms*) - URLs (payloadcms.com); Redux action.payload (a different, unrelated field) CONSISTENCY VERIFIED repo-wide: req.payload=0, from 'payload'=0, payloadSettings=0 (all now cms*), Redux action.payload intact, license intact. Individual files transpile clean. NOT YET VERIFIED: full type-compilation — requires a 44-package monorepo build (node_modules absent). Green build is the gate before publish; not claimed here. Co-authored-by: Hanzo Dev <[email protected]>
Create Payload App
CLI for easily starting new Payload project
Usage
USAGE
$ npx @hanzo/create-cms-app
$ npx @hanzo/create-cms-app my-project
$ npx @hanzo/create-cms-app -n my-project -t website
OPTIONS
-n my-payload-app Set project name
-t template_name Choose specific template
Available templates:
blank Blank Template
website Website Template
ecommerce E-commerce Template
plugin Template for creating a Payload plugin
payload-demo Payload demo site at https://demo.payloadcms.com
payload-website Payload website CMS at https://payloadcms.com
--use-npm Use npm to install dependencies
--use-yarn Use yarn to install dependencies
--use-pnpm Use pnpm to install dependencies
--no-deps Do not install any dependencies
-h Show help