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": [
|
||||
{
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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,9 +18,7 @@
|
||||
"migrations": [
|
||||
{
|
||||
"tag": "v1",
|
||||
"new_sqlite_classes": [
|
||||
"EmDashPreviewDB"
|
||||
],
|
||||
"new_sqlite_classes": ["EmDashPreviewDB"],
|
||||
},
|
||||
],
|
||||
"observability": {
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user