@tuent/sentinel 0.1.2 → 0.1.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.
@@ -1,20 +0,0 @@
1
- // src/setup/policyDiscovery.ts
2
- import { existsSync } from "fs";
3
- import { resolve, join, dirname } from "path";
4
- function discoverPolicy(startDir, home) {
5
- let dir = resolve(startDir);
6
- const homeAbs = resolve(home);
7
- while (true) {
8
- const candidate = join(dir, ".sentinel.yaml");
9
- if (existsSync(candidate)) return candidate;
10
- if (dir === homeAbs) return null;
11
- const parent = dirname(dir);
12
- if (parent === dir) return null;
13
- dir = parent;
14
- }
15
- }
16
-
17
- export {
18
- discoverPolicy
19
- };
20
- //# sourceMappingURL=chunk-FMZWHT4M.js.map
@@ -1,7 +0,0 @@
1
- import {
2
- LogAdapter
3
- } from "./chunk-PDWWRZXF.js";
4
- export {
5
- LogAdapter
6
- };
7
- //# sourceMappingURL=logAdapter-IB6ZDEV2.js.map