Fix scope
This commit is contained in:
@@ -9,9 +9,9 @@ import {
|
||||
cloudflareCache,
|
||||
cloudflareImages,
|
||||
cloudflareStream,
|
||||
} from "@emdashcms/cloudflare";
|
||||
import { formsPlugin } from "@emdashcms/plugin-forms";
|
||||
import { webhookNotifierPlugin } from "@emdashcms/plugin-webhook-notifier";
|
||||
} from "@emdash-cms/cloudflare";
|
||||
import { formsPlugin } from "@emdash-cms/plugin-forms";
|
||||
import { webhookNotifierPlugin } from "@emdash-cms/plugin-webhook-notifier";
|
||||
import { defineConfig } from "astro/config";
|
||||
import emdash from "emdash/astro";
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@emdashcms/demo-cloudflare",
|
||||
"name": "@emdash-cms/demo-cloudflare",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"build": "astro build",
|
||||
"build:all": "pnpm run --filter @emdashcms/demo-cloudflare... build",
|
||||
"build:all": "pnpm run --filter @emdash-cms/demo-cloudflare... build",
|
||||
"preview": "astro preview",
|
||||
"deploy": "pnpm build:all && wrangler deploy",
|
||||
"db:create": "wrangler d1 create emdash-demo",
|
||||
@@ -16,9 +16,9 @@
|
||||
"dependencies": {
|
||||
"@astrojs/cloudflare": "catalog:",
|
||||
"@astrojs/react": "catalog:",
|
||||
"@emdashcms/cloudflare": "workspace:*",
|
||||
"@emdashcms/plugin-forms": "workspace:*",
|
||||
"@emdashcms/plugin-webhook-notifier": "workspace:*",
|
||||
"@emdash-cms/cloudflare": "workspace:*",
|
||||
"@emdash-cms/plugin-forms": "workspace:*",
|
||||
"@emdash-cms/plugin-webhook-notifier": "workspace:*",
|
||||
"@tanstack/react-query": "catalog:",
|
||||
"@tanstack/react-router": "catalog:",
|
||||
"astro": "catalog:",
|
||||
|
||||
@@ -10,7 +10,7 @@ import handler from "@astrojs/cloudflare/entrypoints/server";
|
||||
|
||||
// Re-export PluginBridge from the cloudflare sandbox runtime
|
||||
// This makes it available via ctx.exports.PluginBridge
|
||||
export { PluginBridge } from "@emdashcms/cloudflare/sandbox";
|
||||
export { PluginBridge } from "@emdash-cms/cloudflare/sandbox";
|
||||
|
||||
/**
|
||||
* Default export - just re-export the Astro handler
|
||||
|
||||
Reference in New Issue
Block a user