Update Keystatic version and refactor version updater

This commit updates the Keystatic version to 0.5.23 and changes the interval for version refetching. The environment variable used for the refetch interval has been modified to NEXT_PUBLIC_VERSION_UPDATER_REFETCH_INTERVAL_SECONDS. Additionally, the code for checking for new version has been refactored and a visual change has been implemented to include a RocketIcon in the dialog header.
This commit is contained in:
gbuomprisco
2024-06-24 12:38:21 +08:00
parent a3e5f928c4
commit 6ea75bf10a
4 changed files with 62 additions and 62 deletions

View File

@@ -15,7 +15,7 @@
"./route-handler": "./src/keystatic-route-handler.ts"
},
"dependencies": {
"@keystatic/core": "0.5.22",
"@keystatic/core": "0.5.23",
"@keystatic/next": "^5.0.1",
"@markdoc/markdoc": "^0.4.0"
},