cxgrd 0.1.43 → 0.1.44
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/index.js +1 -1
- package/dist/utils/git-hook-manager.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -110,7 +110,7 @@ async function main() {
|
|
|
110
110
|
.command('watch [path]', 'Monitor project for real-time architecture analysis', (y) => y
|
|
111
111
|
.positional('path', { describe: 'Project path (default: current directory)', type: 'string' })
|
|
112
112
|
.option('debounce', { type: 'number', default: 500 }), async (argv) => { (0, telemetry_1.trackEvent)('cli_watch'); await (0, watch_1.watchCommand)(argv.path, { debounce: argv.debounce }); })
|
|
113
|
-
.version('0.1.
|
|
113
|
+
.version('0.1.44')
|
|
114
114
|
.help()
|
|
115
115
|
.alias('h', 'help')
|
|
116
116
|
.epilogue(chalk_1.default.gray('For more information, visit: https://www.cxgrd.com'))
|
|
@@ -83,10 +83,10 @@ if [ -z "$STAGED_FILES" ]; then
|
|
|
83
83
|
exit 0
|
|
84
84
|
fi
|
|
85
85
|
|
|
86
|
-
echo "Running cxgrd
|
|
86
|
+
echo "Running cxgrd check (policy + check)..."
|
|
87
87
|
|
|
88
88
|
# Team policy + blast radius + check (falls back to check-only on Free/Pro)
|
|
89
|
-
if ! cxgrd
|
|
89
|
+
if ! cxgrd check "$PROJECT_ROOT"; then
|
|
90
90
|
echo "Architecture check failed. Commit blocked."
|
|
91
91
|
exit 1
|
|
92
92
|
fi
|