ts-lib-utils
Advanced tools
Comparing version 2.14.7 to 2.14.8
@@ -136,7 +136,7 @@ "use strict"; | ||
} | ||
if (config.files) { | ||
return files; | ||
} | ||
const rootNames = await globAsync(`**/*.{ts,tsx}`, exclude, dirname); | ||
return [ | ||
...files, | ||
...rootNames.map((r) => path.resolve(process.cwd(), dirname, r)), | ||
]; | ||
return rootNames.map((r) => path.resolve(process.cwd(), dirname, r)); | ||
} | ||
@@ -143,0 +143,0 @@ function statAsync(file) { |
@@ -188,6 +188,10 @@ import { __assign, __awaiter, __generator, __read, __spread, __values } from "tslib"; | ||
return [2 /*return*/, __spread(files, includeFiles)]; | ||
case 10: return [4 /*yield*/, globAsync("**/*.{ts,tsx}", exclude, dirname)]; | ||
case 10: | ||
if (config.files) { | ||
return [2 /*return*/, files]; | ||
} | ||
return [4 /*yield*/, globAsync("**/*.{ts,tsx}", exclude, dirname)]; | ||
case 11: | ||
rootNames = _d.sent(); | ||
return [2 /*return*/, __spread(files, rootNames.map(function (r) { return path.resolve(process.cwd(), dirname, r); }))]; | ||
return [2 /*return*/, rootNames.map(function (r) { return path.resolve(process.cwd(), dirname, r); })]; | ||
} | ||
@@ -194,0 +198,0 @@ }); |
{ | ||
"name": "ts-lib-utils", | ||
"version": "2.14.7", | ||
"version": "2.14.8", | ||
"description": "Utils to develop library using typescript", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
24599
670