Format
This commit is contained in:
@@ -5,10 +5,7 @@
|
||||
"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"
|
||||
],
|
||||
"compatibility_flags": ["nodejs_compat", "disable_nodejs_process_v2"],
|
||||
// Static assets served from dist/
|
||||
"routes": [
|
||||
{
|
||||
@@ -41,4 +38,4 @@
|
||||
"binding": "LOADER",
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"dev": "astro dev",
|
||||
"build": "astro build",
|
||||
"preview": "astro preview",
|
||||
"deploy": "astro build && wrangler deploy",
|
||||
"deploy": "wrangler deploy",
|
||||
"typecheck": "astro check"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -2,9 +2,7 @@
|
||||
"$schema": "node_modules/wrangler/config-schema.json",
|
||||
"name": "emdash-playground",
|
||||
"compatibility_date": "2026-02-24",
|
||||
"compatibility_flags": [
|
||||
"nodejs_compat"
|
||||
],
|
||||
"compatibility_flags": ["nodejs_compat"],
|
||||
// Custom entrypoint that exports EmDashPreviewDB
|
||||
"main": "./src/worker.ts",
|
||||
"durable_objects": {
|
||||
@@ -18,9 +16,7 @@
|
||||
"migrations": [
|
||||
{
|
||||
"tag": "v1",
|
||||
"new_sqlite_classes": [
|
||||
"EmDashPreviewDB"
|
||||
],
|
||||
"new_sqlite_classes": ["EmDashPreviewDB"],
|
||||
},
|
||||
],
|
||||
"observability": {
|
||||
@@ -35,4 +31,4 @@
|
||||
],
|
||||
// No R2 -- media uploads are blocked in playground mode
|
||||
// No D1 -- database is inside the Durable Object
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,10 +4,7 @@
|
||||
// Custom entrypoint that exports EmDashPreviewDB
|
||||
"main": "./src/worker.ts",
|
||||
"compatibility_date": "2026-01-14",
|
||||
"compatibility_flags": [
|
||||
"nodejs_compat",
|
||||
"disable_nodejs_process_v2"
|
||||
],
|
||||
"compatibility_flags": ["nodejs_compat", "disable_nodejs_process_v2"],
|
||||
// Durable Object for preview databases
|
||||
"durable_objects": {
|
||||
"bindings": [
|
||||
@@ -21,12 +18,10 @@
|
||||
"migrations": [
|
||||
{
|
||||
"tag": "v1",
|
||||
"new_sqlite_classes": [
|
||||
"EmDashPreviewDB"
|
||||
],
|
||||
"new_sqlite_classes": ["EmDashPreviewDB"],
|
||||
},
|
||||
],
|
||||
"observability": {
|
||||
"enabled": true,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"name": "emdash-blocks",
|
||||
"compatibility_date": "2026-02-25",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,9 +2,7 @@
|
||||
"$schema": "node_modules/wrangler/config-schema.json",
|
||||
"name": "my-emdash-site",
|
||||
"compatibility_date": "2026-02-24",
|
||||
"compatibility_flags": [
|
||||
"nodejs_compat"
|
||||
],
|
||||
"compatibility_flags": ["nodejs_compat"],
|
||||
"d1_databases": [
|
||||
{
|
||||
"binding": "DB",
|
||||
@@ -19,4 +17,4 @@
|
||||
"bucket_name": "my-emdash-media",
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,9 +2,7 @@
|
||||
"$schema": "node_modules/wrangler/config-schema.json",
|
||||
"name": "my-marketing-site",
|
||||
"compatibility_date": "2026-02-24",
|
||||
"compatibility_flags": [
|
||||
"nodejs_compat"
|
||||
],
|
||||
"compatibility_flags": ["nodejs_compat"],
|
||||
"d1_databases": [
|
||||
{
|
||||
"binding": "DB",
|
||||
@@ -19,4 +17,4 @@
|
||||
"bucket_name": "my-marketing-media",
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,9 +2,7 @@
|
||||
"$schema": "node_modules/wrangler/config-schema.json",
|
||||
"name": "my-portfolio-site",
|
||||
"compatibility_date": "2026-02-24",
|
||||
"compatibility_flags": [
|
||||
"nodejs_compat"
|
||||
],
|
||||
"compatibility_flags": ["nodejs_compat"],
|
||||
"d1_databases": [
|
||||
{
|
||||
"binding": "DB",
|
||||
@@ -19,4 +17,4 @@
|
||||
"bucket_name": "my-portfolio-media",
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,9 +2,7 @@
|
||||
"$schema": "node_modules/wrangler/config-schema.json",
|
||||
"name": "my-emdash-site",
|
||||
"compatibility_date": "2026-02-24",
|
||||
"compatibility_flags": [
|
||||
"nodejs_compat"
|
||||
],
|
||||
"compatibility_flags": ["nodejs_compat"],
|
||||
"d1_databases": [
|
||||
{
|
||||
"binding": "DB",
|
||||
@@ -19,4 +17,4 @@
|
||||
"bucket_name": "my-emdash-media",
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user