poku 2.4.0 → 2.4.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/lib/bin/index.js +8 -6
- package/lib/configs/poku.js +1 -1
- package/package.json +3 -3
package/lib/bin/index.js
CHANGED
|
@@ -62,22 +62,24 @@ const options_js_1 = require("../parsers/options.js");
|
|
|
62
62
|
}
|
|
63
63
|
if ((0, get_arg_js_1.hasArg)('list-files')) {
|
|
64
64
|
const { listFiles } = require('../modules/helpers/list-files.js');
|
|
65
|
-
|
|
65
|
+
const files = [];
|
|
66
66
|
write_js_1.Write.hr();
|
|
67
67
|
for (const dir of dirs) {
|
|
68
|
-
|
|
68
|
+
files.push(...(await listFiles(dir, {
|
|
69
69
|
filter: typeof filter === 'string'
|
|
70
70
|
? new RegExp((0, list_files_js_1.escapeRegExp)(filter))
|
|
71
71
|
: filter,
|
|
72
72
|
exclude: typeof exclude === 'string'
|
|
73
73
|
? new RegExp((0, list_files_js_1.escapeRegExp)(exclude))
|
|
74
74
|
: exclude,
|
|
75
|
-
});
|
|
76
|
-
total += files.length;
|
|
77
|
-
write_js_1.Write.log(files.map((file) => `${(0, format_js_1.format)('-').dim()} ${file}`).join('\n'));
|
|
75
|
+
})));
|
|
78
76
|
}
|
|
77
|
+
write_js_1.Write.log(files
|
|
78
|
+
.sort()
|
|
79
|
+
.map((file) => `${(0, format_js_1.format)('-').dim()} ${file}`)
|
|
80
|
+
.join('\n'));
|
|
79
81
|
write_js_1.Write.hr();
|
|
80
|
-
write_js_1.Write.log(`Total test files: ${(0, format_js_1.format)(String(
|
|
82
|
+
write_js_1.Write.log(`Total test files: ${(0, format_js_1.format)(String(files.length)).bold()}`);
|
|
81
83
|
write_js_1.Write.hr();
|
|
82
84
|
return;
|
|
83
85
|
}
|
package/lib/configs/poku.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "poku",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"description": "🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.",
|
|
5
5
|
"main": "./lib/modules/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@biomejs/biome": "1.8.3",
|
|
65
|
-
"@types/node": "^22.0
|
|
65
|
+
"@types/node": "^22.1.0",
|
|
66
66
|
"c8": "^10.1.2",
|
|
67
67
|
"jsonc.min": "^1.0.0",
|
|
68
|
-
"monocart-coverage-reports": "^2.10.
|
|
68
|
+
"monocart-coverage-reports": "^2.10.1",
|
|
69
69
|
"packages-update": "^2.0.0",
|
|
70
70
|
"prettier": "^3.3.3",
|
|
71
71
|
"tsx": "4.16.5",
|