opentui-markdown-render 0.2.5 → 0.2.6

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.
Files changed (3) hide show
  1. package/dist/core.js +508 -0
  2. package/dist/index.js +13828 -0
  3. package/package.json +15 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opentui-markdown-render",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "OpenTUI Markdown renderer with optional native LaTeX math",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -8,11 +8,20 @@
8
8
  "otmd": "bin/otmd.ts"
9
9
  },
10
10
  "exports": {
11
- ".": "./src/index.ts",
12
- "./core": "./src/core/index.ts"
11
+ ".": {
12
+ "types": "./src/index.ts",
13
+ "import": "./dist/index.js",
14
+ "default": "./dist/index.js"
15
+ },
16
+ "./core": {
17
+ "types": "./src/core/index.ts",
18
+ "import": "./dist/core.js",
19
+ "default": "./dist/core.js"
20
+ }
13
21
  },
14
22
  "files": [
15
23
  "src",
24
+ "dist",
16
25
  "bin",
17
26
  "native/Cargo.toml",
18
27
  "native/Cargo.lock",
@@ -26,6 +35,7 @@
26
35
  ],
27
36
  "scripts": {
28
37
  "build:cli": "bun run scripts/build-cli.ts",
38
+ "build:library": "bun run scripts/build-library.ts",
29
39
  "build:native": "bun run scripts/build-native.ts",
30
40
  "generate:examples": "bun run scripts/generate-example-assets.ts",
31
41
  "demo": "bun --preload @opentui/solid/preload examples/app.tsx",
@@ -39,9 +49,9 @@
39
49
  "demo:frame": "bun --preload @opentui/solid/preload examples/app.tsx frame.md",
40
50
  "test": "bun test --preload @opentui/solid/preload --timeout 30000",
41
51
  "typecheck": "tsgo --noEmit",
42
- "verify": "bun run build:native && bun run build:cli && bun run typecheck && bun run test && bun run verify:native",
52
+ "verify": "bun run build:native && bun run build:library && bun run build:cli && bun run typecheck && bun run test && bun run verify:native",
43
53
  "verify:native": "cargo test --manifest-path native/Cargo.toml",
44
- "prepack": "bun run build:native && bun run build:cli",
54
+ "prepack": "bun run build:native && bun run build:library && bun run build:cli",
45
55
  "demo:all": "bun --preload @opentui/solid/preload examples/app.tsx all.md"
46
56
  },
47
57
  "peerDependencies": {