markstream-angular 0.0.3 → 0.0.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.
- package/README.md +14 -5
- package/dist/README.md +117 -0
- package/dist/fesm2022/markstream-angular.mjs +10490 -0
- package/dist/fesm2022/markstream-angular.mjs.map +1 -0
- package/dist/index.css +1363 -1
- package/dist/index.d.ts +1490 -0
- package/package.json +47 -16
- package/dist/index.js +0 -8620
- package/dist/types/index.d.ts +0 -6
- package/dist/types/markstream-angular/src/components/AdmonitionNode/AdmonitionNode.component.d.ts +0 -11
- package/dist/types/markstream-angular/src/components/BlockquoteNode/BlockquoteNode.component.d.ts +0 -9
- package/dist/types/markstream-angular/src/components/CheckboxNode/CheckboxNode.component.d.ts +0 -5
- package/dist/types/markstream-angular/src/components/CodeBlockNode/CodeBlockNode.component.d.ts +0 -143
- package/dist/types/markstream-angular/src/components/CodeBlockNode/HtmlPreviewFrame.component.d.ts +0 -12
- package/dist/types/markstream-angular/src/components/D2BlockNode/D2BlockNode.component.d.ts +0 -52
- package/dist/types/markstream-angular/src/components/DefinitionListNode/DefinitionListNode.component.d.ts +0 -11
- package/dist/types/markstream-angular/src/components/DynamicNodeHost/DynamicNodeHost.component.d.ts +0 -16
- package/dist/types/markstream-angular/src/components/EmojiNode/EmojiNode.component.d.ts +0 -5
- package/dist/types/markstream-angular/src/components/EmphasisNode/EmphasisNode.component.d.ts +0 -8
- package/dist/types/markstream-angular/src/components/FallbackComponent/FallbackComponent.component.d.ts +0 -14
- package/dist/types/markstream-angular/src/components/FootnoteAnchorNode/FootnoteAnchorNode.component.d.ts +0 -7
- package/dist/types/markstream-angular/src/components/FootnoteNode/FootnoteNode.component.d.ts +0 -9
- package/dist/types/markstream-angular/src/components/FootnoteReferenceNode/FootnoteReferenceNode.component.d.ts +0 -7
- package/dist/types/markstream-angular/src/components/HardBreakNode/HardBreakNode.component.d.ts +0 -2
- package/dist/types/markstream-angular/src/components/HeadingNode/HeadingNode.component.d.ts +0 -10
- package/dist/types/markstream-angular/src/components/HighlightNode/HighlightNode.component.d.ts +0 -8
- package/dist/types/markstream-angular/src/components/HtmlBlockNode/HtmlBlockNode.component.d.ts +0 -10
- package/dist/types/markstream-angular/src/components/HtmlInlineNode/HtmlInlineNode.component.d.ts +0 -10
- package/dist/types/markstream-angular/src/components/ImageNode/ImageNode.component.d.ts +0 -7
- package/dist/types/markstream-angular/src/components/InfographicBlockNode/InfographicBlockNode.component.d.ts +0 -71
- package/dist/types/markstream-angular/src/components/InlineCodeNode/InlineCodeNode.component.d.ts +0 -17
- package/dist/types/markstream-angular/src/components/InsertNode/InsertNode.component.d.ts +0 -8
- package/dist/types/markstream-angular/src/components/LinkNode/LinkNode.component.d.ts +0 -25
- package/dist/types/markstream-angular/src/components/ListItemNode/ListItemNode.component.d.ts +0 -9
- package/dist/types/markstream-angular/src/components/ListNode/ListNode.component.d.ts +0 -11
- package/dist/types/markstream-angular/src/components/MathBlockNode/MathBlockNode.component.d.ts +0 -17
- package/dist/types/markstream-angular/src/components/MathInlineNode/MathInlineNode.component.d.ts +0 -18
- package/dist/types/markstream-angular/src/components/MermaidBlockNode/MermaidBlockNode.component.d.ts +0 -91
- package/dist/types/markstream-angular/src/components/NestedRenderer/NestedRenderer.component.d.ts +0 -33
- package/dist/types/markstream-angular/src/components/NodeOutlet/NodeOutlet.component.d.ts +0 -31
- package/dist/types/markstream-angular/src/components/NodeRenderer/NodeRenderer.component.d.ts +0 -161
- package/dist/types/markstream-angular/src/components/ParagraphNode/ParagraphNode.component.d.ts +0 -25
- package/dist/types/markstream-angular/src/components/PreCodeNode/PreCodeNode.component.d.ts +0 -9
- package/dist/types/markstream-angular/src/components/ReferenceNode/ReferenceNode.component.d.ts +0 -5
- package/dist/types/markstream-angular/src/components/StrikethroughNode/StrikethroughNode.component.d.ts +0 -8
- package/dist/types/markstream-angular/src/components/StrongNode/StrongNode.component.d.ts +0 -8
- package/dist/types/markstream-angular/src/components/SubscriptNode/SubscriptNode.component.d.ts +0 -8
- package/dist/types/markstream-angular/src/components/SuperscriptNode/SuperscriptNode.component.d.ts +0 -8
- package/dist/types/markstream-angular/src/components/TableNode/TableNode.component.d.ts +0 -29
- package/dist/types/markstream-angular/src/components/TextNode/TextNode.component.d.ts +0 -19
- package/dist/types/markstream-angular/src/components/TextNode/streamingTextState.d.ts +0 -2
- package/dist/types/markstream-angular/src/components/ThematicBreakNode/ThematicBreakNode.component.d.ts +0 -2
- package/dist/types/markstream-angular/src/components/VmrContainerNode/VmrContainerNode.component.d.ts +0 -8
- package/dist/types/markstream-angular/src/components/shared/diagram-height.d.ts +0 -9
- package/dist/types/markstream-angular/src/components/shared/node-helpers.d.ts +0 -176
- package/dist/types/markstream-angular/src/components/shared/node-outlet-helpers.d.ts +0 -10
- package/dist/types/markstream-angular/src/components/shared/render-window.d.ts +0 -18
- package/dist/types/markstream-angular/src/components/shared/rich-block-helpers.d.ts +0 -6
- package/dist/types/markstream-angular/src/components/shared/safe-attrs.directive.d.ts +0 -11
- package/dist/types/markstream-angular/src/components/shared/smooth-streaming-scope.d.ts +0 -5
- package/dist/types/markstream-angular/src/customComponents.d.ts +0 -9
- package/dist/types/markstream-angular/src/enhanceRenderedHtml.d.ts +0 -22
- package/dist/types/markstream-angular/src/hydrateCustomTagContent.d.ts +0 -2
- package/dist/types/markstream-angular/src/i18n/useSafeI18n.d.ts +0 -4
- package/dist/types/markstream-angular/src/index.d.ts +0 -77
- package/dist/types/markstream-angular/src/markstream-angular.component.d.ts +0 -2
- package/dist/types/markstream-angular/src/optional/d2.d.ts +0 -17
- package/dist/types/markstream-angular/src/optional/infographic.d.ts +0 -13
- package/dist/types/markstream-angular/src/optional/katex.d.ts +0 -9
- package/dist/types/markstream-angular/src/optional/mermaid.d.ts +0 -27
- package/dist/types/markstream-angular/src/optional/monaco.d.ts +0 -18
- package/dist/types/markstream-angular/src/parseNestedMarkdownToNodes.d.ts +0 -19
- package/dist/types/markstream-angular/src/renderMarkdownHtml.d.ts +0 -30
- package/dist/types/markstream-angular/src/sanitizeHtmlContent.d.ts +0 -2
- package/dist/types/markstream-angular/src/sanitizeSvg.d.ts +0 -2
- package/dist/types/markstream-angular/src/services/smooth-markdown-stream.service.d.ts +0 -33
- package/dist/types/markstream-angular/src/tooltip/singletonTooltip.d.ts +0 -3
- package/dist/types/markstream-angular/src/types/monaco.d.ts +0 -65
- package/dist/types/markstream-angular/src/utils/languageIcon.d.ts +0 -6
- package/dist/types/markstream-angular/src/utils/normalizeKaTeXRenderInput.d.ts +0 -1
- package/dist/types/markstream-angular/src/workers/katexCdnWorker.d.ts +0 -20
- package/dist/types/markstream-angular/src/workers/katexRenderer.worker.d.ts +0 -0
- package/dist/types/markstream-angular/src/workers/katexWorkerClient.d.ts +0 -35
- package/dist/types/markstream-angular/src/workers/mermaidCdnWorker.d.ts +0 -15
- package/dist/types/markstream-angular/src/workers/mermaidParser.worker.d.ts +0 -1
- package/dist/types/markstream-angular/src/workers/mermaidWorkerClient.d.ts +0 -15
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markstream-angular",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
5
|
-
"description": "
|
|
4
|
+
"version": "0.0.6",
|
|
5
|
+
"description": "Angular 20+ standalone streaming Markdown renderer for AI chat, LLM token streams, SSE/WebSocket output, incomplete Markdown, Mermaid, KaTeX, Monaco-powered code blocks, and safe Angular component rendering.",
|
|
6
6
|
"author": "Simon He",
|
|
7
7
|
"license": "MIT",
|
|
8
|
-
"homepage": "https://
|
|
8
|
+
"homepage": "https://markstream.simonhe.me/frameworks/angular",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "git+https://github.com/Simon-He95/markstream-vue.git",
|
|
@@ -16,27 +16,53 @@
|
|
|
16
16
|
},
|
|
17
17
|
"keywords": [
|
|
18
18
|
"angular",
|
|
19
|
+
"angular-standalone",
|
|
20
|
+
"angular20",
|
|
19
21
|
"markdown",
|
|
20
22
|
"markdown-renderer",
|
|
23
|
+
"ngx-markdown-alternative",
|
|
24
|
+
"angular-markdown",
|
|
21
25
|
"streaming-markdown",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
26
|
+
"streaming-markdown-renderer",
|
|
27
|
+
"angular-streaming-markdown",
|
|
28
|
+
"angular-ai-chat",
|
|
29
|
+
"ai-markdown-renderer",
|
|
30
|
+
"ai-chat",
|
|
31
|
+
"llm",
|
|
32
|
+
"llm-markdown",
|
|
33
|
+
"llm-streaming",
|
|
34
|
+
"sse",
|
|
35
|
+
"sse-markdown",
|
|
36
|
+
"websocket",
|
|
37
|
+
"websocket-markdown",
|
|
38
|
+
"incomplete-markdown",
|
|
39
|
+
"mermaid",
|
|
40
|
+
"streaming-mermaid",
|
|
41
|
+
"katex",
|
|
42
|
+
"streaming-katex",
|
|
43
|
+
"monaco-editor",
|
|
44
|
+
"streaming-code-blocks",
|
|
45
|
+
"large-documents",
|
|
46
|
+
"custom-components",
|
|
47
|
+
"alpha",
|
|
48
|
+
"markstream-angular",
|
|
49
|
+
"markstream"
|
|
24
50
|
],
|
|
25
51
|
"sideEffects": [
|
|
26
52
|
"**/*.css"
|
|
27
53
|
],
|
|
28
54
|
"exports": {
|
|
29
55
|
".": {
|
|
30
|
-
"types": "./dist/
|
|
31
|
-
"import": "./dist/
|
|
56
|
+
"types": "./dist/index.d.ts",
|
|
57
|
+
"import": "./dist/fesm2022/markstream-angular.mjs"
|
|
32
58
|
},
|
|
33
59
|
"./index.css": "./dist/index.css",
|
|
34
60
|
"./workers/katexRenderer.worker": "./dist/workers/katexRenderer.worker.js",
|
|
35
61
|
"./workers/mermaidParser.worker": "./dist/workers/mermaidParser.worker.js"
|
|
36
62
|
},
|
|
37
|
-
"main": "./dist/
|
|
38
|
-
"module": "./dist/
|
|
39
|
-
"types": "./dist/
|
|
63
|
+
"main": "./dist/fesm2022/markstream-angular.mjs",
|
|
64
|
+
"module": "./dist/fesm2022/markstream-angular.mjs",
|
|
65
|
+
"types": "./dist/index.d.ts",
|
|
40
66
|
"files": [
|
|
41
67
|
"dist"
|
|
42
68
|
],
|
|
@@ -47,7 +73,7 @@
|
|
|
47
73
|
"@terrastruct/d2": ">=0.1.33",
|
|
48
74
|
"katex": ">=0.16.22",
|
|
49
75
|
"mermaid": ">=11",
|
|
50
|
-
"stream-monaco": ">=0.0.
|
|
76
|
+
"stream-monaco": ">=0.0.45"
|
|
51
77
|
},
|
|
52
78
|
"peerDependenciesMeta": {
|
|
53
79
|
"@antv/infographic": {
|
|
@@ -68,23 +94,28 @@
|
|
|
68
94
|
},
|
|
69
95
|
"dependencies": {
|
|
70
96
|
"@floating-ui/dom": "^1.7.6",
|
|
71
|
-
"
|
|
72
|
-
"
|
|
97
|
+
"markstream-core": "1.0.3",
|
|
98
|
+
"stream-markdown-parser": "1.0.9"
|
|
73
99
|
},
|
|
74
100
|
"devDependencies": {
|
|
101
|
+
"@angular/common": "^20.3.25",
|
|
102
|
+
"@angular/compiler": "^20.3.25",
|
|
103
|
+
"@angular/compiler-cli": "^20.3.25",
|
|
104
|
+
"@angular/core": "^20.3.25",
|
|
75
105
|
"@types/node": "^18.19.130",
|
|
106
|
+
"ng-packagr": "^20.3.2",
|
|
76
107
|
"rollup": "^3.30.0",
|
|
77
108
|
"typescript": "^5.9.3",
|
|
78
|
-
"vite": "^7.3.
|
|
109
|
+
"vite": "^7.3.5",
|
|
79
110
|
"vite-plugin-dts": "^4.5.4"
|
|
80
111
|
},
|
|
81
112
|
"scripts": {
|
|
82
|
-
"build": "pnpm --dir ../markstream-core build && vite build --mode npm",
|
|
113
|
+
"build": "pnpm --dir ../markdown-parser build && pnpm --dir ../markstream-core build && ng-packagr -p ng-package.json -c tsconfig.build.json && vite build --config vite.config.workers.ts --mode npm",
|
|
83
114
|
"dev": "vite dev",
|
|
84
115
|
"preview": "vite preview",
|
|
85
116
|
"typecheck": "tsc --noEmit",
|
|
86
117
|
"check:core-published": "node ../../scripts/check-core-published.mjs --package-json package.json --core-package-json ../markstream-core/package.json",
|
|
87
118
|
"check:workspace-deps-published": "node ../../scripts/check-workspace-deps-published.mjs --package-json package.json",
|
|
88
|
-
"release": "pnpm run check:workspace-deps-published && bumpp --commit --no-tag --no-push && pnpm publish --access public && node ../../scripts/tag-package.mjs --package-json package.json --push"
|
|
119
|
+
"release": "pnpm run check:workspace-deps-published && bumpp --all --commit --no-tag --no-push --execute 'pnpm --workspace-root run docs:llms:generate' && pnpm publish --access public && node ../../scripts/tag-package.mjs --package-json package.json --push"
|
|
89
120
|
}
|
|
90
121
|
}
|