@optique/logtape 1.0.0-dev.1335 → 1.0.0-dev.1344
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.cjs +3 -1
- package/dist/index.js +3 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -25,6 +25,7 @@ const __optique_core_valueparser = __toESM(require("@optique/core/valueparser"))
|
|
|
25
25
|
const __optique_core_primitives = __toESM(require("@optique/core/primitives"));
|
|
26
26
|
const __optique_core_modifiers = __toESM(require("@optique/core/modifiers"));
|
|
27
27
|
const __optique_core_message = __toESM(require("@optique/core/message"));
|
|
28
|
+
const node_path = __toESM(require("node:path"));
|
|
28
29
|
const __optique_core_constructs = __toESM(require("@optique/core/constructs"));
|
|
29
30
|
|
|
30
31
|
//#region src/loglevel.ts
|
|
@@ -251,7 +252,8 @@ function logOutputValueParser(options = {}) {
|
|
|
251
252
|
yield {
|
|
252
253
|
kind: "file",
|
|
253
254
|
type: "file",
|
|
254
|
-
pattern: prefix
|
|
255
|
+
pattern: prefix,
|
|
256
|
+
includeHidden: (0, node_path.basename)(prefix).startsWith(".") && (0, node_path.basename)(prefix) !== ".."
|
|
255
257
|
};
|
|
256
258
|
}
|
|
257
259
|
};
|
package/dist/index.js
CHANGED
|
@@ -2,6 +2,7 @@ import { choice } from "@optique/core/valueparser";
|
|
|
2
2
|
import { flag, option } from "@optique/core/primitives";
|
|
3
3
|
import { map, multiple, optional, withDefault } from "@optique/core/modifiers";
|
|
4
4
|
import { message } from "@optique/core/message";
|
|
5
|
+
import { basename } from "node:path";
|
|
5
6
|
import { group, object } from "@optique/core/constructs";
|
|
6
7
|
|
|
7
8
|
//#region src/loglevel.ts
|
|
@@ -228,7 +229,8 @@ function logOutputValueParser(options = {}) {
|
|
|
228
229
|
yield {
|
|
229
230
|
kind: "file",
|
|
230
231
|
type: "file",
|
|
231
|
-
pattern: prefix
|
|
232
|
+
pattern: prefix,
|
|
233
|
+
includeHidden: basename(prefix).startsWith(".") && basename(prefix) !== ".."
|
|
232
234
|
};
|
|
233
235
|
}
|
|
234
236
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/logtape",
|
|
3
|
-
"version": "1.0.0-dev.
|
|
3
|
+
"version": "1.0.0-dev.1344+e7f36975",
|
|
4
4
|
"description": "LogTape logging integration for Optique CLI parser",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@optique/core": "1.0.0-dev.
|
|
65
|
+
"@optique/core": "1.0.0-dev.1344+e7f36975"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@logtape/logtape": "^1.2.2",
|