@aiready/doc-drift 0.14.5 → 0.14.6

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,5 +1,5 @@
1
1
 
2
- > @aiready/doc-drift@0.14.5 build /Users/pengcao/projects/aiready/packages/doc-drift
2
+ > @aiready/doc-drift@0.14.6 build /Users/pengcao/projects/aiready/packages/doc-drift
3
3
  > tsup src/index.ts src/cli.ts --format cjs,esm --dts
4
4
 
5
5
  CLI Building entry: src/cli.ts, src/index.ts
@@ -8,15 +8,15 @@ CLI tsup v8.5.1
8
8
  CLI Target: es2020
9
9
  CJS Build start
10
10
  ESM Build start
11
- ESM dist/cli.mjs 1.07 KB
12
- ESM dist/chunk-GZDN7B4K.mjs 4.40 KB
13
- ESM dist/index.mjs 1.87 KB
14
- ESM ⚡️ Build success in 158ms
15
11
  CJS dist/cli.js 6.71 KB
16
12
  CJS dist/index.js 6.98 KB
17
- CJS ⚡️ Build success in 158ms
13
+ CJS ⚡️ Build success in 189ms
14
+ ESM dist/index.mjs 1.87 KB
15
+ ESM dist/cli.mjs 1.07 KB
16
+ ESM dist/chunk-GZDN7B4K.mjs 4.40 KB
17
+ ESM ⚡️ Build success in 189ms
18
18
  DTS Build start
19
- DTS ⚡️ Build success in 1880ms
19
+ DTS ⚡️ Build success in 11280ms
20
20
  DTS dist/cli.d.ts 108.00 B
21
21
  DTS dist/index.d.ts 2.83 KB
22
22
  DTS dist/cli.d.mts 108.00 B
@@ -1,16 +1,16 @@
1
1
 
2
- > @aiready/doc-drift@0.14.4 test /Users/pengcao/projects/aiready/packages/doc-drift
2
+ > @aiready/doc-drift@0.14.5 test /Users/pengcao/projects/aiready/packages/doc-drift
3
3
  > vitest run
4
4
 
5
5
 
6
6
   RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/doc-drift
7
7
 
8
- ✓ src/__tests__/provider.test.ts (2 tests) 19ms
8
+ ✓ src/__tests__/analyzer.test.ts (1 test) 73ms
9
9
  ✓ src/__tests__/scoring.test.ts (2 tests) 4ms
10
- ✓ src/__tests__/analyzer.test.ts (1 test) 129ms
10
+ ✓ src/__tests__/provider.test.ts (2 tests) 5ms
11
11
 
12
12
   Test Files  3 passed (3)
13
13
   Tests  5 passed (5)
14
-  Start at  21:12:44
15
-  Duration  2.31s (transform 1.43s, setup 0ms, import 5.28s, tests 152ms, environment 0ms)
14
+  Start at  20:27:31
15
+  Duration  1.28s (transform 744ms, setup 0ms, import 2.56s, tests 81ms, environment 0ms)
16
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/doc-drift",
3
- "version": "0.14.5",
3
+ "version": "0.14.6",
4
4
  "description": "AI-Readiness: Documentation Drift Detection",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -10,7 +10,7 @@
10
10
  "commander": "^14.0.0",
11
11
  "glob": "^13.0.0",
12
12
  "picocolors": "^1.0.0",
13
- "@aiready/core": "0.24.5"
13
+ "@aiready/core": "0.24.6"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/node": "^24.0.0",
package/src/provider.ts CHANGED
@@ -29,8 +29,8 @@ export const DocDriftProvider = createProvider({
29
29
  return { rawData: report.rawData };
30
30
  },
31
31
  score(output) {
32
- const summary = output.summary as any;
33
- const rawData = (output.metadata as any)?.rawData || {};
32
+ const summary = output.summary;
33
+ const rawData = output.metadata?.rawData || {};
34
34
  return buildSimpleProviderScore(ToolName.DocDrift, summary, rawData);
35
35
  },
36
36
  });