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

@@ -4,7 +4,7 @@ This demo showcases EmDash's plugin system with plugins that demonstrate the hoo
## Plugins Included
### 1. Audit Log Plugin (`@emdashcms/plugin-audit-log`)
### 1. Audit Log Plugin (`@emdash-cms/plugin-audit-log`)
Tracks all content changes for compliance.
@@ -18,7 +18,7 @@ Tracks all content changes for compliance.
- Before/after state comparison
- Admin history page
### 2. Webhook Notifier Plugin (`@emdashcms/plugin-webhook-notifier`)
### 2. Webhook Notifier Plugin (`@emdash-cms/plugin-webhook-notifier`)
Posts JSON payloads to external webhook URLs on content/media events.
@@ -29,7 +29,7 @@ Posts JSON payloads to external webhook URLs on content/media events.
- SSRF protection
- Delivery tracking
### 3. Embeds Plugin (`@emdashcms/plugin-embeds`)
### 3. Embeds Plugin (`@emdash-cms/plugin-embeds`)
Provides Portable Text block types for embedding external content.
@@ -38,7 +38,7 @@ Provides Portable Text block types for embedding external content.
- Link previews (Open Graph)
- GitHub Gist embeds
### 4. API Test Plugin (`@emdashcms/plugin-api-test`)
### 4. API Test Plugin (`@emdash-cms/plugin-api-test`)
Exercises all v2 plugin APIs for testing.

View File

@@ -1,9 +1,9 @@
import node from "@astrojs/node";
import react from "@astrojs/react";
import { apiTestPlugin } from "@emdashcms/plugin-api-test";
import { auditLogPlugin } from "@emdashcms/plugin-audit-log";
import { embedsPlugin } from "@emdashcms/plugin-embeds";
import { webhookNotifierPlugin } from "@emdashcms/plugin-webhook-notifier";
import { apiTestPlugin } from "@emdash-cms/plugin-api-test";
import { auditLogPlugin } from "@emdash-cms/plugin-audit-log";
import { embedsPlugin } from "@emdash-cms/plugin-embeds";
import { webhookNotifierPlugin } from "@emdash-cms/plugin-webhook-notifier";
import { defineConfig } from "astro/config";
import emdash from "emdash/astro";
import { sqlite } from "emdash/db";

View File

@@ -14,10 +14,10 @@
"dependencies": {
"@astrojs/node": "catalog:",
"@astrojs/react": "catalog:",
"@emdashcms/plugin-audit-log": "workspace:*",
"@emdashcms/plugin-api-test": "workspace:*",
"@emdashcms/plugin-webhook-notifier": "workspace:*",
"@emdashcms/plugin-embeds": "workspace:*",
"@emdash-cms/plugin-audit-log": "workspace:*",
"@emdash-cms/plugin-api-test": "workspace:*",
"@emdash-cms/plugin-webhook-notifier": "workspace:*",
"@emdash-cms/plugin-embeds": "workspace:*",
"@tanstack/react-query": "catalog:",
"@tanstack/react-router": "catalog:",
"astro": "catalog:",

View File

@@ -7,7 +7,7 @@
*/
import { getEmDashEntry } from "emdash";
import { PortableText } from "emdash/ui";
import { embedComponents } from "@emdashcms/plugin-embeds/astro";
import { embedComponents } from "@emdash-cms/plugin-embeds/astro";
const { slug } = Astro.params;

View File

@@ -5,7 +5,7 @@
* This page renders hardcoded Portable Text with embed blocks.
*/
import { PortableText } from "emdash/ui";
import { embedComponents } from "@emdashcms/plugin-embeds/astro";
import { embedComponents } from "@emdash-cms/plugin-embeds/astro";
// Sample Portable Text content with various embed types
const testContent = [