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