@optique/man 1.0.0-dev.463 → 1.0.0-dev.466
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/cli.cjs +3 -3
- package/dist/cli.js +3 -3
- package/package.json +3 -3
package/dist/cli.cjs
CHANGED
|
@@ -17,7 +17,7 @@ const node_url = require_generator.__toESM(require("node:url"));
|
|
|
17
17
|
|
|
18
18
|
//#region deno.json
|
|
19
19
|
var name = "@optique/man";
|
|
20
|
-
var version = "1.0.0-dev.
|
|
20
|
+
var version = "1.0.0-dev.466+f096ac54";
|
|
21
21
|
var license = "MIT";
|
|
22
22
|
var exports$1 = {
|
|
23
23
|
".": "./src/index.ts",
|
|
@@ -224,8 +224,8 @@ async function importModule(filePath) {
|
|
|
224
224
|
const absolutePath = (0, node_path.resolve)(filePath);
|
|
225
225
|
if (!(0, node_fs.existsSync)(absolutePath)) fileNotFoundError(filePath);
|
|
226
226
|
const isTypeScript = /\.[mc]?ts$/.test(filePath);
|
|
227
|
-
const isDeno =
|
|
228
|
-
const isBun =
|
|
227
|
+
const isDeno = "Deno" in globalThis;
|
|
228
|
+
const isBun = "Bun" in globalThis;
|
|
229
229
|
if (!isDeno && !isBun && isTypeScript && !nodeSupportsNativeTypeScript()) try {
|
|
230
230
|
const tsx = await import("tsx/esm/api");
|
|
231
231
|
tsx.register();
|
package/dist/cli.js
CHANGED
|
@@ -17,7 +17,7 @@ import { fileURLToPath, pathToFileURL } from "node:url";
|
|
|
17
17
|
|
|
18
18
|
//#region deno.json
|
|
19
19
|
var name = "@optique/man";
|
|
20
|
-
var version = "1.0.0-dev.
|
|
20
|
+
var version = "1.0.0-dev.466+f096ac54";
|
|
21
21
|
var license = "MIT";
|
|
22
22
|
var exports = {
|
|
23
23
|
".": "./src/index.ts",
|
|
@@ -224,8 +224,8 @@ async function importModule(filePath) {
|
|
|
224
224
|
const absolutePath = resolve(filePath);
|
|
225
225
|
if (!existsSync(absolutePath)) fileNotFoundError(filePath);
|
|
226
226
|
const isTypeScript = /\.[mc]?ts$/.test(filePath);
|
|
227
|
-
const isDeno =
|
|
228
|
-
const isBun =
|
|
227
|
+
const isDeno = "Deno" in globalThis;
|
|
228
|
+
const isBun = "Bun" in globalThis;
|
|
229
229
|
if (!isDeno && !isBun && isTypeScript && !nodeSupportsNativeTypeScript()) try {
|
|
230
230
|
const tsx = await import("tsx/esm/api");
|
|
231
231
|
tsx.register();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/man",
|
|
3
|
-
"version": "1.0.0-dev.
|
|
3
|
+
"version": "1.0.0-dev.466+f096ac54",
|
|
4
4
|
"description": "Man page generator for Optique CLI parsers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"optique-man": "./dist/cli.js"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@optique/core": "1.0.0-dev.
|
|
88
|
-
"@optique/run": "1.0.0-dev.
|
|
87
|
+
"@optique/core": "1.0.0-dev.466+f096ac54",
|
|
88
|
+
"@optique/run": "1.0.0-dev.466+f096ac54"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@types/node": "^20.19.9",
|