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,5 +1,5 @@
{
"name": "@emdashcms/plugin-embeds",
"name": "@emdash-cms/plugin-embeds",
"version": "0.0.1",
"description": "Embed blocks for EmDash CMS - YouTube, Vimeo, Twitter, Bluesky, Mastodon, and more",
"type": "module",
@@ -28,7 +28,7 @@
"emdash": "workspace:*"
},
"dependencies": {
"@emdashcms/blocks": "workspace:*",
"@emdash-cms/blocks": "workspace:*",
"astro-embed": "^0.12.0"
},
"scripts": {

View File

@@ -10,7 +10,7 @@
* @example Direct usage (if you need to customize)
* ```astro
* ---
* import { YouTube } from "@emdashcms/plugin-embeds/astro";
* import { YouTube } from "@emdash-cms/plugin-embeds/astro";
* ---
* <YouTube value={{ id: "dQw4w9WgXcQ", _type: "youtube", _key: "1" }} />
* ```

View File

@@ -15,7 +15,7 @@
* @example
* ```typescript
* // live.config.ts
* import { embedsPlugin } from "@emdashcms/plugin-embeds";
* import { embedsPlugin } from "@emdash-cms/plugin-embeds";
*
* export default defineConfig({
* plugins: [embedsPlugin()],
@@ -40,7 +40,7 @@
* ```
*/
import type { Element } from "@emdashcms/blocks";
import type { Element } from "@emdash-cms/blocks";
import type { PluginDescriptor, ResolvedPlugin } from "emdash";
import { definePlugin } from "emdash";
@@ -139,8 +139,8 @@ export function embedsPlugin(
return {
id: "embeds",
version: "0.0.1",
entrypoint: "@emdashcms/plugin-embeds",
componentsEntry: "@emdashcms/plugin-embeds/astro",
entrypoint: "@emdash-cms/plugin-embeds",
componentsEntry: "@emdash-cms/plugin-embeds/astro",
options,
};
}