diff --git a/.gitignore b/.gitignore index 0199b2f..6b01e23 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules vendor mix-manifest.json +.DS_Store diff --git a/composer.json b/composer.json index 626a7be..325600f 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ ] } }, - "version": "1.0.7", + "version": "1.0.8", "require": { "php": "^8.1", "statamic/cms": "^4.0" diff --git a/src/Commands/OrbitSync.php b/src/Commands/OrbitSync.php index 2ee99c0..1918a1c 100644 --- a/src/Commands/OrbitSync.php +++ b/src/Commands/OrbitSync.php @@ -93,7 +93,16 @@ public function handle() 'latest_version' => $addon->latestVersion() && $addon->version() !== $addon->latestVersion() ? $addon->latestVersion() : null, - ])->sortBy('name')->values()->toArray(), + ])->sortBy('name') + ->prepend([ + 'name' => 'Statamic', + 'package' => 'statamic/cms', + 'version' => Statamic::version(), + 'latest_version' => Marketplace::statamic()->changelog()->availableUpdatesCount() > 0 + ? Marketplace::statamic()->changelog()->latest()->version + : null, + ]) + ->values()->toArray(), ]; try {