@effected/workspaces 0.17.0 → 0.17.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/internal/enumerate.js +7 -3
- package/package.json +1 -1
package/internal/enumerate.js
CHANGED
|
@@ -27,10 +27,14 @@ const enumerate = (root, globs, options) => Effect.gen(function* () {
|
|
|
27
27
|
pattern,
|
|
28
28
|
detail: stop.detail
|
|
29
29
|
});
|
|
30
|
-
|
|
31
|
-
if (isExcluded(literal))
|
|
30
|
+
const literalHits = yield* Effect.forEach(globs.literals, (literal) => Effect.gen(function* () {
|
|
31
|
+
if (isExcluded(literal)) return void 0;
|
|
32
32
|
const absolute = path.join(root, literal);
|
|
33
|
-
|
|
33
|
+
return (yield* isPackage(absolute)) ? [literal, absolute] : void 0;
|
|
34
|
+
}), { concurrency: 10 });
|
|
35
|
+
for (const hit of literalHits) {
|
|
36
|
+
if (hit === void 0) continue;
|
|
37
|
+
included.set(hit[0], hit[1]);
|
|
34
38
|
}
|
|
35
39
|
for (const wildcard of globs.wildcards) {
|
|
36
40
|
const base = baseOf(wildcard);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effected/workspaces",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Monorepo workspace tooling as Effect services — root discovery, package enumeration, the dependency graph, package-manager detection, pnpm catalog resolution, lockfile IO and git-based change detection.",
|
|
6
6
|
"keywords": [
|