Skip to content
NaturaLife Astro Theme

Updates and Recovery

Prepare a backup, update the theme core through RT-Themes CLI, and learn how to recover an interrupted update and verify your customized website.

Save a complete backup or version-control snapshot of your working project. Read the target release’s dependency and migration notes. Stop development servers and tools that write dependencies before applying an update.

NaturaLife Astro core updates are managed through RT-Themes CLI. Customer Astro routes, JSON/MDX content, settings, assets, config and local components are preserved. Customized copies still need your compatibility review.

From your project folder, preview the update:

Terminal window
npx @rtthemes/cli@latest update --dry-run

Approve access in your signed-in Dashboard browser and review the file/dependency plan. To apply an update:

Terminal window
npx @rtthemes/cli@latest update

The shared CLI update guide covers version selection, authorization, validation and apply. The CLI updates the versioned core archive, its dependency/lock metadata, matching kit and installation receipt together. It preserves your edited project source.

Keep the CLI-created .rtthemes/project.json receipt and .rtthemes/kit.json intact. Do not hand-edit their version/hash fields or replace managed core files to bypass an error. If metadata is missing or inconsistent, use offline project checks and resolve the reported problem before updating.

For an interrupted CLI transaction, run:

Terminal window
npx @rtthemes/cli@latest update --recover

Follow the offline recovery procedure. Leave its journal and backups intact when it reports a conflict; do not overwrite later customer edits to force recovery.

After an update, run your project checks and preview the result:

Terminal window
npm run check
npm run build
npm run preview

Review edited pages, local overrides, MDX galleries, navigation and connected services before deploying the new dist/. Passing check/build does not guarantee compatibility of copied code or backend integrations. Normal website build/deploy remains independent of Club.