Deploying and Updating Astro
Cloudflare
Section titled “Cloudflare”When your Astro site is deployed on Cloudflare in the same account as the CMS API, you may need the Wrangler compatibility flag global_fetch_strictly_public. The installer detects this but does not edit your Wrangler config.
The site and the CMS deploy independently and can live in separate repositories.
Update the integration
Section titled “Update the integration”From the Astro project root:
npx @kenresoft-cms/create astro --updateThis updates the managed files, the @kenresoft-cms/astro package and the integration metadata. It does not touch your pages, layouts, components, styles or CMS.
@kenresoft-cms/astro is a 0.x package, and ^0.3.0 does not cross into 0.4.0, so the updater checks the npm registry for the newest release compatible with your Astro version. To update the package by hand: pnpm add @kenresoft-cms/astro@latest.
Conflicts
Section titled “Conflicts”If you edited a managed file, the updater reports it and does not overwrite it:
Conflicts: - src/lib/kenresoft.tsThe command exits with code 2. Merge the changes yourself, or replace the file deliberately after reviewing:
npx @kenresoft-cms/create astro --update --force