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,47 @@
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "emdash-demo",
"main": "./src/worker.ts",
"compatibility_date": "2026-01-14",
// disable_nodejs_process_v2 needed until unenv fix lands in Pages
// See: https://github.com/withastro/astro/issues/14511
"compatibility_flags": [
"nodejs_compat",
"disable_nodejs_process_v2"
],
// Static assets served from dist/
"assets": {
"directory": "./dist",
},
"routes": [
{
"pattern": "demo.emdashcms.com",
"zone_name": "demo.emdashcms.com",
"custom_domain": true,
},
],
// D1 Database binding
"d1_databases": [
{
"binding": "DB",
"database_name": "emdash_db"
},
],
// R2 bucket for media storage
"r2_buckets": [
{
"binding": "MEDIA",
"bucket_name": "emdash-media",
},
],
// Observability
"observability": {
"enabled": true,
},
// Worker Loader for plugin sandboxing
"worker_loaders": [
{
"binding": "LOADER",
},
],
}