@lwrjs/markdown-view-provider 0.10.0-alpha.9 → 0.10.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/build/es/index.d.ts +1 -1
- package/build/es/markdown-parser/markdown-parser.d.ts +2 -2
- package/build/es/markdown-parser/plugins/highlighter.d.ts +1 -1
- package/build/es/markdown-parser/plugins/html-meta-collector.d.ts +2 -2
- package/build/es/markdown-parser/plugins/html-slug.d.ts +1 -1
- package/build/es/markdown-parser/plugins/md-metadata-collector.d.ts +2 -2
- package/package.json +5 -5
package/build/es/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ViewProvider, ProviderContext, LwrRoute, CompiledView, ViewIdentity, Watcher } from '@lwrjs/types';
|
|
1
|
+
import type { ViewProvider, ProviderContext, LwrRoute, CompiledView, ViewIdentity, Watcher } from '@lwrjs/types';
|
|
2
2
|
import { MarkdownParser, MarkdownParserOptions } from './markdown-parser/markdown-parser.js';
|
|
3
3
|
interface MarkdownPluginConfig {
|
|
4
4
|
parserOptions?: MarkdownParserOptions;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PluggableList } from 'unified';
|
|
2
|
-
import { AssetReference } from '@lwrjs/types';
|
|
3
|
-
import { VFile } from 'vfile';
|
|
2
|
+
import type { AssetReference } from '@lwrjs/types';
|
|
3
|
+
import type { VFile } from 'vfile';
|
|
4
4
|
export interface MarkdownParser {
|
|
5
5
|
render(vFile: VFile): Promise<MarkdownResult>;
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Transformer } from 'unified';
|
|
2
|
-
import { MarkdownMetadata } from '../markdown-parser';
|
|
1
|
+
import type { Transformer } from 'unified';
|
|
2
|
+
import type { MarkdownMetadata } from '../markdown-parser';
|
|
3
3
|
export interface HtmlMetaConfig {
|
|
4
4
|
collector: Partial<MarkdownMetadata>;
|
|
5
5
|
options?: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Transformer } from 'unified';
|
|
2
|
-
import { MarkdownMetadata } from '../markdown-parser.js';
|
|
1
|
+
import type { Transformer } from 'unified';
|
|
2
|
+
import type { MarkdownMetadata } from '../markdown-parser.js';
|
|
3
3
|
export interface MdMetaConfig {
|
|
4
4
|
collector: Partial<MarkdownMetadata>;
|
|
5
5
|
options?: {
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.10.0
|
|
7
|
+
"version": "0.10.0",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"build/**/*.d.ts"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@lwrjs/shared-utils": "0.10.0
|
|
33
|
+
"@lwrjs/shared-utils": "0.10.0",
|
|
34
34
|
"gray-matter": "^4.0.2",
|
|
35
35
|
"hast-util-has-property": "^1.0.4",
|
|
36
36
|
"hast-util-heading-rank": "^1.0.1",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"vfile": "^4.2.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@lwrjs/types": "0.10.0
|
|
49
|
+
"@lwrjs/types": "0.10.0"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
|
-
"node": ">=16.0.0
|
|
52
|
+
"node": ">=16.0.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "e6deaeef3db8aa079acefed508897eca19b3218a"
|
|
55
55
|
}
|