@aiready/doc-drift 0.14.5 → 0.14.7

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,23 +1,24 @@
1
-
2
- > @aiready/doc-drift@0.14.5 build /Users/pengcao/projects/aiready/packages/doc-drift
3
- > tsup src/index.ts src/cli.ts --format cjs,esm --dts
4
-
5
- CLI Building entry: src/cli.ts, src/index.ts
6
- CLI Using tsconfig: tsconfig.json
7
- CLI tsup v8.5.1
8
- CLI Target: es2020
9
- CJS Build start
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
- CJS dist/cli.js 6.71 KB
16
- CJS dist/index.js 6.98 KB
17
- CJS ⚡️ Build success in 158ms
18
- DTS Build start
19
- DTS ⚡️ Build success in 1880ms
20
- DTS dist/cli.d.ts 108.00 B
21
- DTS dist/index.d.ts 2.83 KB
22
- DTS dist/cli.d.mts 108.00 B
23
- DTS dist/index.d.mts 2.83 KB
1
+
2
+ 
3
+ > @aiready/doc-drift@0.14.7 build /Users/pengcao/projects/aiready/packages/doc-drift
4
+ > tsup src/index.ts src/cli.ts --format cjs,esm --dts
5
+
6
+ CLI Building entry: src/cli.ts, src/index.ts
7
+ CLI Using tsconfig: tsconfig.json
8
+ CLI tsup v8.5.1
9
+ CLI Target: es2020
10
+ CJS Build start
11
+ ESM Build start
12
+ CJS dist/index.js 6.98 KB
13
+ CJS dist/cli.js 6.71 KB
14
+ CJS ⚡️ Build success in 280ms
15
+ ESM dist/index.mjs 1.87 KB
16
+ ESM dist/chunk-GZDN7B4K.mjs 4.40 KB
17
+ ESM dist/cli.mjs 1.07 KB
18
+ ESM ⚡️ Build success in 280ms
19
+ DTS Build start
20
+ DTS ⚡️ Build success in 10122ms
21
+ DTS dist/cli.d.ts 108.00 B
22
+ DTS dist/index.d.ts 2.83 KB
23
+ DTS dist/cli.d.mts 108.00 B
24
+ DTS dist/index.d.mts 2.83 KB
@@ -1,16 +1,18 @@
1
-
2
- > @aiready/doc-drift@0.14.4 test /Users/pengcao/projects/aiready/packages/doc-drift
3
- > vitest run
4
-
5
-
6
-  RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/doc-drift
7
-
8
- ✓ src/__tests__/provider.test.ts (2 tests) 19ms
9
- ✓ src/__tests__/scoring.test.ts (2 tests) 4ms
10
- ✓ src/__tests__/analyzer.test.ts (1 test) 129ms
11
-
12
-  Test Files  3 passed (3)
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)
16
-
1
+
2
+ 
3
+ > @aiready/doc-drift@0.14.6 test /Users/pengcao/projects/aiready/packages/doc-drift
4
+ > vitest run
5
+
6
+ [?25l
7
+  RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/doc-drift
8
+
9
+ ✓ src/__tests__/provider.test.ts (2 tests) 9ms
10
+ ✓ src/__tests__/scoring.test.ts (2 tests) 3ms
11
+ ✓ src/__tests__/analyzer.test.ts (1 test) 117ms
12
+
13
+  Test Files  3 passed (3)
14
+  Tests  5 passed (5)
15
+  Start at  22:04:34
16
+  Duration  1.44s (transform 672ms, setup 0ms, import 2.97s, tests 130ms, environment 0ms)
17
+
18
+ [?25h
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.7",
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.7"
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
  });