@coana-tech/cli 13.19.30 → 13.19.32

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.
Files changed (2) hide show
  1. package/cli.js +6 -7
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -95335,14 +95335,13 @@ var require_file_utils = __commonJS({
95335
95335
  }
95336
95336
  async function getAllFilesRec(dir, excludeDirs) {
95337
95337
  async function helper(dir2, arrayOfFiles) {
95338
- const files = await (0, promises_12.readdir)(dir2);
95338
+ const files = await (0, promises_12.readdir)(dir2, { withFileTypes: true });
95339
95339
  for (const file of files) {
95340
- const filePath = (0, path_1.join)(dir2, file);
95341
- const info = await (0, promises_12.stat)(filePath);
95342
- if (info.isDirectory()) {
95343
- if (!excludeDirs?.includes(file))
95340
+ const filePath = (0, path_1.join)(dir2, file.name);
95341
+ if (file.isDirectory()) {
95342
+ if (!excludeDirs?.includes(file.name))
95344
95343
  await helper(filePath, arrayOfFiles);
95345
- } else {
95344
+ } else if (file.isFile()) {
95346
95345
  arrayOfFiles.push(filePath);
95347
95346
  }
95348
95347
  }
@@ -190241,7 +190240,7 @@ var require_version = __commonJS({
190241
190240
  "use strict";
190242
190241
  Object.defineProperty(exports2, "__esModule", { value: true });
190243
190242
  exports2.version = void 0;
190244
- exports2.version = "13.19.30";
190243
+ exports2.version = "13.19.32";
190245
190244
  }
190246
190245
  });
190247
190246
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coana-tech/cli",
3
- "version": "13.19.30",
3
+ "version": "13.19.32",
4
4
  "description": "Coana CLI",
5
5
  "bin": {
6
6
  "@coana-tech/cli": "./cli.js"