@vermeulen.solutions/eventual 0.18.3 → 0.18.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,140 +1,140 @@
1
- <p align="center">
2
- <img src="./images/registry/banner-v2.png" alt="Eventual RSVP – Core: events for EmDash CMS" width="100%" />
3
- </p>
4
-
5
- # Eventual RSVP – Core
6
-
7
- <p align="center">
8
- <a href="https://github.com/Vermeulen-Solutions/eventual-rsvp-core/actions/workflows/ci.yml"><img src="https://github.com/Vermeulen-Solutions/eventual-rsvp-core/actions/workflows/ci.yml/badge.svg" alt="CI Status" /></a>
9
- <a href="https://github.com/Vermeulen-Solutions/eventual-rsvp-core/releases"><img src="https://img.shields.io/github/v/release/Vermeulen-Solutions/eventual-rsvp-core?color=176b57&label=GitHub%20download" alt="Latest GitHub source download" /></a>
10
- <a href="https://plugins.emdashcms.com/plugins/@vermeulen.solutions/eventual"><img src="https://img.shields.io/badge/EmDash_Registry-0.18.3-0b4d3d" alt="EmDash Plugin Registry" /></a>
11
- <a href="https://emdashcms.com"><img src="https://img.shields.io/badge/EmDash-1.2.x%20%7C%201.4.x-0b4d3d" alt="EmDash Compatibility" /></a>
12
- <a href="./LICENSE"><img src="https://img.shields.io/badge/License-MIT-d89521" alt="License: MIT" /></a>
13
- <img src="https://img.shields.io/badge/TypeScript-strict-3178c6" alt="TypeScript Strict" />
14
- <img src="https://img.shields.io/badge/Sandbox-1%20host%20(language%20packs)-2ea44f" alt="One outbound host: language packs" />
15
- </p>
16
-
17
- **Website:** [eventual.rsvp](https://eventual.rsvp/): documentation, install guide and support for Eventual RSVP – Core, Registrations and Tickets.
18
-
19
- Plan and publish events in [EmDash CMS](https://emdashcms.com). Write announcements, choose venues and organizers, set repeat schedules, and share events through your website and calendar subscriptions.
20
-
21
- **Current Registry release: 0.15.0.** Events are edited in EmDash's own collections, with rich text, images, drafts and translations. Your site builder connects the feeds to visitor pages; the screenshots below show the optional Astro showcase.
22
-
23
- In 0.14.x, old events stored inside the plugin are shown only when an administrator explicitly enables **Show old events saved inside the plugin**. Native collections remain authoritative. See [what changed](./docs/release-notes-0.14.0.md).
24
-
25
- ---
26
-
27
- ## At a Glance
28
-
29
- - **Announcements and images:** use EmDash's normal editor, save drafts, then publish.
30
- - **Flexible schedules:** one-off, daily, weekly or monthly events, with changes to individual dates.
31
- - **Saved venues and organizers:** choose existing entries instead of retyping them.
32
- - **Languages:** separate announcements per language, with shared published schedules. The admin speaks 21 languages, including Arabic and Hebrew right to left.
33
- - **Calendars:** event downloads and iCalendar subscriptions.
34
- - **Website integration:** JSON feeds, optional Astro helpers and seven example layouts.
35
- - **Sandboxed:** declared permissions; the only outbound host is `cdn.jsdelivr.net`, for the admin's language packs, each checked against a hash built into the release.
36
-
37
- ## Get Started
38
-
39
- 1. An administrator [installs Eventual RSVP and connects the collections](./docs/collection-setup.md).
40
- 2. Editors follow [Managing events](./docs/user-guide.md): save an announcement, open **Dates, venue & repeat**, then publish.
41
- 3. Site builders use the [developer guide](./docs/native-modernization.md) to connect visitor pages.
42
-
43
- For the opt-in HTML cache integration, see [public feed caching](./docs/public-feed-caching.md)
44
- and [release notes](./docs/release-notes-0.15.0.md). Eventual RSVP does not enable site caching.
45
-
46
- Requires **EmDash >=1.2.0 <2.0.0**; tested on 1.2.0, 1.4.0 and 1.5.0. **1.4.0 or newer is recommended** because it fixes nested Block Kit forms and Cloudflare plugin mutations; 1.2/1.3 remain supported with those host limitations. Newer EmDash releases that have not been tested yet are not refused: the source installer prints a warning, and if the editor adapters no longer match a newer admin build they step aside and EmDash's own editor is used. Upgrades from 0.12.x or earlier need the [native-content upgrade](./docs/upgrade-0.13.0.md). Source/developer tooling needs Node 24+.
47
-
48
- ---
49
-
50
- ## Visual Tour
51
-
52
- ### 1. Website Calendar
53
- Render public events on your site using the included Astro showcase with seven responsive layouts, month navigation, and category filtering—with zero client-side JavaScript.
54
-
55
- <p align="center">
56
- <img src="./images/registry-0.11.0/05-public-events.jpg" alt="Public Event Browser" width="90%" />
57
- </p>
58
-
59
- ---
60
-
61
- ### 2. Event Details & One-Click Calendar Sync
62
- Visitors can view full event details, join virtual meetings, get venue directions, and add events to Google Calendar, Outlook, Yahoo, or Apple Calendar.
63
-
64
- <p align="center">
65
- <img src="./images/registry-0.13.4/public-event-detail-fr-desktop.png" alt="Public event detail view" width="90%" />
66
- </p>
67
-
68
- ---
69
-
70
- ### 3. Native Event Editor
71
- Write announcements in EmDash's rich-text editor. Save the draft, then open Dates, venue & repeat for local dates, recurrence and individual-date changes. The Eventual RSVP workspace links to the selected content types and offers safe draft duplication.
72
-
73
- <p align="center">
74
- <img src="./images/registry-0.13.0/native-fr-editor-desktop.png" alt="French native Eventual RSVP editor" width="90%" />
75
- </p>
76
-
77
- ---
78
-
79
- ### 4. Saved Organizers & Venues
80
- Maintain a directory of organizers (names, websites, contact links) and physical venues with structured addresses and map directions.
81
-
82
- Venue choices combine translation siblings into one selection, show the name and address, and retain the saved native ID. The schedule panel searches native names and addresses, including accents. Unpublished dependencies are marked and must be published before their events. Create and edit links open the native venue editor.
83
-
84
- ---
85
-
86
- ## Optional Website Views
87
-
88
- Visitors can switch between seven viewing formats via query parameter (e.g., `/events?view=month`):
89
-
90
- | View | Query Param | Description |
91
- | :--- | :--- | :--- |
92
- | **List** *(Default)* | `?view=list` | Chronological agenda list with high-contrast date blocks. |
93
- | **Timeline** | `?view=timeline` | Vertical timeline with visual event nodes and summary cards. |
94
- | **Card Grid** | `?view=cards` | Rich card grid displaying event cover images, organizers, and tags. |
95
- | **Daily Schedule** | `?view=schedule` | Collapsible daily disclosures grouping events per date. |
96
- | **Date Strip** | `?view=dates` | Horizontal date jump bar for quick navigation across the month. |
97
- | **Month Calendar** | `?view=month` | Full week-aligned calendar grid on desktop; day-by-day agenda on mobile. |
98
- | **Locations** | `?view=locations` | Events grouped by physical venue or virtual attendance with map directions. |
99
-
100
- ---
101
-
102
- ## For Developers
103
-
104
- Eventual RSVP's Registry package supplies the sandbox backend and editor controls. Optional Astro, schema and transfer helpers are on npm as [`@vermeulen.solutions/eventual`](https://www.npmjs.com/package/@vermeulen.solutions/eventual) (`npm install @vermeulen.solutions/eventual`); keep its version aligned with the Registry backend. The plugin ID stays `eventual`. GitHub download versions and Registry releases are listed separately; the badges above identify each.
105
-
106
- Use the **actual installed plugin ID** in API URLs and MCP tool names. Config-managed sites normally use `eventual`; Registry sites get a generated ID. Pass `pluginId` to `fetchPublicFeed` for a Registry installation; the showcase defaults to `eventual`.
107
-
108
- The [developer guide](./docs/native-modernization.md) covers public JSON/ICS/image routes, SSR dispatch, tool names, settings, transfer formats, permissions and sandbox limits. It also explains installing the matching npm helpers. Eventual RSVP's MCP tools inspect native data; native edits and publication use EmDash's core tools.
109
-
110
- For source changes:
111
-
112
- ```sh
113
- npm ci
114
- npm run validate
115
- npm run typecheck
116
- npm test
117
- npm run build
118
- npm run bundle
119
- npm run budget
120
- ```
121
-
122
- The backend shares EmDash's fixed sandbox RPC budget. Large feeds and migrations need host-specific verification; optional public URL lookups can be disabled when your site constructs its own links. [Details and checks](./docs/native-modernization.md#limits-and-checks).
123
-
124
- ---
125
-
126
- ## Documentation
127
-
128
- - [Managing events](./docs/user-guide.md) — the editor's everyday guide.
129
- - [Install and connect](./docs/collection-setup.md) — administrators and schema setup.
130
- - [Upgrade and migrate](./docs/upgrade-0.13.0.md) — existing sites and old plugin data.
131
- - [Developer guide](./docs/native-modernization.md) — integration and API reference.
132
- - [0.15.0 cache integration](./docs/release-notes-0.15.0.md) · [0.14.1 compatibility release](./docs/release-notes-0.14.1.md) · [0.14.0 changes](./docs/release-notes-0.14.0.md) · [Changelog](./CHANGELOG.md).
133
- - [Astro showcase](./examples/astro-events/README.md) — optional visitor pages.
134
- - [Release evidence and older records](./docs/history.md).
135
-
136
- ---
137
-
138
- ## License
139
-
140
- Eventual RSVP is licensed under the [MIT License](./LICENSE).
1
+ <p align="center">
2
+ <img src="./images/registry/banner-v2.png" alt="Eventual RSVP – Core: events for EmDash CMS" width="100%" />
3
+ </p>
4
+
5
+ # Eventual RSVP – Core
6
+
7
+ <p align="center">
8
+ <a href="https://github.com/Vermeulen-Solutions/eventual-rsvp-core/actions/workflows/ci.yml"><img src="https://github.com/Vermeulen-Solutions/eventual-rsvp-core/actions/workflows/ci.yml/badge.svg" alt="CI Status" /></a>
9
+ <a href="https://github.com/Vermeulen-Solutions/eventual-rsvp-core/releases"><img src="https://img.shields.io/github/v/release/Vermeulen-Solutions/eventual-rsvp-core?color=176b57&label=GitHub%20download" alt="Latest GitHub source download" /></a>
10
+ <a href="https://plugins.emdashcms.com/plugins/@vermeulen.solutions/eventual"><img src="https://img.shields.io/badge/EmDash_Registry-0.18.4-0b4d3d" alt="EmDash Plugin Registry" /></a>
11
+ <a href="https://emdashcms.com"><img src="https://img.shields.io/badge/EmDash-1.2.x%20%7C%201.4.x-0b4d3d" alt="EmDash Compatibility" /></a>
12
+ <a href="./LICENSE"><img src="https://img.shields.io/badge/License-MIT-d89521" alt="License: MIT" /></a>
13
+ <img src="https://img.shields.io/badge/TypeScript-strict-3178c6" alt="TypeScript Strict" />
14
+ <img src="https://img.shields.io/badge/Sandbox-1%20host%20(language%20packs)-2ea44f" alt="One outbound host: language packs" />
15
+ </p>
16
+
17
+ **Website:** [eventual.rsvp](https://eventual.rsvp/): documentation, install guide and support for Eventual RSVP – Core, Registrations and Tickets.
18
+
19
+ Plan and publish events in [EmDash CMS](https://emdashcms.com). Write announcements, choose venues and organizers, set repeat schedules, and share events through your website and calendar subscriptions.
20
+
21
+ **Current Registry release: 0.15.0.** Events are edited in EmDash's own collections, with rich text, images, drafts and translations. Your site builder connects the feeds to visitor pages; the screenshots below show the optional Astro showcase.
22
+
23
+ In 0.14.x, old events stored inside the plugin are shown only when an administrator explicitly enables **Show old events saved inside the plugin**. Native collections remain authoritative. See [what changed](./docs/release-notes-0.14.0.md).
24
+
25
+ ---
26
+
27
+ ## At a Glance
28
+
29
+ - **Announcements and images:** use EmDash's normal editor, save drafts, then publish.
30
+ - **Flexible schedules:** one-off, daily, weekly or monthly events, with changes to individual dates.
31
+ - **Saved venues and organizers:** choose existing entries instead of retyping them.
32
+ - **Languages:** separate announcements per language, with shared published schedules. The admin speaks 21 languages, including Arabic and Hebrew right to left.
33
+ - **Calendars:** event downloads and iCalendar subscriptions.
34
+ - **Website integration:** JSON feeds, optional Astro helpers and seven example layouts.
35
+ - **Sandboxed:** declared permissions; the only outbound host is `cdn.jsdelivr.net`, for the admin's language packs, each checked against a hash built into the release.
36
+
37
+ ## Get Started
38
+
39
+ 1. An administrator [installs Eventual RSVP and connects the collections](./docs/collection-setup.md).
40
+ 2. Editors follow [Managing events](./docs/user-guide.md): save an announcement, open **Dates, venue & repeat**, then publish.
41
+ 3. Site builders use the [developer guide](./docs/native-modernization.md) to connect visitor pages.
42
+
43
+ For the opt-in HTML cache integration, see [public feed caching](./docs/public-feed-caching.md)
44
+ and [release notes](./docs/release-notes-0.15.0.md). Eventual RSVP does not enable site caching.
45
+
46
+ Requires **EmDash >=1.2.0 <2.0.0**; tested on 1.2.0, 1.4.0 and 1.5.0. **1.4.0 or newer is recommended** because it fixes nested Block Kit forms and Cloudflare plugin mutations; 1.2/1.3 remain supported with those host limitations. Newer EmDash releases that have not been tested yet are not refused: the source installer prints a warning, and if the editor adapters no longer match a newer admin build they step aside and EmDash's own editor is used. Upgrades from 0.12.x or earlier need the [native-content upgrade](./docs/upgrade-0.13.0.md). Source/developer tooling needs Node 24+.
47
+
48
+ ---
49
+
50
+ ## Visual Tour
51
+
52
+ ### 1. Website Calendar
53
+ Render public events on your site using the included Astro showcase with seven responsive layouts, month navigation, and category filtering—with zero client-side JavaScript.
54
+
55
+ <p align="center">
56
+ <img src="./images/registry-0.11.0/05-public-events.jpg" alt="Public Event Browser" width="90%" />
57
+ </p>
58
+
59
+ ---
60
+
61
+ ### 2. Event Details & One-Click Calendar Sync
62
+ Visitors can view full event details, join virtual meetings, get venue directions, and add events to Google Calendar, Outlook, Yahoo, or Apple Calendar.
63
+
64
+ <p align="center">
65
+ <img src="./images/registry-0.13.4/public-event-detail-fr-desktop.png" alt="Public event detail view" width="90%" />
66
+ </p>
67
+
68
+ ---
69
+
70
+ ### 3. Native Event Editor
71
+ Write announcements in EmDash's rich-text editor. Save the draft, then open Dates, venue & repeat for local dates, recurrence and individual-date changes. The Eventual RSVP workspace links to the selected content types and offers safe draft duplication.
72
+
73
+ <p align="center">
74
+ <img src="./images/registry-0.13.0/native-fr-editor-desktop.png" alt="French native Eventual RSVP editor" width="90%" />
75
+ </p>
76
+
77
+ ---
78
+
79
+ ### 4. Saved Organizers & Venues
80
+ Maintain a directory of organizers (names, websites, contact links) and physical venues with structured addresses and map directions.
81
+
82
+ Venue choices combine translation siblings into one selection, show the name and address, and retain the saved native ID. The schedule panel searches native names and addresses, including accents. Unpublished dependencies are marked and must be published before their events. Create and edit links open the native venue editor.
83
+
84
+ ---
85
+
86
+ ## Optional Website Views
87
+
88
+ Visitors can switch between seven viewing formats via query parameter (e.g., `/events?view=month`):
89
+
90
+ | View | Query Param | Description |
91
+ | :--- | :--- | :--- |
92
+ | **List** *(Default)* | `?view=list` | Chronological agenda list with high-contrast date blocks. |
93
+ | **Timeline** | `?view=timeline` | Vertical timeline with visual event nodes and summary cards. |
94
+ | **Card Grid** | `?view=cards` | Rich card grid displaying event cover images, organizers, and tags. |
95
+ | **Daily Schedule** | `?view=schedule` | Collapsible daily disclosures grouping events per date. |
96
+ | **Date Strip** | `?view=dates` | Horizontal date jump bar for quick navigation across the month. |
97
+ | **Month Calendar** | `?view=month` | Full week-aligned calendar grid on desktop; day-by-day agenda on mobile. |
98
+ | **Locations** | `?view=locations` | Events grouped by physical venue or virtual attendance with map directions. |
99
+
100
+ ---
101
+
102
+ ## For Developers
103
+
104
+ Eventual RSVP's Registry package supplies the sandbox backend and editor controls. Optional Astro, schema and transfer helpers are on npm as [`@vermeulen.solutions/eventual`](https://www.npmjs.com/package/@vermeulen.solutions/eventual) (`npm install @vermeulen.solutions/eventual`); keep its version aligned with the Registry backend. The plugin ID stays `eventual`. GitHub download versions and Registry releases are listed separately; the badges above identify each.
105
+
106
+ Use the **actual installed plugin ID** in API URLs and MCP tool names. Config-managed sites normally use `eventual`; Registry sites get a generated ID. Pass `pluginId` to `fetchPublicFeed` for a Registry installation; the showcase defaults to `eventual`.
107
+
108
+ The [developer guide](./docs/native-modernization.md) covers public JSON/ICS/image routes, SSR dispatch, tool names, settings, transfer formats, permissions and sandbox limits. It also explains installing the matching npm helpers. Eventual RSVP's MCP tools inspect native data; native edits and publication use EmDash's core tools.
109
+
110
+ For source changes:
111
+
112
+ ```sh
113
+ npm ci
114
+ npm run validate
115
+ npm run typecheck
116
+ npm test
117
+ npm run build
118
+ npm run bundle
119
+ npm run budget
120
+ ```
121
+
122
+ The backend shares EmDash's fixed sandbox RPC budget. Large feeds and migrations need host-specific verification; optional public URL lookups can be disabled when your site constructs its own links. [Details and checks](./docs/native-modernization.md#limits-and-checks).
123
+
124
+ ---
125
+
126
+ ## Documentation
127
+
128
+ - [Managing events](./docs/user-guide.md) — the editor's everyday guide.
129
+ - [Install and connect](./docs/collection-setup.md) — administrators and schema setup.
130
+ - [Upgrade and migrate](./docs/upgrade-0.13.0.md) — existing sites and old plugin data.
131
+ - [Developer guide](./docs/native-modernization.md) — integration and API reference.
132
+ - [0.15.0 cache integration](./docs/release-notes-0.15.0.md) · [0.14.1 compatibility release](./docs/release-notes-0.14.1.md) · [0.14.0 changes](./docs/release-notes-0.14.0.md) · [Changelog](./CHANGELOG.md).
133
+ - [Astro showcase](./examples/astro-events/README.md) — optional visitor pages.
134
+ - [Release evidence and older records](./docs/history.md).
135
+
136
+ ---
137
+
138
+ ## License
139
+
140
+ Eventual RSVP is licensed under the [MIT License](./LICENSE).
@@ -214,8 +214,8 @@ function BlockRenderer(props) {
214
214
  patched=patched.replace('function SettingsActionBar({ collectionLabel,','function SettingsActionBar({ eventualUi=false, collectionLabel,');
215
215
  if(!patched.includes('function SettingsActionBar({ eventualUi=false, collectionLabel,')) throw new Error("Unsupported settings action bar signature.");
216
216
  }
217
- // Only Eventual's own prop is prepended, so any host prop list is kept as is (1.5 renamed
218
- // \`disabled\` and added \`revisions\`).
217
+ // Only Eventual's own prop is prepended, so any host prop list is kept as is (1.5 renamed
218
+ // \`disabled\` and added \`revisions\`).
219
219
  const publishPattern=/function PublishActions\(\{ collectionLabel, (isNew, [^{}]*?) \}\) \{\r?\n\tconst \{ _: _t4 \} = useLingui\(\);/;
220
220
  if(!publishPattern.test(patched)) throw new Error("Unsupported publish actions signature.");
221
221
  return patched.replace(publishPattern, (_match, props) => `function PublishActions({ eventualUi=false, collectionLabel, ${props} }) {\n const {locale: eventualPublishLocale}=useLocale(); const {_:eventualPublishT}=useLingui(); const _t4=eventualUi ? message=>eventualEditorText(eventualPublishT(message),eventualPublishLocale):eventualPublishT;`);
package/dist/index.mjs CHANGED
@@ -7,7 +7,7 @@
7
7
  /** @type {import("emdash").PluginDescriptor} */
8
8
  const descriptor = Object.freeze({
9
9
  "id": "eventual",
10
- "version": "0.18.3",
10
+ "version": "0.18.4",
11
11
  "format": "standard",
12
12
  "entrypoint": "@vermeulen.solutions/eventual/sandbox",
13
13
  "capabilities": [
@@ -1,101 +1,101 @@
1
- # Developer guide — Eventual 0.15.0
2
-
3
- EmDash collections own content, rich text, languages, drafts, revisions and publication. Eventual's sandbox supplies schedule validation, recurrence, saved-entry controls and feeds. See [setup](collection-setup.md) and [upgrading](upgrade-0.13.0.md).
4
-
5
- The [public feed caching guide](public-feed-caching.md) describes additive
6
- dependency/expiry metadata, direct runtime dispatch and the host's explicit opt-in.
7
-
8
- ## Installation and plugin ID
9
-
10
- Registry installations use the host's sandbox runner and downloaded bundle. Config-managed installations register the source descriptor in `sandboxed: [eventual]`. Use one backend per site. Cloudflare Registry hosts need Worker Loader and PluginBridge: [EmDash sandbox setup](https://docs.emdashcms.com/deployment/plugin-sandbox/).
11
-
12
- **Use the installed plugin ID in URLs and MCP names.** Config-managed installs normally use `eventual`; Registry installs have generated IDs such as `r_hxn32uyal53iahxf`. Read it from the install result or authenticated `GET /_emdash/api/admin/plugins`. MCP names are `<pluginId>__<toolName>`.
13
-
14
- Astro/schema/transfer helpers come from the npm package
15
- [`@vermeulen.solutions/eventual`](https://www.npmjs.com/package/@vermeulen.solutions/eventual)
16
- (0.18.1 and later), not the Registry `.tar.gz`. Install the version that matches the Registry backend:
17
-
18
- ```sh
19
- npm install @vermeulen.solutions/eventual@0.18.1
20
- ```
21
-
22
- Import it as `@vermeulen.solutions/eventual/astro`, `@vermeulen.solutions/eventual/schema` and so on; the plugin ID stays `eventual`.
23
- Releases before 0.18.1 were not on npm; their source archives (`eventual-<version>.tgz`) are attached to the GitHub releases.
24
-
25
- To build the same helpers from the release checkout, run `npm ci`, `npm run build`
26
- and `npm pack`. Keep helper and backend versions aligned.
27
-
28
- Source tooling needs Node 24+. Peer ranges are in [package.json](../package.json); release acceptance uses EmDash/Admin/Block Kit **1.2.0 and 1.4.0**, Astro 7.3.x/7.4.x and React 19. The source `@vermeulen.solutions/eventual/install` lane is tested on 1.2.0, 1.4.0 and 1.5.0. It refuses only hosts older than 1.2.0; a newer untested host builds with a warning, and an editor adapter that no longer matches the admin build steps aside (with a warning) so EmDash's own editor is used. Registry installs never execute that transform.
29
-
30
- | Host | Status | Notes |
31
- | --- | --- | --- |
32
- | 1.2.0 | supported, unit-tested | Panel Enter/validation is scoped to the outer content-editor form; Cloudflare cross-isolate plugin mutations can fail. |
33
- | 1.3.x | supported, untested | Same form/Cloudflare limitations; includes the plugin-storage cursor fix. |
34
- | 1.4.x | supported, full acceptance | Recommended. Fixes nested Block Kit forms and Cloudflare plugin mutations. |
35
- | 1.5.x | supported, host-tested | 1.5.0 passes the native-site and plugin integration suites; the admin adapter recognises its editor panel. |
36
- | newer | allowed with a warning | Not yet tested. Check the event editor after upgrading. |
37
-
38
- ## Public routes
39
-
40
- Routes are relative to `/_emdash/api/plugins/<pluginId>/`.
41
-
42
- | Route | Inputs and behavior |
43
- | --- | --- |
44
- | `GET publicEvents` | Inclusive `from`/`through` dates (YYYY-MM-DD); default UTC today through 180 days later; maximum 366 inclusive dates. Also `locale`, `strict` (false), `category`, `publicUrls` (true). |
45
- | `GET calendar` | Raw text/calendar; fixed window from UTC today through 365 days later. Supports locale, strict and category. |
46
- | `GET publicEventImage?eventId=…` | Published featured image with MIME/size checks; absent, unpublished or disabled legacy images return 404. |
47
-
48
- `strict=true` omits events without the requested translation; false can use another language with a `[FR]`/`[EN]` title prefix. Categories match without case sensitivity. `publicUrls=false` skips native canonical-URL lookups; slug/id remain available for site-owned links.
49
-
50
- JSON success:
51
-
52
- ```json
53
- {"success":true,"data":{"ok":true,"from":"2026-11-01","through":"2026-11-30","events":[]}}
54
- ```
55
-
56
- The feed has no top-level locale. Event rows carry title, description/plain text, optional descriptionBlocks, start/end, allDay, timezone, location, organizer, externalUrl, imageUrl, categories, venue and directionsUrl. Optional native metadata includes locale, translationGroup, slug and publicUrl. Business status is `status`, not `eventStatus`: see [PublicEvent](../src/public-event.ts). All-day end dates are inclusive here and exclusive in ICS.
57
-
58
- Handle both `success:false` host failures and `data.ok:false` plugin failures. EmDash 1.2.0 JSON configuration/RPC failures use HTTP 400, ROUTE_ERROR and private/no-store caching. Preserve errors instead of substituting stale rows or a successful empty feed.
59
-
60
- ## Astro integration
61
-
62
- `fetchPublicFeed(origin, from, through, category, {locale, strict, publicUrls})` from `@vermeulen.solutions/eventual/astro` validates responses and throws FeedError. **It hardcodes ID `eventual`**; its options do not accept a Registry ID. The showcase has the same assumption. Registry sites need a site-owned adapter to the actual URL or EmDash's SSR dispatcher:
63
-
64
- ```ts
65
- const pluginId = 'YOUR_INSTALLED_PLUGIN_ID';
66
- const url = new URL(`/_emdash/api/plugins/${pluginId}/publicEvents`, Astro.url);
67
- url.searchParams.set('from', '2026-11-01');
68
- url.searchParams.set('through', '2026-11-30');
69
- url.searchParams.set('locale', 'fr');
70
- const runtime = Astro.locals.emdash;
71
- if (!runtime) throw new Error('EmDash is unavailable');
72
- const result = await runtime.handlePublicPluginApiRoute(
73
- pluginId, 'GET', '/publicEvents', new Request(url),
74
- );
75
- if (!result.success) throw new Error(result.error?.message ?? 'Event feed unavailable');
76
- // Validate result.data.ok and result.data.events before rendering.
77
- ```
78
-
79
- `@vermeulen.solutions/eventual/astro/EventList.astro` is an optional unstyled list. JSON-LD helpers are eventToJsonLd and serializeJsonLd; use the safe serializer. The [showcase](../examples/astro-events/README.md) supplies seven complete visitor layouts.
80
-
81
- ## Settings, tools and transfer
82
-
83
- Tools `getSettings` and `updateSettings` use `mcp/settings/get` and `mcp/settings/update`. **updateSettings requires defaultTimezone**, even when only changing legacyReads. Read and retain its value first:
84
-
85
- ```json
86
- {"defaultTimezone":"Europe/Paris","legacyReads":false}
87
- ```
88
-
89
- Optional collections contains `{events,venues,organizers}`. Native timezone defaults belong to the schema. Only stored boolean true enables legacy public reads. Native collections stay authoritative; broken explicit bindings always error. Both MCP and admin `save-legacy-reads` invalidate the request memo.
90
-
91
- Enable intended tools under the plugin's **Agent access** controls. Eventual tools require plugins:manage; native editing uses core content tools and content:edit_any. Read tools: listEvents, getEvent, listOccurrences, listVenues, listOrganizers. Legacy writes are blocked once native collections are active. [Tool schemas](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/main/src/mcp-schemas.ts) define exact inputs/routes.
92
-
93
- exportRecords follows cursors (default 5, maximum 10). Native native-content-v1 exports are inspection records, not full backups or legacy-import input. previewImport/importRecords accept legacy data only: at most 10 rows / 64 KiB, insert absent IDs, and import events as drafts. The [@vermeulen.solutions/eventual/transfer interface](../transfer/index.d.mts) supplies legacy backup/copy/CSV/ICS helpers. CSV needs stable source IDs and explicit-offset timed dates; all-day ends are inclusive. ICS conversion accepts standalone UTC or VALUE=DATE events and rejects unsupported recurrence/timezone constructs. Media, settings, revisions and calendar-state recovery need the host's backup facilities.
94
-
95
- ## Limits and checks
96
-
97
- The host's ten-bridge-call budget can constrain feeds, dependency checks and migration even with few displayed events. Smaller date windows or publicUrls=false help some JSON requests; complete-source scans still cost calls. Native exceptions/occurrence copy are bounded at 500 items; calendar group/state/output bounds also apply and fail explicitly. Background migration jobs and bulk APIs remain pending: [Eventual #5](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/issues/5), [EmDash #4004](https://github.com/emdash-cms/emdash/issues/4004).
98
-
99
- Calendar UIDs, monotonic SEQUENCE and 366-day cancellation retention support reconciliation. Preserve migrated calendar_uid values. Publication shares schedule fields across languages; pending drafts stay separate. Stale-form checks are not an atomic write lock. Some settings copy remains English in the French admin; stock development-renderer diagnostics are recorded in acceptance.
100
-
101
- Runtime checks: npm run validate, typecheck, build, bundle, budget, and npm test. Tooling/package/editor/media changes have test:tooling, test:package, test:editor and registry:media checks. `node scripts/audit-documentation.mjs` checks local links and Registry section caps. Publishing uses the pinned CLI; immutable releases and current profile/release CIDs need separate approvals. [Release evidence](../audit/releases/0.14.0/README.md).
1
+ # Developer guide — Eventual 0.15.0
2
+
3
+ EmDash collections own content, rich text, languages, drafts, revisions and publication. Eventual's sandbox supplies schedule validation, recurrence, saved-entry controls and feeds. See [setup](collection-setup.md) and [upgrading](upgrade-0.13.0.md).
4
+
5
+ The [public feed caching guide](public-feed-caching.md) describes additive
6
+ dependency/expiry metadata, direct runtime dispatch and the host's explicit opt-in.
7
+
8
+ ## Installation and plugin ID
9
+
10
+ Registry installations use the host's sandbox runner and downloaded bundle. Config-managed installations register the source descriptor in `sandboxed: [eventual]`. Use one backend per site. Cloudflare Registry hosts need Worker Loader and PluginBridge: [EmDash sandbox setup](https://docs.emdashcms.com/deployment/plugin-sandbox/).
11
+
12
+ **Use the installed plugin ID in URLs and MCP names.** Config-managed installs normally use `eventual`; Registry installs have generated IDs such as `r_hxn32uyal53iahxf`. Read it from the install result or authenticated `GET /_emdash/api/admin/plugins`. MCP names are `<pluginId>__<toolName>`.
13
+
14
+ Astro/schema/transfer helpers come from the npm package
15
+ [`@vermeulen.solutions/eventual`](https://www.npmjs.com/package/@vermeulen.solutions/eventual)
16
+ (0.18.1 and later), not the Registry `.tar.gz`. Install the version that matches the Registry backend:
17
+
18
+ ```sh
19
+ npm install @vermeulen.solutions/eventual@0.18.1
20
+ ```
21
+
22
+ Import it as `@vermeulen.solutions/eventual/astro`, `@vermeulen.solutions/eventual/schema` and so on; the plugin ID stays `eventual`.
23
+ Releases before 0.18.1 were not on npm; their source archives (`eventual-<version>.tgz`) are attached to the GitHub releases.
24
+
25
+ To build the same helpers from the release checkout, run `npm ci`, `npm run build`
26
+ and `npm pack`. Keep helper and backend versions aligned.
27
+
28
+ Source tooling needs Node 24+. Peer ranges are in [package.json](../package.json); release acceptance uses EmDash/Admin/Block Kit **1.2.0 and 1.4.0**, Astro 7.3.x/7.4.x and React 19. The source `@vermeulen.solutions/eventual/install` lane is tested on 1.2.0, 1.4.0 and 1.5.0. It refuses only hosts older than 1.2.0; a newer untested host builds with a warning, and an editor adapter that no longer matches the admin build steps aside (with a warning) so EmDash's own editor is used. Registry installs never execute that transform.
29
+
30
+ | Host | Status | Notes |
31
+ | --- | --- | --- |
32
+ | 1.2.0 | supported, unit-tested | Panel Enter/validation is scoped to the outer content-editor form; Cloudflare cross-isolate plugin mutations can fail. |
33
+ | 1.3.x | supported, untested | Same form/Cloudflare limitations; includes the plugin-storage cursor fix. |
34
+ | 1.4.x | supported, full acceptance | Recommended. Fixes nested Block Kit forms and Cloudflare plugin mutations. |
35
+ | 1.5.x | supported, host-tested | 1.5.0 passes the native-site and plugin integration suites; the admin adapter recognises its editor panel. |
36
+ | newer | allowed with a warning | Not yet tested. Check the event editor after upgrading. |
37
+
38
+ ## Public routes
39
+
40
+ Routes are relative to `/_emdash/api/plugins/<pluginId>/`.
41
+
42
+ | Route | Inputs and behavior |
43
+ | --- | --- |
44
+ | `GET publicEvents` | Inclusive `from`/`through` dates (YYYY-MM-DD); default UTC today through 180 days later; maximum 366 inclusive dates. Also `locale`, `strict` (false), `category`, `publicUrls` (true). |
45
+ | `GET calendar` | Raw text/calendar; fixed window from UTC today through 365 days later. Supports locale, strict and category. |
46
+ | `GET publicEventImage?eventId=…` | Published featured image with MIME/size checks; absent, unpublished or disabled legacy images return 404. |
47
+
48
+ `strict=true` omits events without the requested translation; false can use another language with a `[FR]`/`[EN]` title prefix. Categories match without case sensitivity. `publicUrls=false` skips native canonical-URL lookups; slug/id remain available for site-owned links.
49
+
50
+ JSON success:
51
+
52
+ ```json
53
+ {"success":true,"data":{"ok":true,"from":"2026-11-01","through":"2026-11-30","events":[]}}
54
+ ```
55
+
56
+ The feed has no top-level locale. Event rows carry title, description/plain text, optional descriptionBlocks, start/end, allDay, timezone, location, organizer, externalUrl, imageUrl, categories, venue and directionsUrl. Optional native metadata includes locale, translationGroup, slug and publicUrl. Business status is `status`, not `eventStatus`: see [PublicEvent](../src/public-event.ts). All-day end dates are inclusive here and exclusive in ICS.
57
+
58
+ Handle both `success:false` host failures and `data.ok:false` plugin failures. EmDash 1.2.0 JSON configuration/RPC failures use HTTP 400, ROUTE_ERROR and private/no-store caching. Preserve errors instead of substituting stale rows or a successful empty feed.
59
+
60
+ ## Astro integration
61
+
62
+ `fetchPublicFeed(origin, from, through, category, {locale, strict, publicUrls})` from `@vermeulen.solutions/eventual/astro` validates responses and throws FeedError. **It hardcodes ID `eventual`**; its options do not accept a Registry ID. The showcase has the same assumption. Registry sites need a site-owned adapter to the actual URL or EmDash's SSR dispatcher:
63
+
64
+ ```ts
65
+ const pluginId = 'YOUR_INSTALLED_PLUGIN_ID';
66
+ const url = new URL(`/_emdash/api/plugins/${pluginId}/publicEvents`, Astro.url);
67
+ url.searchParams.set('from', '2026-11-01');
68
+ url.searchParams.set('through', '2026-11-30');
69
+ url.searchParams.set('locale', 'fr');
70
+ const runtime = Astro.locals.emdash;
71
+ if (!runtime) throw new Error('EmDash is unavailable');
72
+ const result = await runtime.handlePublicPluginApiRoute(
73
+ pluginId, 'GET', '/publicEvents', new Request(url),
74
+ );
75
+ if (!result.success) throw new Error(result.error?.message ?? 'Event feed unavailable');
76
+ // Validate result.data.ok and result.data.events before rendering.
77
+ ```
78
+
79
+ `@vermeulen.solutions/eventual/astro/EventList.astro` is an optional unstyled list. JSON-LD helpers are eventToJsonLd and serializeJsonLd; use the safe serializer. The [showcase](../examples/astro-events/README.md) supplies seven complete visitor layouts.
80
+
81
+ ## Settings, tools and transfer
82
+
83
+ Tools `getSettings` and `updateSettings` use `mcp/settings/get` and `mcp/settings/update`. **updateSettings requires defaultTimezone**, even when only changing legacyReads. Read and retain its value first:
84
+
85
+ ```json
86
+ {"defaultTimezone":"Europe/Paris","legacyReads":false}
87
+ ```
88
+
89
+ Optional collections contains `{events,venues,organizers}`. Native timezone defaults belong to the schema. Only stored boolean true enables legacy public reads. Native collections stay authoritative; broken explicit bindings always error. Both MCP and admin `save-legacy-reads` invalidate the request memo.
90
+
91
+ Enable intended tools under the plugin's **Agent access** controls. Eventual tools require plugins:manage; native editing uses core content tools and content:edit_any. Read tools: listEvents, getEvent, listOccurrences, listVenues, listOrganizers. Legacy writes are blocked once native collections are active. [Tool schemas](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/main/src/mcp-schemas.ts) define exact inputs/routes.
92
+
93
+ exportRecords follows cursors (default 5, maximum 10). Native native-content-v1 exports are inspection records, not full backups or legacy-import input. previewImport/importRecords accept legacy data only: at most 10 rows / 64 KiB, insert absent IDs, and import events as drafts. The [@vermeulen.solutions/eventual/transfer interface](../transfer/index.d.mts) supplies legacy backup/copy/CSV/ICS helpers. CSV needs stable source IDs and explicit-offset timed dates; all-day ends are inclusive. ICS conversion accepts standalone UTC or VALUE=DATE events and rejects unsupported recurrence/timezone constructs. Media, settings, revisions and calendar-state recovery need the host's backup facilities.
94
+
95
+ ## Limits and checks
96
+
97
+ The host's ten-bridge-call budget can constrain feeds, dependency checks and migration even with few displayed events. Smaller date windows or publicUrls=false help some JSON requests; complete-source scans still cost calls. Native exceptions/occurrence copy are bounded at 500 items; calendar group/state/output bounds also apply and fail explicitly. Background migration jobs and bulk APIs remain pending: [Eventual #5](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/issues/5), [EmDash #4004](https://github.com/emdash-cms/emdash/issues/4004).
98
+
99
+ Calendar UIDs, monotonic SEQUENCE and 366-day cancellation retention support reconciliation. Preserve migrated calendar_uid values. Publication shares schedule fields across languages; pending drafts stay separate. Stale-form checks are not an atomic write lock. Some settings copy remains English in the French admin; stock development-renderer diagnostics are recorded in acceptance.
100
+
101
+ Runtime checks: npm run validate, typecheck, build, bundle, budget, and npm test. Tooling/package/editor/media changes have test:tooling, test:package, test:editor and registry:media checks. `node scripts/audit-documentation.mjs` checks local links and Registry section caps. Publishing uses the pinned CLI; immutable releases and current profile/release CIDs need separate approvals. [Release evidence](../audit/releases/0.14.0/README.md).
@@ -1,13 +1,13 @@
1
- # Eventual RSVP – Core 0.18.3
2
-
3
- Requires EmDash **>=1.2.0 <2.0.0** for event management; tested on 1.2.0, 1.4.0 and 1.5.0. **1.4.0 or newer is recommended** for nested forms and Cloudflare plugin mutations, and required for the optional cache integration.
4
-
5
- In **Plugins → Registry**, find **Eventual RSVP – Core** by **vermeulen.solutions**, review permissions and install or update. Version 0.18.3 asks for no new permissions; since 0.18.0 Core uses `network:request` to `cdn.jsdelivr.net` for the admin's language packs. It adds no MCP tools. Enable intended tools separately under **Agent access**.
6
-
7
- Open **Event settings**, select compatible event, venue and organizer collections, then **Save settings**. Installation does not create schemas or migrate content. Site builders: [collection setup](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/main/docs/collection-setup.md).
8
-
9
- Save an announcement, open **Dates, venue & repeat**, save changed sections, reload, then publish in EmDash. [Editor guide](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/main/docs/user-guide.md).
10
-
11
- Keep **Show old events saved inside the plugin** off for native collections. Enable it only to serve legacy plugin data without a connected collection. Upgrades from 0.12.x or earlier need a backup and [native migration](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/main/docs/upgrade-0.13.0.md).
12
-
13
- Your site builder connects visitor pages, optionally with the npm helpers `@vermeulen.solutions/eventual` at the same version. **Caching stays opt-in**: Core supplies dependencies and a maximum 15-second expiry, not site-wide cache rules. Use matching source helpers, explicit eligibility and no stale serving. Read the [integration guide and host limitations](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/main/docs/public-feed-caching.md) before enabling it.
1
+ # Eventual RSVP – Core 0.18.4
2
+
3
+ Requires EmDash **>=1.2.0 <2.0.0** for event management; tested on 1.2.0, 1.4.0 and 1.5.0. **1.4.0 or newer is recommended** for nested forms and Cloudflare plugin mutations, and required for the optional cache integration.
4
+
5
+ In **Plugins → Registry**, find **Eventual RSVP – Core** by **vermeulen.solutions**, review permissions and install or update. Version 0.18.4 asks for no new permissions; since 0.18.0 Core uses `network:request` to `cdn.jsdelivr.net` for the admin's language packs. It adds no MCP tools. Enable intended tools separately under **Agent access**.
6
+
7
+ Open **Event settings**, select compatible event, venue and organizer collections, then **Save settings**. Installation does not create schemas or migrate content. Site builders: [collection setup](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/main/docs/collection-setup.md).
8
+
9
+ Save an announcement, open **Dates, venue & repeat**, save changed sections, reload, then publish in EmDash. [Editor guide](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/main/docs/user-guide.md).
10
+
11
+ Keep **Show old events saved inside the plugin** off for native collections. Enable it only to serve legacy plugin data without a connected collection. Upgrades from 0.12.x or earlier need a backup and [native migration](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/main/docs/upgrade-0.13.0.md).
12
+
13
+ Your site builder connects visitor pages, optionally with the npm helpers `@vermeulen.solutions/eventual` at the same version. **Caching stays opt-in**: Core supplies dependencies and a maximum 15-second expiry, not site-wide cache rules. Use matching source helpers, explicit eligibility and no stale serving. Read the [integration guide and host limitations](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/main/docs/public-feed-caching.md) before enabling it.
@@ -1,6 +1,6 @@
1
- # Eventual RSVP – Core 0.18.3 — EmDash 1.5
2
-
3
- - **Tested on EmDash 1.5.0**, as well as 1.2.0 and 1.4.0. The source installer's admin adapter recognises the 1.5 content-editor panel.
4
- - **Newer EmDash releases are no longer refused.** Sites installed with `emdashWithEventual()` used to fail to build on any EmDash version Eventual had not been tested with. Now only versions older than 1.2.0 are refused; a newer untested version builds with a warning asking you to check the event editor.
5
- - **Editor adapters step aside safely.** If a future admin build no longer matches what Eventual expects, Eventual prints a warning and EmDash's own editor is used for that part, instead of the site build stopping.
6
- - **Nothing else changes**: no runtime, permission or schema changes, and no new MCP tools. Registry installs are unaffected by the source-installer changes. EmDash `>=1.2.0 <2.0.0`.
1
+ # Eventual RSVP – Core 0.18.3 — EmDash 1.5
2
+
3
+ - **Tested on EmDash 1.5.0**, as well as 1.2.0 and 1.4.0. The source installer's admin adapter recognises the 1.5 content-editor panel.
4
+ - **Newer EmDash releases are no longer refused.** Sites installed with `emdashWithEventual()` used to fail to build on any EmDash version Eventual had not been tested with. Now only versions older than 1.2.0 are refused; a newer untested version builds with a warning asking you to check the event editor.
5
+ - **Editor adapters step aside safely.** If a future admin build no longer matches what Eventual expects, Eventual prints a warning and EmDash's own editor is used for that part, instead of the site build stopping.
6
+ - **Nothing else changes**: no runtime, permission or schema changes, and no new MCP tools. Registry installs are unaffected by the source-installer changes. EmDash `>=1.2.0 <2.0.0`.
@@ -0,0 +1,4 @@
1
+ # Eventual RSVP – Core 0.18.4 — npm install fix
2
+
3
+ - **The npm package no longer pins Block Kit.** `@vermeulen.solutions/eventual` now declares `@emdash-cms/blocks` as an optional peer dependency (`>=1.2.0 <2.0.0`) instead of requiring exactly 1.4.0. Eventual only uses its types, so a site gets the Block Kit its EmDash version brings. Sites on EmDash 1.5 with `@emdash-cms/cloudflare` 1.5.0 needed an npm or pnpm override to install 0.18.3; they can remove it.
4
+ - **Nothing else changes**: no runtime, permission or schema changes, and no new MCP tools. Registry installs behave exactly as 0.18.3. EmDash `>=1.2.0 <2.0.0` (tested on 1.2.0, 1.4.0 and 1.5.0).
package/package.json CHANGED
@@ -1,146 +1,151 @@
1
- {
2
- "name": "@vermeulen.solutions/eventual",
3
- "version": "0.18.3",
4
- "license": "MIT",
5
- "homepage": "https://eventual.rsvp/",
6
- "type": "module",
7
- "engines": {
8
- "node": ">=24"
9
- },
10
- "packageManager": "npm@11.19.0",
11
- "main": "dist/index.mjs",
12
- "exports": {
13
- ".": {
14
- "import": "./dist/index.mjs",
15
- "types": "./dist/index.d.mts"
16
- },
17
- "./sandbox": "./dist/plugin.mjs",
18
- "./schema": {
19
- "types": "./astro/blueprint.d.mts",
20
- "import": "./astro/blueprint.mjs"
21
- },
22
- "./astro": "./astro/feed.ts",
23
- "./astro/schema": "./astro/schema.ts",
24
- "./astro/EventList.astro": "./astro/EventList.astro",
25
- "./transfer": {
26
- "types": "./transfer/index.d.mts",
27
- "import": "./transfer/index.mjs"
28
- },
29
- "./admin": {
30
- "types": "./astro/admin.d.mts",
31
- "import": "./astro/admin.mjs"
32
- },
33
- "./admin/compat": "./astro/editor-compat.mjs",
34
- "./admin/i18n": "./astro/editor-i18n.mjs",
35
- "./install": {
36
- "types": "./astro/install.d.mts",
37
- "import": "./astro/install.mjs"
38
- }
39
- },
40
- "files": [
41
- "dist/*.mjs",
42
- "dist/*.d.mts",
43
- "emdash-plugin.jsonc",
44
- "astro",
45
- "transfer",
46
- "src/domain",
47
- "src/schema",
48
- "src/storage.ts",
49
- "src/public-event.ts",
50
- "docs/native-modernization.md",
51
- "docs/registry-installation.md",
52
- "scripts/export-native-schema.mjs",
53
- "scripts/upgrade-native-editor.mjs",
54
- "scripts/check-editor-installation.mjs",
55
- "docs/collection-setup.md",
56
- "docs/upgrade-0.13.0.md",
57
- "docs/user-guide.md",
58
- "docs/history.md",
59
- "docs/release-notes-0.14.0.md",
60
- "docs/release-notes-0.14.1.md",
61
- "docs/public-feed-caching.md",
62
- "docs/release-notes-0.15.0.md",
63
- "docs/release-notes-0.16.0.md",
64
- "docs/release-notes-0.17.0.md",
65
- "docs/release-notes-0.18.0.md",
66
- "docs/release-notes-0.18.1.md",
67
- "docs/release-notes-0.18.2.md",
68
- "docs/release-notes-0.18.3.md"
69
- ],
70
- "scripts": {
71
- "validate": "emdash-plugin validate",
72
- "build": "npm run i18n:pack && emdash-plugin build && node scripts/build-host.mjs",
73
- "prepack": "node scripts/build-host.mjs",
74
- "dev": "emdash-plugin dev",
75
- "typecheck": "tsc --noEmit",
76
- "test": "emdash-plugin validate && vitest run",
77
- "bundle": "emdash-plugin bundle",
78
- "login": "emdash-plugin login",
79
- "publish": "emdash-plugin publish",
80
- "release:setup": "emdash-plugin release setup",
81
- "budget": "node scripts/bundle-budget.mjs",
82
- "registry:media": "node scripts/check-registry-media.mjs",
83
- "test:tooling": "node --test scripts/*.test.mjs",
84
- "test:package": "node scripts/verify-packed-astro.mjs",
85
- "test:cache": "node scripts/verify-public-cache.mjs",
86
- "test:editor": "node scripts/verify-editor-host.mjs",
87
- "profile": "vitest run --config vitest.profile.config.ts",
88
- "release:prepare": "node scripts/prepare-release.mjs",
89
- "i18n:pack": "node node_modules/@vermeulen.solutions/eventual-locales/scripts/pack-manifest.mjs core src/ui/locales"
90
- },
91
- "peerDependencies": {
92
- "@emdash-cms/admin": ">=1.2.0 <2.0.0",
93
- "astro": ">=7.3.2 <8.0.0",
94
- "emdash": ">=1.2.0 <2.0.0",
95
- "kysely": "^0.29.0",
96
- "react": "^19.0.0",
97
- "vite": ">=8.3.0 <9.0.0"
98
- },
99
- "devDependencies": {
100
- "@emdash-cms/admin": "1.4.0",
101
- "@emdash-cms/plugin-cli": "0.13.5",
102
- "@emdash-cms/plugin-test": "0.2.11",
103
- "@playwright/test": "1.64.1",
104
- "emdash": "1.4.0",
105
- "ical.js": "^2.2.1",
106
- "jsonc-parser": "3.3.1",
107
- "sharp": "0.35.5",
108
- "typescript": "^5.9.0",
109
- "vitest": "^4.1.0"
110
- },
111
- "dependencies": {
112
- "@emdash-cms/blocks": "1.4.0",
113
- "@lingui/core": "5.9.5",
114
- "zod": "4.5.4",
115
- "@vermeulen.solutions/eventual-locales": "0.1.10"
116
- },
117
- "allowScripts": {
118
- "esbuild": true,
119
- "workerd": true
120
- },
121
- "peerDependenciesMeta": {
122
- "astro": {
123
- "optional": true
124
- },
125
- "vite": {
126
- "optional": true
127
- },
128
- "@emdash-cms/admin": {
129
- "optional": true
130
- },
131
- "react": {
132
- "optional": true
133
- },
134
- "kysely": {
135
- "optional": true
136
- }
137
- },
138
- "overrides": {
139
- "sharp": "0.35.5",
140
- "undici@7.29.0": "7.29.1"
141
- },
142
- "description": "Native event collections for EmDash: Portable Text, localization, recurrence, saved venues and multilingual iCalendar feeds.",
143
- "bin": {
144
- "eventual-schema": "scripts/export-native-schema.mjs"
145
- }
146
- }
1
+ {
2
+ "name": "@vermeulen.solutions/eventual",
3
+ "version": "0.18.4",
4
+ "license": "MIT",
5
+ "homepage": "https://eventual.rsvp/",
6
+ "type": "module",
7
+ "engines": {
8
+ "node": ">=24"
9
+ },
10
+ "packageManager": "npm@11.19.0",
11
+ "main": "dist/index.mjs",
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/index.mjs",
15
+ "types": "./dist/index.d.mts"
16
+ },
17
+ "./sandbox": "./dist/plugin.mjs",
18
+ "./schema": {
19
+ "types": "./astro/blueprint.d.mts",
20
+ "import": "./astro/blueprint.mjs"
21
+ },
22
+ "./astro": "./astro/feed.ts",
23
+ "./astro/schema": "./astro/schema.ts",
24
+ "./astro/EventList.astro": "./astro/EventList.astro",
25
+ "./transfer": {
26
+ "types": "./transfer/index.d.mts",
27
+ "import": "./transfer/index.mjs"
28
+ },
29
+ "./admin": {
30
+ "types": "./astro/admin.d.mts",
31
+ "import": "./astro/admin.mjs"
32
+ },
33
+ "./admin/compat": "./astro/editor-compat.mjs",
34
+ "./admin/i18n": "./astro/editor-i18n.mjs",
35
+ "./install": {
36
+ "types": "./astro/install.d.mts",
37
+ "import": "./astro/install.mjs"
38
+ }
39
+ },
40
+ "files": [
41
+ "dist/*.mjs",
42
+ "dist/*.d.mts",
43
+ "emdash-plugin.jsonc",
44
+ "astro",
45
+ "transfer",
46
+ "src/domain",
47
+ "src/schema",
48
+ "src/storage.ts",
49
+ "src/public-event.ts",
50
+ "docs/native-modernization.md",
51
+ "docs/registry-installation.md",
52
+ "scripts/export-native-schema.mjs",
53
+ "scripts/upgrade-native-editor.mjs",
54
+ "scripts/check-editor-installation.mjs",
55
+ "docs/collection-setup.md",
56
+ "docs/upgrade-0.13.0.md",
57
+ "docs/user-guide.md",
58
+ "docs/history.md",
59
+ "docs/release-notes-0.14.0.md",
60
+ "docs/release-notes-0.14.1.md",
61
+ "docs/public-feed-caching.md",
62
+ "docs/release-notes-0.15.0.md",
63
+ "docs/release-notes-0.16.0.md",
64
+ "docs/release-notes-0.17.0.md",
65
+ "docs/release-notes-0.18.0.md",
66
+ "docs/release-notes-0.18.1.md",
67
+ "docs/release-notes-0.18.2.md",
68
+ "docs/release-notes-0.18.3.md",
69
+ "docs/release-notes-0.18.4.md"
70
+ ],
71
+ "scripts": {
72
+ "validate": "emdash-plugin validate",
73
+ "build": "npm run i18n:pack && emdash-plugin build && node scripts/build-host.mjs",
74
+ "prepack": "node scripts/build-host.mjs",
75
+ "dev": "emdash-plugin dev",
76
+ "typecheck": "tsc --noEmit",
77
+ "test": "emdash-plugin validate && vitest run",
78
+ "bundle": "emdash-plugin bundle",
79
+ "login": "emdash-plugin login",
80
+ "publish": "emdash-plugin publish",
81
+ "release:setup": "emdash-plugin release setup",
82
+ "budget": "node scripts/bundle-budget.mjs",
83
+ "registry:media": "node scripts/check-registry-media.mjs",
84
+ "test:tooling": "node --test scripts/*.test.mjs",
85
+ "test:package": "node scripts/verify-packed-astro.mjs",
86
+ "test:cache": "node scripts/verify-public-cache.mjs",
87
+ "test:editor": "node scripts/verify-editor-host.mjs",
88
+ "profile": "vitest run --config vitest.profile.config.ts",
89
+ "release:prepare": "node scripts/prepare-release.mjs",
90
+ "i18n:pack": "node node_modules/@vermeulen.solutions/eventual-locales/scripts/pack-manifest.mjs core src/ui/locales"
91
+ },
92
+ "peerDependencies": {
93
+ "@emdash-cms/admin": ">=1.2.0 <2.0.0",
94
+ "@emdash-cms/blocks": ">=1.2.0 <2.0.0",
95
+ "astro": ">=7.3.2 <8.0.0",
96
+ "emdash": ">=1.2.0 <2.0.0",
97
+ "kysely": "^0.29.0",
98
+ "react": "^19.0.0",
99
+ "vite": ">=8.3.0 <9.0.0"
100
+ },
101
+ "devDependencies": {
102
+ "@emdash-cms/admin": "1.4.0",
103
+ "@emdash-cms/blocks": "1.4.0",
104
+ "@emdash-cms/plugin-cli": "0.13.5",
105
+ "@emdash-cms/plugin-test": "0.2.11",
106
+ "@playwright/test": "1.64.1",
107
+ "emdash": "1.4.0",
108
+ "ical.js": "^2.2.1",
109
+ "jsonc-parser": "3.3.1",
110
+ "sharp": "0.35.5",
111
+ "typescript": "^5.9.0",
112
+ "vitest": "^4.1.0"
113
+ },
114
+ "dependencies": {
115
+ "@lingui/core": "5.9.5",
116
+ "zod": "4.5.4",
117
+ "@vermeulen.solutions/eventual-locales": "0.1.10"
118
+ },
119
+ "allowScripts": {
120
+ "esbuild": true,
121
+ "workerd": true
122
+ },
123
+ "peerDependenciesMeta": {
124
+ "@emdash-cms/admin": {
125
+ "optional": true
126
+ },
127
+ "@emdash-cms/blocks": {
128
+ "optional": true
129
+ },
130
+ "astro": {
131
+ "optional": true
132
+ },
133
+ "kysely": {
134
+ "optional": true
135
+ },
136
+ "react": {
137
+ "optional": true
138
+ },
139
+ "vite": {
140
+ "optional": true
141
+ }
142
+ },
143
+ "overrides": {
144
+ "sharp": "0.35.5",
145
+ "undici@7.29.0": "7.29.1"
146
+ },
147
+ "description": "Native event collections for EmDash: Portable Text, localization, recurrence, saved venues and multilingual iCalendar feeds.",
148
+ "bin": {
149
+ "eventual-schema": "scripts/export-native-schema.mjs"
150
+ }
151
+ }