virmator 11.2.0 → 11.3.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.
|
@@ -24,6 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.docsCommandDefinition = void 0;
|
|
27
|
+
const node_js_1 = require("@augment-vir/node-js");
|
|
27
28
|
const path_1 = require("path");
|
|
28
29
|
const define_command_1 = require("../api/command/define-command");
|
|
29
30
|
const define_command_inputs_1 = require("../api/command/define-command-inputs");
|
|
@@ -85,7 +86,14 @@ exports.docsCommandDefinition = (0, define_command_1.defineCommand)({
|
|
|
85
86
|
},
|
|
86
87
|
],
|
|
87
88
|
};
|
|
88
|
-
}, async ({ repoDir, packageDir, configFiles, filteredInputArgs, inputSubCommands, subCommands, packageBinName, }) => {
|
|
89
|
+
}, async ({ repoDir, packageDir, configFiles, filteredInputArgs, inputSubCommands, subCommands, packageBinName, logging, }) => {
|
|
90
|
+
const packageJson = await (0, node_js_1.readPackageJson)(repoDir);
|
|
91
|
+
if (packageJson.private) {
|
|
92
|
+
logging.stdout('Package is private. Skipping doc check.');
|
|
93
|
+
return {
|
|
94
|
+
success: true,
|
|
95
|
+
};
|
|
96
|
+
}
|
|
89
97
|
const typeDocConfigPath = (0, path_1.join)(repoDir, configFiles.typeDocConfig.copyToPathRelativeToRepoDir);
|
|
90
98
|
return await (0, typescript_config_file_1.withTypescriptConfigFile)(typeDocConfigPath, async (loadedConfig) => {
|
|
91
99
|
const containsManualMarkdownArgs = filteredInputArgs.some((arg) => arg.match(/\.md['"]?$/));
|
|
@@ -67,7 +67,7 @@ exports.frontendCommandDefinition = (0, define_command_1.defineCommand)({
|
|
|
67
67
|
configFileDefinition: inputs.configFiles.vite,
|
|
68
68
|
packageDir: package_paths_1.virmatorPackageDir,
|
|
69
69
|
});
|
|
70
|
-
const tempFilePath = (0, path_1.join)((0, path_1.dirname)(viteConfigPath), `config
|
|
70
|
+
const tempFilePath = (0, path_1.join)((0, path_1.dirname)(viteConfigPath), `generated-config-${Date.now()}-${(0, common_1.randomString)()}.cjs`);
|
|
71
71
|
const oldWrite = process.stdout.write;
|
|
72
72
|
try {
|
|
73
73
|
const needToBuild = !!inputs.inputSubCommands.length;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "virmator",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.3.0",
|
|
4
4
|
"description": "Handle common package configs, commands, and dependencies.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"automation",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"chai": "^4.3.10",
|
|
73
73
|
"cspell": "^8.3.2",
|
|
74
74
|
"dependency-cruiser": "^16.0.0",
|
|
75
|
-
"element-vir": "^
|
|
75
|
+
"element-vir": "^20.0.0",
|
|
76
76
|
"esbuild": "^0.19.11",
|
|
77
77
|
"fs-extra": "^11.2.0",
|
|
78
78
|
"istanbul-smart-text-reporter": "^1.1.3",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"mocha": "^10.2.0",
|
|
81
81
|
"mocha-spec-reporter-with-file-names": "^0.0.3",
|
|
82
82
|
"npm-check-updates": "~16.12.3",
|
|
83
|
-
"prettier": "^3.
|
|
83
|
+
"prettier": "^3.2.2",
|
|
84
84
|
"prettier-plugin-interpolated-html-tags": "^1.0.3",
|
|
85
85
|
"prettier-plugin-jsdoc": "^1.3.0",
|
|
86
86
|
"prettier-plugin-multiline-arrays": "^3.0.1",
|