@virmator/docs 13.13.1 → 13.13.2
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/dist/docs.js +4 -4
- package/package.json +9 -9
package/dist/docs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { check } from '@augment-vir/assert';
|
|
1
|
+
import { assertWrap, check } from '@augment-vir/assert';
|
|
2
2
|
import { ensureError, log as logImport, RuntimeEnv } from '@augment-vir/common';
|
|
3
3
|
import { readPackageJson } from '@augment-vir/node';
|
|
4
4
|
import { defineVirmatorPlugin, NpmDepType, PackageType, VirmatorNoTraceError } from '@virmator/core';
|
|
@@ -177,7 +177,7 @@ async function runTypedocInternal(options, typeDoc, log) {
|
|
|
177
177
|
return true;
|
|
178
178
|
}
|
|
179
179
|
else if (app.options.getValue('help')) {
|
|
180
|
-
log.plain(app.options.getHelp(
|
|
180
|
+
log.plain(app.options.getHelp());
|
|
181
181
|
return true;
|
|
182
182
|
}
|
|
183
183
|
else if (app.options.getValue('showConfig')) {
|
|
@@ -209,9 +209,9 @@ async function runTypedocInternal(options, typeDoc, log) {
|
|
|
209
209
|
return false;
|
|
210
210
|
}
|
|
211
211
|
else if (app.options.getValue('emit') !== 'none') {
|
|
212
|
-
const json = app.options.getValue('json');
|
|
212
|
+
const json = assertWrap.isString(app.options.getValue('json'));
|
|
213
213
|
if (!json || app.options.isSet('out')) {
|
|
214
|
-
await app.generateDocs(project, app.options.getValue('out'));
|
|
214
|
+
await app.generateDocs(project, assertWrap.isString(app.options.getValue('out')));
|
|
215
215
|
}
|
|
216
216
|
if (json) {
|
|
217
217
|
await app.generateJson(project, json);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/docs",
|
|
3
|
-
"version": "13.13.
|
|
3
|
+
"version": "13.13.2",
|
|
4
4
|
"description": "Default TS docs plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -32,21 +32,21 @@
|
|
|
32
32
|
"test:update": "npm test update"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@augment-vir/assert": "^31.
|
|
36
|
-
"@augment-vir/common": "^31.
|
|
37
|
-
"@augment-vir/node": "^31.
|
|
38
|
-
"@virmator/core": "^13.13.
|
|
35
|
+
"@augment-vir/assert": "^31.10.1",
|
|
36
|
+
"@augment-vir/common": "^31.10.1",
|
|
37
|
+
"@augment-vir/node": "^31.10.1",
|
|
38
|
+
"@virmator/core": "^13.13.2",
|
|
39
39
|
"chalk": "^5.4.1",
|
|
40
40
|
"mri": "^1.2.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@augment-vir/test": "^31.
|
|
44
|
-
"@types/node": "^22.13.
|
|
43
|
+
"@augment-vir/test": "^31.10.1",
|
|
44
|
+
"@types/node": "^22.13.10",
|
|
45
45
|
"c8": "^10.1.3",
|
|
46
|
-
"esbuild": "^0.25.
|
|
46
|
+
"esbuild": "^0.25.1",
|
|
47
47
|
"istanbul-smart-text-reporter": "^1.1.5",
|
|
48
48
|
"markdown-code-example-inserter": "^3.0.3",
|
|
49
|
-
"typedoc": "^0.
|
|
49
|
+
"typedoc": "^0.28.0"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">=22"
|