@travetto/doc 8.0.0-alpha.23 → 8.0.0-alpha.24
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 +12 -12
- package/src/render/prism.d.ts +12 -13
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/doc",
|
|
3
|
-
"version": "8.0.0-alpha.
|
|
3
|
+
"version": "8.0.0-alpha.24",
|
|
4
|
+
"private": false,
|
|
4
5
|
"description": "Documentation support for the Travetto framework",
|
|
5
6
|
"keywords": [
|
|
6
7
|
"docs",
|
|
@@ -10,8 +11,12 @@
|
|
|
10
11
|
"homepage": "https://travetto.io",
|
|
11
12
|
"license": "MIT",
|
|
12
13
|
"author": {
|
|
13
|
-
"
|
|
14
|
-
"
|
|
14
|
+
"name": "Travetto Framework",
|
|
15
|
+
"email": "travetto.framework@gmail.com"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"url": "git+https://github.com/travetto/travetto.git",
|
|
19
|
+
"directory": "module/doc"
|
|
15
20
|
},
|
|
16
21
|
"files": [
|
|
17
22
|
"__index__.ts",
|
|
@@ -19,19 +24,18 @@
|
|
|
19
24
|
"support"
|
|
20
25
|
],
|
|
21
26
|
"main": "__index__.ts",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"directory": "module/doc"
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
25
29
|
},
|
|
26
30
|
"dependencies": {
|
|
27
|
-
"@travetto/runtime": "^8.0.0-alpha.
|
|
31
|
+
"@travetto/runtime": "^8.0.0-alpha.24",
|
|
28
32
|
"@types/markdown-it": "^14.2.0",
|
|
29
33
|
"@types/prismjs": "^1.26.6",
|
|
30
34
|
"markdown-it": "^15.0.0",
|
|
31
35
|
"prismjs": "^1.30.0"
|
|
32
36
|
},
|
|
33
37
|
"peerDependencies": {
|
|
34
|
-
"@travetto/cli": "^8.0.0-alpha.
|
|
38
|
+
"@travetto/cli": "^8.0.0-alpha.33"
|
|
35
39
|
},
|
|
36
40
|
"peerDependenciesMeta": {
|
|
37
41
|
"@travetto/cli": {
|
|
@@ -44,9 +48,5 @@
|
|
|
44
48
|
],
|
|
45
49
|
"workspaceInclude": true,
|
|
46
50
|
"displayName": "Documentation"
|
|
47
|
-
},
|
|
48
|
-
"private": false,
|
|
49
|
-
"publishConfig": {
|
|
50
|
-
"access": "public"
|
|
51
51
|
}
|
|
52
52
|
}
|
package/src/render/prism.d.ts
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
declare namespace PrismAlt {
|
|
2
|
-
export interface Grammar {
|
|
3
|
-
export const languages: { [language: string]: Grammar
|
|
4
|
-
export const plugins: Record<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
): string;
|
|
2
|
+
export interface Grammar {}
|
|
3
|
+
export const languages: { [language: string]: Grammar };
|
|
4
|
+
export const plugins: Record<
|
|
5
|
+
string,
|
|
6
|
+
{
|
|
7
|
+
setDefaults(config: Record<string, unknown>): void;
|
|
8
|
+
normalize(text: string, config?: unknown): string;
|
|
9
|
+
}
|
|
10
|
+
>;
|
|
11
|
+
export function highlight(text: string, grammar: Grammar, language: string): string;
|
|
13
12
|
}
|
|
14
13
|
|
|
15
|
-
declare module
|
|
14
|
+
declare module 'prismjs' {
|
|
16
15
|
export default PrismAlt;
|
|
17
|
-
}
|
|
16
|
+
}
|