It seems that the payload/payload.config.ts is not correctly setup to work with create-payload-app cli which requires both // database-adapter-config-start and // database-adapter-config-end to work correctly.
Unfortunately, the tests in create-payload-app do not attempt to cover this ‘template’, presumably because it is outside of the payload monorepo. Perhaps, testing npx create-payload-app here would be appropriate.
It seems that the payload/payload.config.ts is not correctly setup to work with create-payload-app cli which requires both
// database-adapter-config-start
and// database-adapter-config-end
to work correctly.https://github.com/payloadcms/public-demo/commit/07d9eb868aed5897da25f08165077cbdd700a936#diff-a761e1902224d7e0a1c9362b0894878afe1b1fbc5b216b88c30c8595f76d8e9b
Unfortunately, the tests in create-payload-app do not attempt to cover this ‘template’, presumably because it is outside of the payload monorepo. Perhaps, testing
npx create-payload-app
here would be appropriate.https://github.com/payloadcms/public-demo/pull/33