@virmator/docs 14.6.1 → 14.7.1
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 +7 -2
- package/package.json +2 -2
package/dist/docs.js
CHANGED
|
@@ -99,9 +99,14 @@ export const virmatorDocsPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
99
99
|
.join(' ');
|
|
100
100
|
async function runDocs(packageDir, packageName, color) {
|
|
101
101
|
try {
|
|
102
|
-
await runShellCommand(mdCodeCommand, {
|
|
102
|
+
await runShellCommand(mdCodeCommand, {
|
|
103
|
+
cwd: packageDir,
|
|
104
|
+
}, {
|
|
103
105
|
logPrefix: color && packageName
|
|
104
|
-
? createCommandLogPrefix({
|
|
106
|
+
? createCommandLogPrefix({
|
|
107
|
+
name: packageName,
|
|
108
|
+
color,
|
|
109
|
+
})
|
|
105
110
|
: undefined,
|
|
106
111
|
logTransform: {
|
|
107
112
|
stderr: (stderrInput) => stderrInput.replace('Run without --check to update.', 'Run without the "check" sub-command to update.'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/docs",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.7.1",
|
|
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.64.0",
|
|
37
37
|
"@augment-vir/common": "^31.64.0",
|
|
38
38
|
"@augment-vir/node": "^31.64.0",
|
|
39
|
-
"@virmator/core": "^14.
|
|
39
|
+
"@virmator/core": "^14.7.1",
|
|
40
40
|
"mri": "^1.2.0",
|
|
41
41
|
"runstorm": "^1.0.0",
|
|
42
42
|
"type-fest": "^5.4.4"
|