@mdwrk/markdown-renderer-core 1.0.0 → 1.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdwrk/markdown-renderer-core",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -21,27 +21,19 @@
21
21
  "portable",
22
22
  "core"
23
23
  ],
24
- "description": "Portable markdown parsing, heading extraction, semantic HTML rendering, and HTML document serialization for Markdown Workspace.",
25
- "dependencies": {
26
- "gray-matter": "^4.0.3",
27
- "mdast-util-to-string": "^4.0.0",
28
- "rehype-stringify": "^10.0.1",
29
- "remark-gfm": "^4.0.1",
30
- "remark-parse": "^11.0.0",
31
- "remark-rehype": "^11.1.2",
32
- "remark-supersub": "^1.0.0",
33
- "unified": "^11.0.5",
34
- "unist-util-visit": "^5.0.0"
35
- },
36
- "devDependencies": {
37
- "vitest": "^2.1.8"
38
- },
24
+ "description": "Self-contained markdown parsing, CommonMark-core-oriented HTML rendering, heading extraction, and HTML document serialization for MdWrkSpace.",
25
+ "dependencies": {},
26
+ "devDependencies": {},
39
27
  "scripts": {
40
- "build": "tsc -p tsconfig.json",
41
- "typecheck": "tsc --noEmit -p tsconfig.json",
42
- "lint": "npm run typecheck",
43
- "test": "npm run build && node ./tests/run-smoke.mjs",
44
- "prepack": "npm run build"
28
+ "build": "node -e \"console.log('dist is committed in this checkpoint')\"",
29
+ "typecheck": "node -e \"console.log('typecheck deferred in this checkpoint')\"",
30
+ "lint": "node -e \"console.log('lint deferred in this checkpoint')\"",
31
+ "test": "node ./tests/run-smoke.mjs && node ./tests/commonmark-core-corpus.mjs && node ./tests/gfm-default-profile.mjs && node ./tests/optional-profiles.mjs && node ./tests/preview-export-policy.mjs && node ./tests/negative-cases.mjs",
32
+ "prepack": "node -e \"console.log('prepack uses committed dist')\"",
33
+ "test:gfm": "node ./tests/gfm-default-profile.mjs",
34
+ "test:optional-profiles": "node ./tests/optional-profiles.mjs",
35
+ "test:commonmark:official": "node ./tests/commonmark-official-corpus.mjs",
36
+ "test:gfm:official": "node ./tests/gfm-official-corpus.mjs"
45
37
  },
46
38
  "exports": {
47
39
  ".": {
@@ -79,6 +71,10 @@
79
71
  "./html": {
80
72
  "types": "./dist/html.d.ts",
81
73
  "import": "./dist/html.js"
74
+ },
75
+ "./engine": {
76
+ "types": "./dist/engine.d.ts",
77
+ "import": "./dist/engine.js"
82
78
  }
83
79
  },
84
80
  "main": "./dist/index.js",