Files
open-gsio/wrangler.toml
geoffsee fe51876e89 Remove commented-out code and update configurations
Deleted unused or commented-out code across multiple files to improve clarity and maintainability. Updated `kv_namespaces` in `wrangler.toml` and specified the package manager in `package.json`. Add placeholder values for development kv stores.
2025-05-23 14:36:35 -04:00

40 lines
1.8 KiB
TOML

main="./workers/site/worker.ts"
name = "geoff-seemueller-io"
compatibility_date = "2025-04-04"
workers_dev = false
dev.port = 3001
dev.ip = "localhost"
observability.enabled = true
compatibility_flags = ["nodejs_compat"]
assets = { directory = "./dist/client", binding = "ASSETS" }
preview_urls = false
# wrangler.toml (wrangler v3.78.6^)
# Dev configuration (local)
durable_objects.bindings = [{name = "SITE_COORDINATOR", class_name = "SiteCoordinator", script_name = "geoff-seemueller-io"}]
migrations = [{tag = "v1", new_classes = ["SiteCoordinator"]}]
kv_namespaces = [{binding = "KV_STORAGE", id = "placeholderId", preview_id = "placeholderIdPreview"}]
services = [{binding = "EMAIL_SERVICE", service = "email-service-rpc"}]
# Dev configuration (remote)
[env.dev]
kv_namespaces = [{binding = "KV_STORAGE", id = "", preview_id = ""}]
durable_objects.bindings = [{name = "SITE_COORDINATOR", class_name = "SiteCoordinator", script_name = "geoff-seemueller-io-dev"}]
migrations = [{tag = "v1", new_classes = ["SiteCoordinator"]}]
services = [{binding = "EMAIL_SERVICE", service = "email-service-rpc"}]
# Staging configuration
[env.staging]
kv_namespaces = [{binding = "KV_STORAGE", id = "", preview_id = ""}]
durable_objects.bindings = [{name = "SITE_COORDINATOR", class_name = "SiteCoordinator", script_name = "geoff-seemueller-io-staging"}]
migrations = [{tag = "v1", new_classes = ["SiteCoordinator"]}]
services = [{binding = "EMAIL_SERVICE", service = "email-service-rpc"}]
# Production configuration
[env.production]
kv_namespaces = [{binding = "KV_STORAGE", id = "", preview_id = ""}]
durable_objects.bindings = [{name = "SITE_COORDINATOR", class_name = "SiteCoordinator", script_name = "geoff-seemueller-io-production"}]
migrations = [{tag = "v1", new_classes = ["SiteCoordinator"]}]
services = [{binding = "EMAIL_SERVICE", service = "email-service-rpc"}]