Refactor Keystatic configuration and update turbo.json

The keystatic.config.ts has been again refactor with new field validations and a new dedicated function to get collections. The "turbo.json" file is also updated with a new "ui" field. The refactor aims to streamline the collection generation, and the "ui" field in "turbo.json" enhances its configuration capabilities.
This commit is contained in:
gbuomprisco
2024-06-28 00:20:35 +08:00
parent 221f59b668
commit 82dbf0128f
2 changed files with 69 additions and 53 deletions

View File

@@ -3,6 +3,7 @@
"globalDependencies": [
"**/.env"
],
"ui": "stream",
"globalEnv": [
"STRIPE_SECRET_KEY",
"STRIPE_WEBHOOK_SECRET",