@codonsplice/astro 0.2.3 → 0.2.5
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/index.js +5 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -4,3 +4,8 @@
|
|
|
4
4
|
// helpers; use them inside a client:* island (or any of the framework wrappers
|
|
5
5
|
// for reactive state).
|
|
6
6
|
export { execute, stream, compile, check, ast, initEngine, CodonSplice } from '@codonsplice/wasm/helpers'
|
|
7
|
+
|
|
8
|
+
// Re-export the SpliceQL editor primitives. Astro islands mount the editor with
|
|
9
|
+
// `mountSpliceEditor(el, { doc, onChange })` inside a <script> / client:* island,
|
|
10
|
+
// or compose `spliceqlExtensions()` into a custom CodeMirror view.
|
|
11
|
+
export { mountSpliceEditor, spliceqlExtensions } from '@codonsplice/editor'
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codonsplice/astro",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
|
-
"dependencies": { "@codonsplice/wasm": "^0.2.
|
|
6
|
+
"dependencies": { "@codonsplice/wasm": "^0.2.5", "@codonsplice/editor": "^0.2.5" },
|
|
7
7
|
"license": "MIT"
|
|
8
8
|
}
|