stream-mdx 0.3.0 → 0.4.0
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 +6 -6
- package/dist/core.d.cts +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/worker/direct.cjs +30 -0
- package/dist/worker/direct.d.cts +1 -0
- package/dist/worker/direct.d.ts +1 -0
- package/dist/worker/direct.mjs +7 -0
- package/package.json +10 -5
package/README.md
CHANGED
|
@@ -124,12 +124,12 @@ If you're building a terminal UI, use:
|
|
|
124
124
|
- Docs site: https://kmccleary3301.github.io/stream-mdx/
|
|
125
125
|
- Live demo: https://kmccleary3301.github.io/stream-mdx/demo
|
|
126
126
|
- Showcase: https://kmccleary3301.github.io/stream-mdx/showcase
|
|
127
|
-
- Manual:
|
|
128
|
-
- API:
|
|
129
|
-
- React integration:
|
|
130
|
-
- Plugins cookbook:
|
|
131
|
-
- Status/architecture
|
|
132
|
-
-
|
|
127
|
+
- Manual: https://github.com/kmccleary3301/stream-mdx/blob/main/docs/COMPREHENSIVE_PROJECT_DOCUMENTATION.md
|
|
128
|
+
- Public API: https://github.com/kmccleary3301/stream-mdx/blob/main/docs/PUBLIC_API.md
|
|
129
|
+
- React integration: https://github.com/kmccleary3301/stream-mdx/blob/main/docs/REACT_INTEGRATION_GUIDE.md
|
|
130
|
+
- Plugins cookbook: https://github.com/kmccleary3301/stream-mdx/blob/main/docs/STREAMING_MARKDOWN_PLUGINS_COOKBOOK.md
|
|
131
|
+
- Status/architecture: https://github.com/kmccleary3301/stream-mdx/blob/main/docs/STREAMING_MARKDOWN_V2_STATUS.md
|
|
132
|
+
- TUI/CLI protocol guide: https://github.com/kmccleary3301/stream-mdx/blob/main/docs/CLI_USAGE.md
|
|
133
133
|
|
|
134
134
|
## Package map
|
|
135
135
|
|
package/dist/core.d.cts
CHANGED
|
@@ -11,6 +11,6 @@ import '@stream-mdx/plugins/math';
|
|
|
11
11
|
import '@stream-mdx/plugins/mdx';
|
|
12
12
|
import '@stream-mdx/plugins/registry';
|
|
13
13
|
import '@stream-mdx/plugins/tables';
|
|
14
|
+
import '@stream-mdx/plugins/math/renderer';
|
|
14
15
|
import '@stream-mdx/worker/mdx-compile';
|
|
15
16
|
import '@stream-mdx/worker/node';
|
|
16
|
-
import '@stream-mdx/plugins/math/renderer';
|
package/dist/core.d.ts
CHANGED
|
@@ -11,6 +11,6 @@ import '@stream-mdx/plugins/math';
|
|
|
11
11
|
import '@stream-mdx/plugins/mdx';
|
|
12
12
|
import '@stream-mdx/plugins/registry';
|
|
13
13
|
import '@stream-mdx/plugins/tables';
|
|
14
|
+
import '@stream-mdx/plugins/math/renderer';
|
|
14
15
|
import '@stream-mdx/worker/mdx-compile';
|
|
15
16
|
import '@stream-mdx/worker/node';
|
|
16
|
-
import '@stream-mdx/plugins/math/renderer';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/worker/direct.ts
|
|
21
|
+
var direct_exports = {};
|
|
22
|
+
__export(direct_exports, {
|
|
23
|
+
compileMarkdownSnapshotDirect: () => import_worker.compileMarkdownSnapshotDirect
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(direct_exports);
|
|
26
|
+
var import_worker = require("@stream-mdx/worker");
|
|
27
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
28
|
+
0 && (module.exports = {
|
|
29
|
+
compileMarkdownSnapshotDirect
|
|
30
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CompileMarkdownSnapshotDirectOptions, CompileMarkdownSnapshotDirectResult, SnapshotArtifactV1, compileMarkdownSnapshotDirect } from '@stream-mdx/worker';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CompileMarkdownSnapshotDirectOptions, CompileMarkdownSnapshotDirectResult, SnapshotArtifactV1, compileMarkdownSnapshotDirect } from '@stream-mdx/worker';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stream-mdx",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "StreamMDX convenience package (re-exports @stream-mdx/*).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -41,6 +41,11 @@
|
|
|
41
41
|
"import": "./dist/worker/mdx-compile.mjs",
|
|
42
42
|
"require": "./dist/worker/mdx-compile.cjs"
|
|
43
43
|
},
|
|
44
|
+
"./worker/direct": {
|
|
45
|
+
"types": "./dist/worker/direct.d.ts",
|
|
46
|
+
"import": "./dist/worker/direct.mjs",
|
|
47
|
+
"require": "./dist/worker/direct.cjs"
|
|
48
|
+
},
|
|
44
49
|
"./worker/node": {
|
|
45
50
|
"types": "./dist/worker/node.d.ts",
|
|
46
51
|
"import": "./dist/worker/node.mjs",
|
|
@@ -114,10 +119,10 @@
|
|
|
114
119
|
"prepack": "npm run build"
|
|
115
120
|
},
|
|
116
121
|
"dependencies": {
|
|
117
|
-
"@stream-mdx/core": "0.
|
|
118
|
-
"@stream-mdx/plugins": "0.
|
|
119
|
-
"@stream-mdx/react": "0.
|
|
120
|
-
"@stream-mdx/worker": "0.
|
|
122
|
+
"@stream-mdx/core": "0.4.0",
|
|
123
|
+
"@stream-mdx/plugins": "0.4.0",
|
|
124
|
+
"@stream-mdx/react": "0.4.0",
|
|
125
|
+
"@stream-mdx/worker": "0.4.0"
|
|
121
126
|
},
|
|
122
127
|
"peerDependencies": {
|
|
123
128
|
"react": ">=18.2.0",
|