mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-07 02:58:02 +00:00
docs(hooks): point bundled guard copies at their drift tests
This commit is contained in:
parent
b8dc8f87d2
commit
550ee29e9e
10 changed files with 40 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
|||
// Bundled byte-identical into every hook adapter directory — each one installs
|
||||
// standalone and cannot import across packages. Drift guards in
|
||||
// gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the
|
||||
// copies diverge; fix them together.
|
||||
/**
|
||||
* Cross-platform best-effort probe: does another process hold dbPath open
|
||||
* with a command line that looks like a GitNexus MCP/serve server?
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// Bundled byte-identical into every hook adapter directory — each one installs
|
||||
// standalone and cannot import across packages. Drift guards in
|
||||
// gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the
|
||||
// copies diverge; fix them together.
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# Bundled byte-identical into every hook adapter directory — each one installs
|
||||
# standalone and cannot import across packages. Drift guards in
|
||||
# gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the
|
||||
# copies diverge; fix them together.
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$target = $env:GITNEXUS_HOOK_RM_TARGET
|
||||
if ([string]::IsNullOrWhiteSpace($target)) { Write-Output '[]'; exit 0 }
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// Bundled byte-identical into every hook adapter directory — each one installs
|
||||
// standalone and cannot import across packages. Drift guards in
|
||||
// gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the
|
||||
// copies diverge; fix them together.
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// Bundled byte-identical into every hook adapter directory — each one installs
|
||||
// standalone and cannot import across packages. Drift guards in
|
||||
// gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the
|
||||
// copies diverge; fix them together.
|
||||
/**
|
||||
* Cross-platform best-effort probe: does another process hold dbPath open
|
||||
* with a command line that looks like a GitNexus MCP/serve server?
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// Bundled byte-identical into every hook adapter directory — each one installs
|
||||
// standalone and cannot import across packages. Drift guards in
|
||||
// gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the
|
||||
// copies diverge; fix them together.
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# Bundled byte-identical into every hook adapter directory — each one installs
|
||||
# standalone and cannot import across packages. Drift guards in
|
||||
# gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the
|
||||
# copies diverge; fix them together.
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$target = $env:GITNEXUS_HOOK_RM_TARGET
|
||||
if ([string]::IsNullOrWhiteSpace($target)) { Write-Output '[]'; exit 0 }
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// Bundled byte-identical into every hook adapter directory — each one installs
|
||||
// standalone and cannot import across packages. Drift guards in
|
||||
// gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the
|
||||
// copies diverge; fix them together.
|
||||
/**
|
||||
* Cross-platform best-effort probe: does another process hold dbPath open
|
||||
* with a command line that looks like a GitNexus MCP/serve server?
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// Bundled byte-identical into every hook adapter directory — each one installs
|
||||
// standalone and cannot import across packages. Drift guards in
|
||||
// gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the
|
||||
// copies diverge; fix them together.
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# Bundled byte-identical into every hook adapter directory — each one installs
|
||||
# standalone and cannot import across packages. Drift guards in
|
||||
# gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the
|
||||
# copies diverge; fix them together.
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$target = $env:GITNEXUS_HOOK_RM_TARGET
|
||||
if ([string]::IsNullOrWhiteSpace($target)) { Write-Output '[]'; exit 0 }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue