@virmator/docs 13.3.9 → 13.3.11
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 +3 -3
- package/package.json +2 -2
package/dist/docs.js
CHANGED
|
@@ -3,6 +3,7 @@ import { readPackageJson } from '@augment-vir/node-js';
|
|
|
3
3
|
import { defaultPluginLogger, defineVirmatorPlugin, NpmDepType, PackageType, VirmatorEnv, VirmatorNoTraceError, } from '@virmator/core';
|
|
4
4
|
import mri from 'mri';
|
|
5
5
|
import { basename, join } from 'node:path';
|
|
6
|
+
import { pathToFileURL } from 'node:url';
|
|
6
7
|
/** A virmator plugin for checking and generating documentation. */
|
|
7
8
|
export const virmatorDocsPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
8
9
|
name: 'Docs',
|
|
@@ -120,9 +121,8 @@ export const virmatorDocsPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
120
121
|
return;
|
|
121
122
|
}
|
|
122
123
|
// dynamic imports are not branches
|
|
123
|
-
/* node:coverage ignore next
|
|
124
|
-
const config = (await import(join(packageDir, configs.docs.configs.typedoc.copyToPath)))
|
|
125
|
-
.typeDocConfig;
|
|
124
|
+
/* node:coverage ignore next 7 */
|
|
125
|
+
const config = (await import(pathToFileURL(join(packageDir, configs.docs.configs.typedoc.copyToPath)).toString())).typeDocConfig;
|
|
126
126
|
await runTypedoc({
|
|
127
127
|
checkOnly,
|
|
128
128
|
packageDir,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/docs",
|
|
3
|
-
"version": "13.3.
|
|
3
|
+
"version": "13.3.11",
|
|
4
4
|
"description": "Default TS docs plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@augment-vir/common": "^29.3.0",
|
|
36
36
|
"@augment-vir/node-js": "^29.3.0",
|
|
37
|
-
"@virmator/core": "^13.3.
|
|
37
|
+
"@virmator/core": "^13.3.11",
|
|
38
38
|
"chalk": "^5.3.0",
|
|
39
39
|
"mri": "^1.2.0",
|
|
40
40
|
"run-time-assertions": "^1.5.2"
|