Fix scope

This commit is contained in:
Matt Kane
2026-04-01 10:58:32 +01:00
parent 482a442f60
commit 2e863566b3
264 changed files with 578 additions and 578 deletions

View File

@@ -1,6 +1,6 @@
import cloudflare from "@astrojs/cloudflare";
import react from "@astrojs/react";
import { playgroundDatabase } from "@emdashcms/cloudflare";
import { playgroundDatabase } from "@emdash-cms/cloudflare";
import { defineConfig } from "astro/config";
import emdash from "emdash/astro";
@@ -20,7 +20,7 @@ export default defineConfig({
// Playground mode: injects playground middleware before runtime init,
// skips setup/auth (handled by playground middleware)
playground: {
middlewareEntrypoint: "@emdashcms/cloudflare/db/playground-middleware",
middlewareEntrypoint: "@emdash-cms/cloudflare/db/playground-middleware",
},
}),
],

View File

@@ -1,5 +1,5 @@
{
"name": "@emdashcms/playground",
"name": "@emdash-cms/playground",
"version": "0.0.1",
"private": true,
"type": "module",
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/cloudflare": "catalog:",
"@astrojs/react": "catalog:",
"@emdashcms/cloudflare": "workspace:*",
"@emdash-cms/cloudflare": "workspace:*",
"astro": "catalog:",
"emdash": "workspace:*",
"react": "catalog:",

View File

@@ -9,6 +9,6 @@
import handler from "@astrojs/cloudflare/entrypoints/server";
// Export the DO class so Cloudflare can instantiate it
export { EmDashPreviewDB } from "@emdashcms/cloudflare/db/playground";
export { EmDashPreviewDB } from "@emdash-cms/cloudflare/db/playground";
export default handler;