@travetto/doc 2.2.1 → 2.2.4
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/bin/cli-doc.ts +4 -3
- package/package.json +3 -3
package/bin/cli-doc.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as path from 'path';
|
|
2
2
|
import * as fs from 'fs/promises';
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import { CliCommand, OptionConfig, ListOptionConfig } from '@travetto/cli/src/command';
|
|
5
5
|
import { EnvInit } from '@travetto/base/bin/init';
|
|
6
6
|
import { PathUtil } from '@travetto/boot';
|
|
7
7
|
|
|
8
8
|
type Options = {
|
|
9
9
|
input: OptionConfig<string>;
|
|
10
|
-
output:
|
|
10
|
+
output: ListOptionConfig<string>;
|
|
11
11
|
format: OptionConfig<string>;
|
|
12
12
|
watch: OptionConfig<boolean>;
|
|
13
13
|
};
|
|
@@ -15,7 +15,7 @@ type Options = {
|
|
|
15
15
|
/**
|
|
16
16
|
* Command line support for generating module docs.
|
|
17
17
|
*/
|
|
18
|
-
export class
|
|
18
|
+
export class DocCommand extends CliCommand<Options> {
|
|
19
19
|
name = 'doc';
|
|
20
20
|
|
|
21
21
|
getOptions(): Options {
|
|
@@ -36,6 +36,7 @@ export class DocPlugin extends BasePlugin<Options> {
|
|
|
36
36
|
},
|
|
37
37
|
set: {
|
|
38
38
|
TRV_CONSOLE_WIDTH: '140',
|
|
39
|
+
TRV_CLI_JSON_IPC: '',
|
|
39
40
|
TRV_COLOR: '0',
|
|
40
41
|
TRV_LOG_PLAIN: '1'
|
|
41
42
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/doc",
|
|
3
3
|
"displayName": "Documentation",
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.4",
|
|
5
5
|
"description": "Documentation support for the travetto framework",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"docs",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"directory": "module/doc"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@travetto/base": "^2.2.
|
|
28
|
+
"@travetto/base": "^2.2.3",
|
|
29
29
|
"prismjs": "^1.28.0"
|
|
30
30
|
},
|
|
31
31
|
"optionalPeerDependencies": {
|
|
32
|
-
"@travetto/cli": "^2.2.
|
|
32
|
+
"@travetto/cli": "^2.2.3"
|
|
33
33
|
},
|
|
34
34
|
"private": false,
|
|
35
35
|
"publishConfig": {
|