Update Core Modules

Pull the latest changes from gon-core into your project. Core modules include Auth, Users, Content, Deployment, Frontend, and 25+ other shared modules.

1. Check for updates

gon update --dry-run

Shows both core and business module updates without applying them. Core changes are listed with A (added), M (modified), D (deleted) markers.

2. Apply updates

gon update

Checks gon-core for new commits, shows a diff summary, and asks for confirmation before applying. After confirming, files are synced and gon.lock is updated with the new core commit SHA.

What gets updated

  • Core modulessrc/{Module}/ for all core modules
  • Shared configconfig/, routes/, database/
  • Shared resourcesresources/lang/, resources/views/
  • Root filescomposer.json, package.json, vite.config.mts, etc.

What is NOT touched

  • config/modules-available.php — generated by gon install
  • .env — project-specific environment
  • resources/themes/ — managed by theme repos
  • vendor/, node_modules/, storage/ — runtime directories
  • public/build/, bootstrap/cache/ — build artifacts

After updating

Run composer install and yarn install if composer.json or package.json changed. Then restart your dev environment:

gon down && gon up