Format
This commit is contained in:
@@ -5,10 +5,7 @@
|
|||||||
"compatibility_date": "2026-01-14",
|
"compatibility_date": "2026-01-14",
|
||||||
// disable_nodejs_process_v2 needed until unenv fix lands in Pages
|
// disable_nodejs_process_v2 needed until unenv fix lands in Pages
|
||||||
// See: https://github.com/withastro/astro/issues/14511
|
// See: https://github.com/withastro/astro/issues/14511
|
||||||
"compatibility_flags": [
|
"compatibility_flags": ["nodejs_compat", "disable_nodejs_process_v2"],
|
||||||
"nodejs_compat",
|
|
||||||
"disable_nodejs_process_v2"
|
|
||||||
],
|
|
||||||
// Static assets served from dist/
|
// Static assets served from dist/
|
||||||
"routes": [
|
"routes": [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"build": "astro build",
|
"build": "astro build",
|
||||||
"preview": "astro preview",
|
"preview": "astro preview",
|
||||||
"deploy": "astro build && wrangler deploy",
|
"deploy": "wrangler deploy",
|
||||||
"typecheck": "astro check"
|
"typecheck": "astro check"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -2,9 +2,7 @@
|
|||||||
"$schema": "node_modules/wrangler/config-schema.json",
|
"$schema": "node_modules/wrangler/config-schema.json",
|
||||||
"name": "emdash-playground",
|
"name": "emdash-playground",
|
||||||
"compatibility_date": "2026-02-24",
|
"compatibility_date": "2026-02-24",
|
||||||
"compatibility_flags": [
|
"compatibility_flags": ["nodejs_compat"],
|
||||||
"nodejs_compat"
|
|
||||||
],
|
|
||||||
// Custom entrypoint that exports EmDashPreviewDB
|
// Custom entrypoint that exports EmDashPreviewDB
|
||||||
"main": "./src/worker.ts",
|
"main": "./src/worker.ts",
|
||||||
"durable_objects": {
|
"durable_objects": {
|
||||||
@@ -18,9 +16,7 @@
|
|||||||
"migrations": [
|
"migrations": [
|
||||||
{
|
{
|
||||||
"tag": "v1",
|
"tag": "v1",
|
||||||
"new_sqlite_classes": [
|
"new_sqlite_classes": ["EmDashPreviewDB"],
|
||||||
"EmDashPreviewDB"
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"observability": {
|
"observability": {
|
||||||
|
|||||||
@@ -4,10 +4,7 @@
|
|||||||
// Custom entrypoint that exports EmDashPreviewDB
|
// Custom entrypoint that exports EmDashPreviewDB
|
||||||
"main": "./src/worker.ts",
|
"main": "./src/worker.ts",
|
||||||
"compatibility_date": "2026-01-14",
|
"compatibility_date": "2026-01-14",
|
||||||
"compatibility_flags": [
|
"compatibility_flags": ["nodejs_compat", "disable_nodejs_process_v2"],
|
||||||
"nodejs_compat",
|
|
||||||
"disable_nodejs_process_v2"
|
|
||||||
],
|
|
||||||
// Durable Object for preview databases
|
// Durable Object for preview databases
|
||||||
"durable_objects": {
|
"durable_objects": {
|
||||||
"bindings": [
|
"bindings": [
|
||||||
@@ -21,9 +18,7 @@
|
|||||||
"migrations": [
|
"migrations": [
|
||||||
{
|
{
|
||||||
"tag": "v1",
|
"tag": "v1",
|
||||||
"new_sqlite_classes": [
|
"new_sqlite_classes": ["EmDashPreviewDB"],
|
||||||
"EmDashPreviewDB"
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"observability": {
|
"observability": {
|
||||||
|
|||||||
@@ -2,9 +2,7 @@
|
|||||||
"$schema": "node_modules/wrangler/config-schema.json",
|
"$schema": "node_modules/wrangler/config-schema.json",
|
||||||
"name": "my-emdash-site",
|
"name": "my-emdash-site",
|
||||||
"compatibility_date": "2026-02-24",
|
"compatibility_date": "2026-02-24",
|
||||||
"compatibility_flags": [
|
"compatibility_flags": ["nodejs_compat"],
|
||||||
"nodejs_compat"
|
|
||||||
],
|
|
||||||
"d1_databases": [
|
"d1_databases": [
|
||||||
{
|
{
|
||||||
"binding": "DB",
|
"binding": "DB",
|
||||||
|
|||||||
@@ -2,9 +2,7 @@
|
|||||||
"$schema": "node_modules/wrangler/config-schema.json",
|
"$schema": "node_modules/wrangler/config-schema.json",
|
||||||
"name": "my-marketing-site",
|
"name": "my-marketing-site",
|
||||||
"compatibility_date": "2026-02-24",
|
"compatibility_date": "2026-02-24",
|
||||||
"compatibility_flags": [
|
"compatibility_flags": ["nodejs_compat"],
|
||||||
"nodejs_compat"
|
|
||||||
],
|
|
||||||
"d1_databases": [
|
"d1_databases": [
|
||||||
{
|
{
|
||||||
"binding": "DB",
|
"binding": "DB",
|
||||||
|
|||||||
@@ -2,9 +2,7 @@
|
|||||||
"$schema": "node_modules/wrangler/config-schema.json",
|
"$schema": "node_modules/wrangler/config-schema.json",
|
||||||
"name": "my-portfolio-site",
|
"name": "my-portfolio-site",
|
||||||
"compatibility_date": "2026-02-24",
|
"compatibility_date": "2026-02-24",
|
||||||
"compatibility_flags": [
|
"compatibility_flags": ["nodejs_compat"],
|
||||||
"nodejs_compat"
|
|
||||||
],
|
|
||||||
"d1_databases": [
|
"d1_databases": [
|
||||||
{
|
{
|
||||||
"binding": "DB",
|
"binding": "DB",
|
||||||
|
|||||||
@@ -2,9 +2,7 @@
|
|||||||
"$schema": "node_modules/wrangler/config-schema.json",
|
"$schema": "node_modules/wrangler/config-schema.json",
|
||||||
"name": "my-emdash-site",
|
"name": "my-emdash-site",
|
||||||
"compatibility_date": "2026-02-24",
|
"compatibility_date": "2026-02-24",
|
||||||
"compatibility_flags": [
|
"compatibility_flags": ["nodejs_compat"],
|
||||||
"nodejs_compat"
|
|
||||||
],
|
|
||||||
"d1_databases": [
|
"d1_databases": [
|
||||||
{
|
{
|
||||||
"binding": "DB",
|
"binding": "DB",
|
||||||
|
|||||||
Reference in New Issue
Block a user