File tree Expand file tree Collapse file tree 9 files changed +18
-38
lines changed
packages/blocks/playground Expand file tree Collapse file tree 9 files changed +18
-38
lines changed Original file line number Diff line number Diff line change 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 {
4138 "binding" : " LOADER" ,
4239 },
4340 ],
44- }
41+ }
Original file line number Diff line number Diff line change 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" : {
Original file line number Diff line number Diff line change 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" : {
1816 "migrations" : [
1917 {
2018 "tag" : " v1" ,
21- "new_sqlite_classes" : [
22- " EmDashPreviewDB"
23- ],
19+ "new_sqlite_classes" : [" EmDashPreviewDB" ],
2420 },
2521 ],
2622 "observability" : {
3531 ],
3632 // No R2 -- media uploads are blocked in playground mode
3733 // No D1 -- database is inside the Durable Object
38- }
34+ }
Original file line number Diff line number Diff line change 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" : [
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+ }
Original file line number Diff line number Diff line change 11{
22 "name" : " emdash-blocks" ,
33 "compatibility_date" : " 2026-02-25" ,
4- }
4+ }
Original file line number Diff line number Diff line change 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" ,
1917 "bucket_name" : " my-emdash-media" ,
2018 },
2119 ],
22- }
20+ }
Original file line number Diff line number Diff line change 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" ,
1917 "bucket_name" : " my-marketing-media" ,
2018 },
2119 ],
22- }
20+ }
Original file line number Diff line number Diff line change 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" ,
1917 "bucket_name" : " my-portfolio-media" ,
2018 },
2119 ],
22- }
20+ }
Original file line number Diff line number Diff line change 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" ,
1917 "bucket_name" : " my-emdash-media" ,
2018 },
2119 ],
22- }
20+ }
You can’t perform that action at this time.
0 commit comments