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-forms",
"name": "@emdash-cms/plugin-forms",
"version": "0.0.1",
"description": "Forms plugin for EmDash CMS - build forms, collect submissions, send notifications",
"type": "module",

View File

@@ -7,7 +7,7 @@
* @example
* ```astro
* ---
* import { Form } from "@emdashcms/plugin-forms/ui";
* import { Form } from "@emdash-cms/plugin-forms/ui";
* ---
*
* <Form id="contact-form" />

View File

@@ -296,6 +296,6 @@ function fieldId(name: string): string {
</form>
<script>
import { initForms } from "@emdashcms/plugin-forms/client";
import { initForms } from "@emdash-cms/plugin-forms/client";
initForms();
</script>

View File

@@ -10,7 +10,7 @@
* @example
* ```typescript
* // live.config.ts
* import { formsPlugin } from "@emdashcms/plugin-forms";
* import { formsPlugin } from "@emdash-cms/plugin-forms";
*
* export default defineConfig({
* plugins: [formsPlugin()],
@@ -67,9 +67,9 @@ export function formsPlugin(
return {
id: "emdash-forms",
version: "0.0.1",
entrypoint: "@emdashcms/plugin-forms",
adminEntry: "@emdashcms/plugin-forms/admin",
componentsEntry: "@emdashcms/plugin-forms/astro",
entrypoint: "@emdash-cms/plugin-forms",
adminEntry: "@emdash-cms/plugin-forms/admin",
componentsEntry: "@emdash-cms/plugin-forms/astro",
options,
capabilities: ["email:send", "write:media", "network:fetch"],
allowedHosts: ["*"],

View File

@@ -4,7 +4,7 @@
* Uses CSS custom properties for theming.
* Import this stylesheet in your site to get basic form styling:
*
* import "@emdashcms/plugin-forms/styles";
* import "@emdash-cms/plugin-forms/styles";
*/
.ec-form {