@chrisdudek/yg 5.0.3 → 5.0.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/bin.js +5 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -8027,11 +8027,15 @@ function collectNodes(node, lines, depth, maxDepth) {
|
|
|
8027
8027
|
import chalk6 from "chalk";
|
|
8028
8028
|
|
|
8029
8029
|
// src/cli/exit-after-flush.ts
|
|
8030
|
+
var FORCE_EXIT_GRACE_MS = 2e3;
|
|
8030
8031
|
async function exitAfterFlush(code) {
|
|
8031
8032
|
if (process.stdout.writableLength > 0) {
|
|
8032
8033
|
await new Promise((resolve6) => process.stdout.once("drain", resolve6));
|
|
8033
8034
|
}
|
|
8034
|
-
process.
|
|
8035
|
+
process.exitCode = code;
|
|
8036
|
+
setTimeout(() => process.exit(code), FORCE_EXIT_GRACE_MS).unref();
|
|
8037
|
+
return new Promise(() => {
|
|
8038
|
+
});
|
|
8035
8039
|
}
|
|
8036
8040
|
|
|
8037
8041
|
// src/core/graph/impact-graph.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chrisdudek/yg",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4",
|
|
4
4
|
"description": "Architecture rules your AI coding agent can't ignore. It gets the rules for a file before it edits, and every change is checked — by a free local script or an LLM reviewer — before it moves on. Works with Claude Code, Cursor, Copilot, Codex, Cline.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|