@bagelink/workspace 1.7.61 → 1.7.63
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/bin/bgl.ts +4 -1
- package/dist/bin/bgl.cjs +5 -3
- package/dist/bin/bgl.mjs +5 -3
- package/package.json +1 -1
- package/src/build.ts +1 -1
- package/src/dev.ts +1 -1
package/bin/bgl.ts
CHANGED
|
@@ -154,7 +154,10 @@ Note: Commands auto-detect workspace mode based on directory structure
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
function normalizeFilter(input: string): string {
|
|
157
|
-
|
|
157
|
+
// Keep glob patterns as-is, otherwise ensure ./ prefix
|
|
158
|
+
if (input.startsWith('.') || input.includes('*') || input.includes('[')) {
|
|
159
|
+
return input
|
|
160
|
+
}
|
|
158
161
|
return `./${input}`
|
|
159
162
|
}
|
|
160
163
|
|
package/dist/bin/bgl.cjs
CHANGED
|
@@ -444,7 +444,7 @@ function resolveFilter$1(filter) {
|
|
|
444
444
|
console.error("No projects found");
|
|
445
445
|
return null;
|
|
446
446
|
}
|
|
447
|
-
return "
|
|
447
|
+
return "./!shared*";
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
function isWorkspace(root = process__default.cwd()) {
|
|
@@ -580,7 +580,7 @@ function resolveFilter(filter) {
|
|
|
580
580
|
console.error("No projects found");
|
|
581
581
|
return null;
|
|
582
582
|
}
|
|
583
|
-
return "
|
|
583
|
+
return "./!shared*";
|
|
584
584
|
}
|
|
585
585
|
|
|
586
586
|
async function generateWorkspaceConfig(root = process__default.cwd(), configFile = "bgl.config.ts") {
|
|
@@ -1271,7 +1271,9 @@ Note: Commands auto-detect workspace mode based on directory structure
|
|
|
1271
1271
|
}
|
|
1272
1272
|
}
|
|
1273
1273
|
function normalizeFilter(input) {
|
|
1274
|
-
if (input.startsWith("."))
|
|
1274
|
+
if (input.startsWith(".") || input.includes("*") || input.includes("[")) {
|
|
1275
|
+
return input;
|
|
1276
|
+
}
|
|
1275
1277
|
return `./${input}`;
|
|
1276
1278
|
}
|
|
1277
1279
|
function parseFilterArgs(defaultFilter, subcommandArg, argsList = []) {
|
package/dist/bin/bgl.mjs
CHANGED
|
@@ -437,7 +437,7 @@ function resolveFilter$1(filter) {
|
|
|
437
437
|
console.error("No projects found");
|
|
438
438
|
return null;
|
|
439
439
|
}
|
|
440
|
-
return "
|
|
440
|
+
return "./!shared*";
|
|
441
441
|
}
|
|
442
442
|
|
|
443
443
|
function isWorkspace(root = process.cwd()) {
|
|
@@ -573,7 +573,7 @@ function resolveFilter(filter) {
|
|
|
573
573
|
console.error("No projects found");
|
|
574
574
|
return null;
|
|
575
575
|
}
|
|
576
|
-
return "
|
|
576
|
+
return "./!shared*";
|
|
577
577
|
}
|
|
578
578
|
|
|
579
579
|
async function generateWorkspaceConfig(root = process.cwd(), configFile = "bgl.config.ts") {
|
|
@@ -1264,7 +1264,9 @@ Note: Commands auto-detect workspace mode based on directory structure
|
|
|
1264
1264
|
}
|
|
1265
1265
|
}
|
|
1266
1266
|
function normalizeFilter(input) {
|
|
1267
|
-
if (input.startsWith("."))
|
|
1267
|
+
if (input.startsWith(".") || input.includes("*") || input.includes("[")) {
|
|
1268
|
+
return input;
|
|
1269
|
+
}
|
|
1268
1270
|
return `./${input}`;
|
|
1269
1271
|
}
|
|
1270
1272
|
function parseFilterArgs(defaultFilter, subcommandArg, argsList = []) {
|
package/package.json
CHANGED
package/src/build.ts
CHANGED
package/src/dev.ts
CHANGED