reactive-md 0.4.0 → 0.4.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/CHANGELOG-ch.md +113 -96
- package/CHANGELOG.md +113 -96
- package/LICENSE +21 -21
- package/README-ch.md +123 -122
- package/README-en.md +147 -146
- package/README.md +147 -146
- package/bin/reactive-md.mjs +1 -1
- package/dist-library/reactive-md-react.js +199 -103
- package/dist-library/reactive-md.css +1 -1
- package/dist-library/reactive-md.js +1 -1
- package/dist-library/{runtime-DtjdPXxJ.js → runtime-D3QTVYaz.js} +122 -122
- package/dist-standalone/reactive-md-standalone.css +1 -1
- package/dist-standalone/reactive-md-standalone.js +1 -1
- package/docs/compatibility-ch.md +3 -3
- package/docs/compatibility-en.md +3 -3
- package/docs/release-0.4.0-ch.md +4 -4
- package/docs/release-0.4.0-en.md +4 -4
- package/docs/release-0.4.1-ch.md +23 -0
- package/docs/release-0.4.1-en.md +23 -0
- package/docs/releasing-ch.md +101 -101
- package/docs/releasing-en.md +101 -101
- package/examples/integration/core/package.json +7 -7
- package/examples/integration/react/index.html +12 -12
- package/examples/integration/react/main.jsx +21 -21
- package/examples/integration/react/package.json +9 -9
- package/examples/local/catalog.reactive.md +20 -20
- package/examples/local/checklist.reactive.md +32 -32
- package/examples/local/comparison.reactive.md +47 -47
- package/examples/local/components.reactive.md +44 -44
- package/examples/local/counter.reactive.md +7 -7
- package/examples/local/diagnostics.reactive.md +54 -54
- package/examples/local/diagram.reactive.md +44 -44
- package/examples/local/gallery.reactive.md +61 -61
- package/examples/local/parameters.reactive.md +36 -36
- package/examples/local/planning.reactive.md +24 -24
- package/examples/local/pricing.reactive.md +20 -20
- package/examples/local/zh/catalog.reactive.md +20 -20
- package/examples/local/zh/charts.reactive.md +73 -73
- package/examples/local/zh/checklist.reactive.md +32 -32
- package/examples/local/zh/comparison.reactive.md +47 -47
- package/examples/local/zh/components.reactive.md +44 -44
- package/examples/local/zh/counter.reactive.md +7 -7
- package/examples/local/zh/diagnostics.reactive.md +54 -54
- package/examples/local/zh/diagram.reactive.md +44 -44
- package/examples/local/zh/gallery.reactive.md +61 -61
- package/examples/local/zh/parameters.reactive.md +36 -36
- package/examples/local/zh/planning.reactive.md +24 -24
- package/examples/local/zh/pricing.reactive.md +20 -20
- package/package.json +91 -90
package/package.json
CHANGED
|
@@ -1,90 +1,91 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "reactive-md",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"description": "Author interactive local documents in Markdown, with expression-bound inputs, charts and diagrams.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"markdown",
|
|
7
|
-
"interactive",
|
|
8
|
-
"local-first",
|
|
9
|
-
"reactive",
|
|
10
|
-
"charts",
|
|
11
|
-
"diagrams",
|
|
12
|
-
"react",
|
|
13
|
-
"typescript"
|
|
14
|
-
],
|
|
15
|
-
"license": "MIT",
|
|
16
|
-
"repository": {
|
|
17
|
-
"type": "git",
|
|
18
|
-
"url": "git+https://github.com/yao1145/ReactiveMD.git"
|
|
19
|
-
},
|
|
20
|
-
"homepage": "https://github.com/yao1145/ReactiveMD#readme",
|
|
21
|
-
"bugs": {
|
|
22
|
-
"url": "https://github.com/yao1145/ReactiveMD/issues"
|
|
23
|
-
},
|
|
24
|
-
"engines": {
|
|
25
|
-
"node": ">=22.12.0"
|
|
26
|
-
},
|
|
27
|
-
"type": "module",
|
|
28
|
-
"workspaces": ["demo"],
|
|
29
|
-
"files": ["dist-library", "dist-standalone", "bin", "cli", "README.md", "README-en.md", "README-ch.md", "CONTRIBUTING.md", "CONTRIBUTING-ch.md", "CHANGELOG.md", "CHANGELOG-ch.md", "SECURITY.md", "SECURITY-ch.md", "THIRD_PARTY_NOTICES.md", "docs", "examples"],
|
|
30
|
-
"bin": { "reactive-md": "./bin/reactive-md.mjs" },
|
|
31
|
-
"sideEffects": ["**/*.css"],
|
|
32
|
-
"scripts": {
|
|
33
|
-
"dev": "npm run build:lib && npm run dev --workspace=@reactive-md/demo",
|
|
34
|
-
"dev:lib": "vite build --config vite.lib.config.ts --watch",
|
|
35
|
-
"build": "npm run typecheck && npm run build:lib",
|
|
36
|
-
"build:standalone": "vite build --config vite.standalone.config.ts",
|
|
37
|
-
"build:lib": "vite build --config vite.lib.config.ts && npm run build:standalone && tsc -p tsconfig.lib.json && node scripts/finalize-declarations.mjs",
|
|
38
|
-
"build:demo": "npm run build && npm run build --workspace=@reactive-md/demo",
|
|
39
|
-
"preview": "npm run preview --workspace=@reactive-md/demo",
|
|
40
|
-
"typecheck": "tsc --noEmit",
|
|
41
|
-
"test": "vitest run --config vitest.config.ts",
|
|
42
|
-
"lint": "node bin/reactive-md.mjs lint",
|
|
43
|
-
"test:components": "vitest run --config vitest.config.ts tests/component-protocol.test.ts tests/conformance.test.ts",
|
|
44
|
-
"test:demo": "npm run build:lib && npm run test --workspace=@reactive-md/demo",
|
|
45
|
-
"test:browser": "npm run test:browser --workspace=@reactive-md/demo",
|
|
46
|
-
"test:shareable": "node scripts/verify-shareable.mjs",
|
|
47
|
-
"test:toolbar": "npm run test:toolbar --workspace=@reactive-md/demo",
|
|
48
|
-
"test:package": "node scripts/verify-package.mjs",
|
|
49
|
-
"test:packed": "node scripts/verify-packed.mjs",
|
|
50
|
-
"test:docs": "node scripts/verify-docs.mjs",
|
|
51
|
-
"test:theme-browser": "node scripts/verify-theme-browser.mjs",
|
|
52
|
-
"test:
|
|
53
|
-
"test:
|
|
54
|
-
"
|
|
55
|
-
"verify:
|
|
56
|
-
"verify:release
|
|
57
|
-
"verify:release:
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"benchmark
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
"./
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"react
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"react
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"@types/
|
|
80
|
-
"@types/react
|
|
81
|
-
"react": "19.3.
|
|
82
|
-
"react
|
|
83
|
-
"
|
|
84
|
-
"remark-
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "reactive-md",
|
|
3
|
+
"version": "0.4.1",
|
|
4
|
+
"description": "Author interactive local documents in Markdown, with expression-bound inputs, charts and diagrams.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"markdown",
|
|
7
|
+
"interactive",
|
|
8
|
+
"local-first",
|
|
9
|
+
"reactive",
|
|
10
|
+
"charts",
|
|
11
|
+
"diagrams",
|
|
12
|
+
"react",
|
|
13
|
+
"typescript"
|
|
14
|
+
],
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/yao1145/ReactiveMD.git"
|
|
19
|
+
},
|
|
20
|
+
"homepage": "https://github.com/yao1145/ReactiveMD#readme",
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/yao1145/ReactiveMD/issues"
|
|
23
|
+
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=22.12.0"
|
|
26
|
+
},
|
|
27
|
+
"type": "module",
|
|
28
|
+
"workspaces": ["demo"],
|
|
29
|
+
"files": ["dist-library", "dist-standalone", "bin", "cli", "README.md", "README-en.md", "README-ch.md", "CONTRIBUTING.md", "CONTRIBUTING-ch.md", "CHANGELOG.md", "CHANGELOG-ch.md", "SECURITY.md", "SECURITY-ch.md", "THIRD_PARTY_NOTICES.md", "docs", "examples"],
|
|
30
|
+
"bin": { "reactive-md": "./bin/reactive-md.mjs" },
|
|
31
|
+
"sideEffects": ["**/*.css"],
|
|
32
|
+
"scripts": {
|
|
33
|
+
"dev": "npm run build:lib && npm run dev --workspace=@reactive-md/demo",
|
|
34
|
+
"dev:lib": "vite build --config vite.lib.config.ts --watch",
|
|
35
|
+
"build": "npm run typecheck && npm run build:lib",
|
|
36
|
+
"build:standalone": "vite build --config vite.standalone.config.ts",
|
|
37
|
+
"build:lib": "vite build --config vite.lib.config.ts && npm run build:standalone && tsc -p tsconfig.lib.json && node scripts/finalize-declarations.mjs",
|
|
38
|
+
"build:demo": "npm run build && npm run build --workspace=@reactive-md/demo",
|
|
39
|
+
"preview": "npm run preview --workspace=@reactive-md/demo",
|
|
40
|
+
"typecheck": "tsc --noEmit",
|
|
41
|
+
"test": "vitest run --config vitest.config.ts",
|
|
42
|
+
"lint": "node bin/reactive-md.mjs lint",
|
|
43
|
+
"test:components": "vitest run --config vitest.config.ts tests/component-protocol.test.ts tests/conformance.test.ts",
|
|
44
|
+
"test:demo": "npm run build:lib && npm run test --workspace=@reactive-md/demo",
|
|
45
|
+
"test:browser": "npm run test:browser --workspace=@reactive-md/demo",
|
|
46
|
+
"test:shareable": "node scripts/verify-shareable.mjs",
|
|
47
|
+
"test:toolbar": "npm run test:toolbar --workspace=@reactive-md/demo",
|
|
48
|
+
"test:package": "node scripts/verify-package.mjs",
|
|
49
|
+
"test:packed": "node scripts/verify-packed.mjs",
|
|
50
|
+
"test:docs": "node scripts/verify-docs.mjs",
|
|
51
|
+
"test:theme-browser": "node scripts/verify-theme-browser.mjs",
|
|
52
|
+
"test:date-browser": "node scripts/verify-date-input-browser.mjs",
|
|
53
|
+
"test:computations-browser": "node scripts/verify-computations-browser.mjs",
|
|
54
|
+
"test:constraints-browser": "node scripts/verify-constraints-browser.mjs",
|
|
55
|
+
"verify:memo": "node scripts/verify-memo-browser.mjs",
|
|
56
|
+
"verify:release": "node scripts/verify-release.mjs",
|
|
57
|
+
"verify:release:node": "node scripts/verify-release.mjs --node",
|
|
58
|
+
"verify:release:browser": "node scripts/verify-release.mjs --browser",
|
|
59
|
+
"test:release-browser": "node scripts/verify-release-browser.mjs",
|
|
60
|
+
"benchmark": "node scripts/benchmark.mjs",
|
|
61
|
+
"benchmark:stages": "node scripts/benchmark-stages.mjs",
|
|
62
|
+
"notices": "node scripts/generate-notices.mjs",
|
|
63
|
+
"prepack": "npm run build && npm run notices"
|
|
64
|
+
},
|
|
65
|
+
"exports": {
|
|
66
|
+
".": { "types": "./dist-library/types/index.d.ts", "import": "./dist-library/reactive-md.js" },
|
|
67
|
+
"./react": { "types": "./dist-library/types/react/index.d.ts", "import": "./dist-library/reactive-md-react.js" },
|
|
68
|
+
"./styles.css": "./dist-library/reactive-md.css"
|
|
69
|
+
},
|
|
70
|
+
"peerDependencies": {
|
|
71
|
+
"react": "^19.0.0",
|
|
72
|
+
"react-dom": "^19.0.0"
|
|
73
|
+
},
|
|
74
|
+
"peerDependenciesMeta": {
|
|
75
|
+
"react": { "optional": true },
|
|
76
|
+
"react-dom": { "optional": true }
|
|
77
|
+
},
|
|
78
|
+
"devDependencies": {
|
|
79
|
+
"@types/node": "26.6.5",
|
|
80
|
+
"@types/react": "19.3.0",
|
|
81
|
+
"@types/react-dom": "19.3.0",
|
|
82
|
+
"react": "19.3.1",
|
|
83
|
+
"react-dom": "19.3.1",
|
|
84
|
+
"remark-gfm": "4.0.1",
|
|
85
|
+
"remark-parse": "11.0.0",
|
|
86
|
+
"typescript": "7.0.2",
|
|
87
|
+
"unified": "11.0.5",
|
|
88
|
+
"vite": "8.3.5",
|
|
89
|
+
"vitest": "5.0.5"
|
|
90
|
+
}
|
|
91
|
+
}
|