mdat-plugin-cli-help 1.0.0 → 1.0.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/index.js +6 -1
- package/package.json +6 -6
- package/readme.md +1 -1
package/dist/index.js
CHANGED
|
@@ -15327,8 +15327,13 @@ async function getPackageJson() {
|
|
|
15327
15327
|
|
|
15328
15328
|
//#endregion
|
|
15329
15329
|
//#region src/utilities/is-executable.ts
|
|
15330
|
+
/**
|
|
15331
|
+
* This file is vendored with modification from https://github.com/sindresorhus/is-executable
|
|
15332
|
+
* to work around a "[DEP0176] DeprecationWarning: fs.X_OK is deprecated, use fs.constants.X_OK instead"
|
|
15333
|
+
* error from Node.
|
|
15334
|
+
*/
|
|
15330
15335
|
const isWindows = process.platform === "win32";
|
|
15331
|
-
const pathExtensions = isWindows ? new Set(process.env.PATHEXT?.split(";").map((extension) => extension.toLowerCase())
|
|
15336
|
+
const pathExtensions = isWindows ? new Set(process.env.PATHEXT?.split(";").map((extension) => extension.toLowerCase())) : /* @__PURE__ */ new Set();
|
|
15332
15337
|
/**
|
|
15333
15338
|
* Check if a file is executable (async).
|
|
15334
15339
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mdat-plugin-cli-help",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Mdat plugin to generate tabular CLI
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "Mdat plugin to generate tabular help documentation for CLI tools in Markdown files.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown",
|
|
7
7
|
"mdat-plugin",
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"which": "^5.0.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@kitschpatrol/shared-config": "^5.
|
|
44
|
+
"@kitschpatrol/shared-config": "^5.8.1",
|
|
45
45
|
"@types/node": "^20.19.24",
|
|
46
46
|
"bumpp": "^10.3.1",
|
|
47
47
|
"chevrotain": "^11.0.3",
|
|
48
48
|
"meow": "^14.0.0",
|
|
49
|
-
"tsdown": "^0.
|
|
49
|
+
"tsdown": "^0.16.0",
|
|
50
50
|
"typescript": "~5.9.3",
|
|
51
|
-
"vitest": "^4.0.
|
|
51
|
+
"vitest": "^4.0.7",
|
|
52
52
|
"zod": "^3.25.76"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
|
-
"build": "tsdown --tsconfig tsconfig.build.json",
|
|
65
|
+
"build": "tsdown --no-fixed-extension --tsconfig tsconfig.build.json",
|
|
66
66
|
"clean": "git rm -f pnpm-lock.yaml ; git clean -fdX",
|
|
67
67
|
"fix": "ksc fix",
|
|
68
68
|
"lint": "ksc lint",
|
package/readme.md
CHANGED