Skip to content

Commit 53329df

Browse files
committed
Format
1 parent 7801910 commit 53329df

File tree

9 files changed

+18
-38
lines changed

9 files changed

+18
-38
lines changed

demos/cloudflare/wrangler.jsonc

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
"compatibility_date": "2026-01-14",
66
// disable_nodejs_process_v2 needed until unenv fix lands in Pages
77
// See: https://github.com/withastro/astro/issues/14511
8-
"compatibility_flags": [
9-
"nodejs_compat",
10-
"disable_nodejs_process_v2"
11-
],
8+
"compatibility_flags": ["nodejs_compat", "disable_nodejs_process_v2"],
129
// Static assets served from dist/
1310
"routes": [
1411
{
@@ -41,4 +38,4 @@
4138
"binding": "LOADER",
4239
},
4340
],
44-
}
41+
}

demos/playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dev": "astro dev",
88
"build": "astro build",
99
"preview": "astro preview",
10-
"deploy": "astro build && wrangler deploy",
10+
"deploy": "wrangler deploy",
1111
"typecheck": "astro check"
1212
},
1313
"dependencies": {

demos/playground/wrangler.jsonc

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"$schema": "node_modules/wrangler/config-schema.json",
33
"name": "emdash-playground",
44
"compatibility_date": "2026-02-24",
5-
"compatibility_flags": [
6-
"nodejs_compat"
7-
],
5+
"compatibility_flags": ["nodejs_compat"],
86
// Custom entrypoint that exports EmDashPreviewDB
97
"main": "./src/worker.ts",
108
"durable_objects": {
@@ -18,9 +16,7 @@
1816
"migrations": [
1917
{
2018
"tag": "v1",
21-
"new_sqlite_classes": [
22-
"EmDashPreviewDB"
23-
],
19+
"new_sqlite_classes": ["EmDashPreviewDB"],
2420
},
2521
],
2622
"observability": {
@@ -35,4 +31,4 @@
3531
],
3632
// No R2 -- media uploads are blocked in playground mode
3733
// No D1 -- database is inside the Durable Object
38-
}
34+
}

demos/preview/wrangler.jsonc

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44
// Custom entrypoint that exports EmDashPreviewDB
55
"main": "./src/worker.ts",
66
"compatibility_date": "2026-01-14",
7-
"compatibility_flags": [
8-
"nodejs_compat",
9-
"disable_nodejs_process_v2"
10-
],
7+
"compatibility_flags": ["nodejs_compat", "disable_nodejs_process_v2"],
118
// Durable Object for preview databases
129
"durable_objects": {
1310
"bindings": [
@@ -21,12 +18,10 @@
2118
"migrations": [
2219
{
2320
"tag": "v1",
24-
"new_sqlite_classes": [
25-
"EmDashPreviewDB"
26-
],
21+
"new_sqlite_classes": ["EmDashPreviewDB"],
2722
},
2823
],
2924
"observability": {
3025
"enabled": true,
3126
},
32-
}
27+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "emdash-blocks",
33
"compatibility_date": "2026-02-25",
4-
}
4+
}

templates/blog-cloudflare/wrangler.jsonc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"$schema": "node_modules/wrangler/config-schema.json",
33
"name": "my-emdash-site",
44
"compatibility_date": "2026-02-24",
5-
"compatibility_flags": [
6-
"nodejs_compat"
7-
],
5+
"compatibility_flags": ["nodejs_compat"],
86
"d1_databases": [
97
{
108
"binding": "DB",
@@ -19,4 +17,4 @@
1917
"bucket_name": "my-emdash-media",
2018
},
2119
],
22-
}
20+
}

templates/marketing-cloudflare/wrangler.jsonc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"$schema": "node_modules/wrangler/config-schema.json",
33
"name": "my-marketing-site",
44
"compatibility_date": "2026-02-24",
5-
"compatibility_flags": [
6-
"nodejs_compat"
7-
],
5+
"compatibility_flags": ["nodejs_compat"],
86
"d1_databases": [
97
{
108
"binding": "DB",
@@ -19,4 +17,4 @@
1917
"bucket_name": "my-marketing-media",
2018
},
2119
],
22-
}
20+
}

templates/portfolio-cloudflare/wrangler.jsonc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"$schema": "node_modules/wrangler/config-schema.json",
33
"name": "my-portfolio-site",
44
"compatibility_date": "2026-02-24",
5-
"compatibility_flags": [
6-
"nodejs_compat"
7-
],
5+
"compatibility_flags": ["nodejs_compat"],
86
"d1_databases": [
97
{
108
"binding": "DB",
@@ -19,4 +17,4 @@
1917
"bucket_name": "my-portfolio-media",
2018
},
2119
],
22-
}
20+
}

templates/starter-cloudflare/wrangler.jsonc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"$schema": "node_modules/wrangler/config-schema.json",
33
"name": "my-emdash-site",
44
"compatibility_date": "2026-02-24",
5-
"compatibility_flags": [
6-
"nodejs_compat"
7-
],
5+
"compatibility_flags": ["nodejs_compat"],
86
"d1_databases": [
97
{
108
"binding": "DB",
@@ -19,4 +17,4 @@
1917
"bucket_name": "my-emdash-media",
2018
},
2119
],
22-
}
20+
}

0 commit comments

Comments
 (0)