Fix scope
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -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" }} />
|
||||
* ```
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user