@ampless/plugin-x-embed 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 +9 -1
- package/dist/editor.js +2 -0
- package/package.json +4 -3
package/dist/editor.d.ts
CHANGED
|
@@ -23,5 +23,13 @@ declare const AmplessTweetNode: Node<any, any>;
|
|
|
23
23
|
declare const tweetEditor: {
|
|
24
24
|
extension: Node<any, any>;
|
|
25
25
|
};
|
|
26
|
+
/**
|
|
27
|
+
* Canonical named export consumed by the codegen'd
|
|
28
|
+
* `_editor-bootstrap.tsx`. Plugins MUST export this symbol from
|
|
29
|
+
* their `./editor` module (= the subpath declared in
|
|
30
|
+
* `package.json#amplessPlugin.editorExports`) for the
|
|
31
|
+
* auto-wiring to find them.
|
|
32
|
+
*/
|
|
33
|
+
declare const editorExtension: Node<any, any>;
|
|
26
34
|
|
|
27
|
-
export { AmplessTweetNode, tweetEditor };
|
|
35
|
+
export { AmplessTweetNode, editorExtension, tweetEditor };
|
package/dist/editor.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ampless/plugin-x-embed",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.4",
|
|
4
4
|
"description": "x.com (Twitter) embed plugin for ampless — renders tweet URLs inline as blockquotes hydrated by widgets.js",
|
|
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.
|
|
35
|
+
"ampless": "1.0.0-alpha.44"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@tiptap/core": "^3.23.6",
|
|
@@ -61,7 +61,8 @@
|
|
|
61
61
|
"displayName": {
|
|
62
62
|
"en": "x.com (Twitter) embeds",
|
|
63
63
|
"ja": "x.com (Twitter) 埋め込み"
|
|
64
|
-
}
|
|
64
|
+
},
|
|
65
|
+
"editorExports": "./editor"
|
|
65
66
|
},
|
|
66
67
|
"scripts": {
|
|
67
68
|
"build": "tsup",
|