first commit

This commit is contained in:
Matt Kane
2026-04-01 10:44:22 +01:00
commit 43fcb9a131
1789 changed files with 395041 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "emdash-playground",
"compatibility_date": "2026-02-24",
"compatibility_flags": [
"nodejs_compat"
],
// Custom entrypoint that exports EmDashPreviewDB
"main": "./src/worker.ts",
"assets": {
"directory": "./dist",
},
"durable_objects": {
"bindings": [
{
"name": "PLAYGROUND_DB",
"class_name": "EmDashPreviewDB",
},
],
},
"migrations": [
{
"tag": "v1",
"new_sqlite_classes": [
"EmDashPreviewDB"
],
},
],
"observability": {
"enabled": true,
},
"routes": [
{
"pattern": "emdashcms.com",
"zone_name": "emdashcms.com",
"custom_domain": true,
},
],
// No R2 -- media uploads are blocked in playground mode
// No D1 -- database is inside the Durable Object
}