@virmator/docs 14.26.0 → 14.27.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/dist/docs.js +11 -3
- package/package.json +2 -2
package/dist/docs.js
CHANGED
|
@@ -97,7 +97,7 @@ export const virmatorDocsPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
97
97
|
]
|
|
98
98
|
.filter(check.isTruthy)
|
|
99
99
|
.join(' ');
|
|
100
|
-
async function runDocs(packageDir, packageName, color) {
|
|
100
|
+
async function runDocs({ packageDir, packageName, color, }) {
|
|
101
101
|
try {
|
|
102
102
|
await runShellCommand(mdCodeCommand, {
|
|
103
103
|
cwd: packageDir,
|
|
@@ -146,12 +146,20 @@ export const virmatorDocsPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
146
146
|
/* node:coverage ignore next 12 */
|
|
147
147
|
if (packageType === PackageType.MonoRoot) {
|
|
148
148
|
await runPerPackage(async ({ color, packageCwd, packageName }) => {
|
|
149
|
-
await runDocs(
|
|
149
|
+
await runDocs({
|
|
150
|
+
packageDir: packageCwd,
|
|
151
|
+
packageName,
|
|
152
|
+
color,
|
|
153
|
+
});
|
|
150
154
|
return undefined;
|
|
151
155
|
});
|
|
152
156
|
}
|
|
153
157
|
else {
|
|
154
|
-
await runDocs(
|
|
158
|
+
await runDocs({
|
|
159
|
+
packageDir: cwdPackagePath,
|
|
160
|
+
packageName: cwdPackageJson.name || basename(cwdPackagePath),
|
|
161
|
+
color: undefined,
|
|
162
|
+
});
|
|
155
163
|
}
|
|
156
164
|
});
|
|
157
165
|
/** Runs TypeDoc with a TypeScript config file just like `@virmator/docs` does. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/docs",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.27.0",
|
|
4
4
|
"description": "Default TS docs plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@augment-vir/assert": "^31.72.1",
|
|
37
37
|
"@augment-vir/common": "^31.72.1",
|
|
38
38
|
"@augment-vir/node": "^31.72.1",
|
|
39
|
-
"@virmator/core": "^14.
|
|
39
|
+
"@virmator/core": "^14.27.0",
|
|
40
40
|
"mri": "^1.2.0",
|
|
41
41
|
"runstorm": "^1.0.2",
|
|
42
42
|
"type-fest": "^5.7.0"
|