@ampless/plugin-youtube 1.0.0-alpha.3 → 1.0.0-alpha.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/dist/editor.d.ts CHANGED
@@ -26,5 +26,13 @@ declare const AmplessYoutubeNode: Node<any, any>;
26
26
  declare const youtubeEditor: {
27
27
  extension: Node<any, any>;
28
28
  };
29
+ /**
30
+ * Canonical named export consumed by the codegen'd
31
+ * `_editor-bootstrap.tsx`. Plugins MUST export this symbol from
32
+ * their `./editor` module (= the subpath declared in
33
+ * `package.json#amplessPlugin.editorExports`) for the
34
+ * auto-wiring to find them.
35
+ */
36
+ declare const editorExtension: Node<any, any>;
29
37
 
30
- export { AmplessYoutubeNode, youtubeEditor };
38
+ export { AmplessYoutubeNode, editorExtension, youtubeEditor };
package/dist/editor.js CHANGED
@@ -87,7 +87,9 @@ var AmplessYoutubeNode = Node.create({
87
87
  var youtubeEditor = {
88
88
  extension: AmplessYoutubeNode
89
89
  };
90
+ var editorExtension = AmplessYoutubeNode;
90
91
  export {
91
92
  AmplessYoutubeNode,
93
+ editorExtension,
92
94
  youtubeEditor
93
95
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampless/plugin-youtube",
3
- "version": "1.0.0-alpha.3",
3
+ "version": "1.0.0-alpha.4",
4
4
  "description": "YouTube embed plugin for ampless — renders youtube.com / youtu.be URLs inline as iframes in tiptap + markdown posts",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -32,7 +32,7 @@
32
32
  "peerDependencies": {
33
33
  "@tiptap/core": "^3",
34
34
  "react": "^18 || ^19",
35
- "ampless": "1.0.0-alpha.43"
35
+ "ampless": "1.0.0-alpha.44"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@tiptap/core": "^3.23.6",
@@ -59,7 +59,8 @@
59
59
  "displayName": {
60
60
  "en": "YouTube embeds",
61
61
  "ja": "YouTube 埋め込み"
62
- }
62
+ },
63
+ "editorExports": "./editor"
63
64
  },
64
65
  "scripts": {
65
66
  "build": "tsup",