@theholocron/cli 3.24.2 → 3.24.4
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/cli.mjs +3 -4
- package/dist/cli.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -1234,10 +1234,9 @@ async function runNpmBumpVersions(input) {
|
|
|
1234
1234
|
entries = listDir(packagesDir);
|
|
1235
1235
|
} catch {
|
|
1236
1236
|
return {
|
|
1237
|
-
status: "
|
|
1237
|
+
status: dryRun ? "dry-run" : "ok",
|
|
1238
1238
|
bumped,
|
|
1239
|
-
skipped
|
|
1240
|
-
message: `packages/ directory not found in ${cwd}`
|
|
1239
|
+
skipped
|
|
1241
1240
|
};
|
|
1242
1241
|
}
|
|
1243
1242
|
for (const entry of entries) {
|
|
@@ -4340,7 +4339,7 @@ function parseWorkflowsFromTs(source) {
|
|
|
4340
4339
|
const body = source.slice(start, i - 1);
|
|
4341
4340
|
const entries = [];
|
|
4342
4341
|
const objSpans = [];
|
|
4343
|
-
const objRe = /\{\s*name\s*:\s*"([^"]+)"(?:\s*,\s*with\s*:\s*(\{[^}]*\}))?\s*,?\s*\}/g;
|
|
4342
|
+
const objRe = /\{\s*name\s*:\s*"([^"]+)"(?:\s*,\s*with\s*:\s*(\{[^}]*\}))?(?:\s*,[^}]*)?\s*,?\s*\}/g;
|
|
4344
4343
|
let m;
|
|
4345
4344
|
while ((m = objRe.exec(body)) !== null) {
|
|
4346
4345
|
objSpans.push([m.index, m.index + m[0].length]);
|