@codedrifters/configulator 0.0.386 → 0.0.387
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/lib/index.js +10 -4
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +10 -4
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -15155,11 +15155,14 @@ function renderUnblockDependentsScript(ud) {
|
|
|
15155
15155
|
` echo "$line" | grep -oE '#[0-9]+' | tr -d '#' | tr '\\n' ' ' || echo ""`,
|
|
15156
15156
|
"}",
|
|
15157
15157
|
"",
|
|
15158
|
-
"# Check
|
|
15158
|
+
"# Check whether a single dependency is resolved. Returns 0 (resolved)",
|
|
15159
|
+
"# for a CLOSED issue or a MERGED PR, 1 otherwise. A Depends on: target",
|
|
15160
|
+
"# may reference a PR (state MERGED/OPEN/CLOSED): an OPEN PR keeps",
|
|
15161
|
+
"# blocking, MERGED resolves it, UNKNOWN (API error) stays conservative.",
|
|
15159
15162
|
"is_closed() {",
|
|
15160
15163
|
" local state",
|
|
15161
15164
|
` state=$(gh issue view "$1" --json state --jq '.state' 2>/dev/null || echo "UNKNOWN")`,
|
|
15162
|
-
' [[ "$state" == "CLOSED" ]]',
|
|
15165
|
+
' [[ "$state" == "CLOSED" || "$state" == "MERGED" ]]',
|
|
15163
15166
|
"}",
|
|
15164
15167
|
"",
|
|
15165
15168
|
"# \u2500\u2500 main \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500",
|
|
@@ -15392,11 +15395,14 @@ function buildCheckBlockedScript(tiers, scopeGate, _runRatio) {
|
|
|
15392
15395
|
` echo "$line" | grep -oE '#[0-9]+' | tr -d '#' | tr '\\n' ' ' || echo ""`,
|
|
15393
15396
|
"}",
|
|
15394
15397
|
"",
|
|
15395
|
-
"# Check
|
|
15398
|
+
"# Check whether a single dependency is resolved. Returns 0 (resolved)",
|
|
15399
|
+
"# for a CLOSED issue or a MERGED PR, 1 otherwise. A Depends on: target",
|
|
15400
|
+
"# may reference a PR (state MERGED/OPEN/CLOSED): an OPEN PR keeps",
|
|
15401
|
+
"# blocking, MERGED resolves it, UNKNOWN (API error) stays conservative.",
|
|
15396
15402
|
"is_closed() {",
|
|
15397
15403
|
" local state",
|
|
15398
15404
|
` state=$(gh issue view "$1" --json state --jq '.state' 2>/dev/null || echo "UNKNOWN")`,
|
|
15399
|
-
' [[ "$state" == "CLOSED" ]]',
|
|
15405
|
+
' [[ "$state" == "CLOSED" || "$state" == "MERGED" ]]',
|
|
15400
15406
|
"}",
|
|
15401
15407
|
"",
|
|
15402
15408
|
"# Map a bare type-label value (without the `type:` prefix) to its",
|