@vorlefan/toolkit
Advanced tools
Comparing version 0.0.9 to 0.1.0
@@ -64,3 +64,6 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
this.route.add("root", nestjsDir); | ||
this.route.add("root", nestjsDir).skip([ | ||
[nestjsDir, "node_modules"], | ||
[nestjsDir, ".git"], | ||
]); | ||
const rootRoute = this.route.get("root"); | ||
@@ -71,3 +74,6 @@ if (!(rootRoute === null || rootRoute === void 0 ? void 0 : rootRoute.routePath)) { | ||
const files = yield this.route.allFilepaths(rootRoute.routePath); | ||
const inputFiles = files.filter((d) => !d.includes("node_modules\\") && !d.includes("dist\\")); | ||
const inputFiles = files.filter((d) => !d.includes("node_modules\\") && | ||
!d.includes("dist\\") && | ||
d.includes(".git") && | ||
d.includes(".ts")); | ||
if (inputFiles.length === 0) { | ||
@@ -74,0 +80,0 @@ throw new Error("No input files found"); |
{ | ||
"name": "@vorlefan/toolkit", | ||
"version": "0.0.9", | ||
"version": "0.1.0", | ||
"description": "A general-purpose toolkit for Node.js applications.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
87902
1002