@harness-engineering/core 0.26.2 → 0.26.3
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/architecture/matchers.d.mts +1 -1
- package/dist/architecture/matchers.d.ts +1 -1
- package/dist/architecture/matchers.js +12 -2
- package/dist/architecture/matchers.mjs +1 -1
- package/dist/{chunk-4UI65RLE.mjs → chunk-JIOBXIVB.mjs} +12 -2
- package/dist/index.d.mts +194 -194
- package/dist/index.d.ts +194 -194
- package/dist/index.js +12 -2
- package/dist/index.mjs +1 -1
- package/dist/{matchers-XHMrK1kB.d.mts → matchers-DSibUtbV.d.mts} +134 -134
- package/dist/{matchers-XHMrK1kB.d.ts → matchers-DSibUtbV.d.ts} +134 -134
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { j as ArchHandle, l as ArchitectureOptions, D as archMatchers, F as archModule, G as architecture } from '../matchers-
|
|
1
|
+
export { j as ArchHandle, l as ArchitectureOptions, D as archMatchers, F as archModule, G as architecture } from '../matchers-DSibUtbV.mjs';
|
|
2
2
|
import 'zod';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { j as ArchHandle, l as ArchitectureOptions, D as archMatchers, F as archModule, G as architecture } from '../matchers-
|
|
1
|
+
export { j as ArchHandle, l as ArchitectureOptions, D as archMatchers, F as archModule, G as architecture } from '../matchers-DSibUtbV.js';
|
|
2
2
|
import 'zod';
|
|
@@ -199,8 +199,18 @@ async function readFileContent(path) {
|
|
|
199
199
|
return (0, import_types.Err)(error);
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
var DEFAULT_FIND_FILES_IGNORE = [
|
|
203
|
+
"**/node_modules/**",
|
|
204
|
+
"**/dist/**",
|
|
205
|
+
"**/build/**",
|
|
206
|
+
"**/coverage/**"
|
|
207
|
+
];
|
|
208
|
+
async function findFiles(pattern, cwd = process.cwd(), extraIgnore = []) {
|
|
209
|
+
return (0, import_glob.glob)(pattern, {
|
|
210
|
+
cwd,
|
|
211
|
+
absolute: true,
|
|
212
|
+
ignore: [...DEFAULT_FIND_FILES_IGNORE, ...extraIgnore]
|
|
213
|
+
});
|
|
204
214
|
}
|
|
205
215
|
function relativePosix(from, to) {
|
|
206
216
|
return (0, import_node_path.relative)(from, to).replaceAll("\\", "/");
|
|
@@ -177,8 +177,18 @@ async function readFileContent(path) {
|
|
|
177
177
|
return Err(error);
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
-
|
|
181
|
-
|
|
180
|
+
var DEFAULT_FIND_FILES_IGNORE = [
|
|
181
|
+
"**/node_modules/**",
|
|
182
|
+
"**/dist/**",
|
|
183
|
+
"**/build/**",
|
|
184
|
+
"**/coverage/**"
|
|
185
|
+
];
|
|
186
|
+
async function findFiles(pattern, cwd = process.cwd(), extraIgnore = []) {
|
|
187
|
+
return glob(pattern, {
|
|
188
|
+
cwd,
|
|
189
|
+
absolute: true,
|
|
190
|
+
ignore: [...DEFAULT_FIND_FILES_IGNORE, ...extraIgnore]
|
|
191
|
+
});
|
|
182
192
|
}
|
|
183
193
|
function relativePosix(from, to) {
|
|
184
194
|
return relative(from, to).replaceAll("\\", "/");
|