1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2026-03-27 06:20:08 +01:00

♻️ WIP: Updates related to Valet version change

- Centralized logic related to fetching Valet version.
- Updating global dependencies now updates the version number of Valet
  in the driver section.
- The latest version of Valet is now determined by checking Packagist.
  (This only occurs when the app starts up.)
This commit is contained in:
2025-08-27 11:23:18 +02:00
parent 88b2495c87
commit 4e7c8ac624
5 changed files with 60 additions and 14 deletions

View File

@@ -10,7 +10,7 @@ import Testing
@Suite("Integration")
struct PackagistTest {
@Test func packagistRetrieval() async {
@Test func canRetrieveLaravelValetVersion() async {
let packageToCheck = "laravel/valet"
let latestVersion = try? await Packagist.getLatestStableVersion(packageName: packageToCheck)