@aiready/doc-drift 0.14.24 → 0.14.26

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.23 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/index.mjs 989.00 B
13
- ESM dist/chunk-IQBAXGOK.mjs 7.48 KB
14
- ESM ⚡️ Build success in 478ms
15
- CJS dist/cli.js 9.79 KB
16
- CJS dist/index.js 9.11 KB
17
- CJS ⚡️ Build success in 478ms
18
- DTS Build start
19
- DTS ⚡️ Build success in 10537ms
20
- DTS dist/cli.d.ts 108.00 B
21
- DTS dist/index.d.ts 2.09 KB
22
- DTS dist/cli.d.mts 108.00 B
23
- DTS dist/index.d.mts 2.09 KB
1
+
2
+ 
3
+ > @aiready/doc-drift@0.14.25 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/cli.js 9.79 KB
13
+ CJS dist/index.js 9.11 KB
14
+ CJS ⚡️ Build success in 120ms
15
+ ESM dist/cli.mjs 1.07 KB
16
+ ESM dist/index.mjs 989.00 B
17
+ ESM dist/chunk-IQBAXGOK.mjs 7.48 KB
18
+ ESM ⚡️ Build success in 121ms
19
+ DTS Build start
20
+ DTS ⚡️ Build success in 4995ms
21
+ DTS dist/cli.d.ts 108.00 B
22
+ DTS dist/index.d.ts 2.09 KB
23
+ DTS dist/cli.d.mts 108.00 B
24
+ DTS dist/index.d.mts 2.09 KB
@@ -1,6 +1,7 @@
1
-
2
- > @aiready/doc-drift@0.14.23 format-check /Users/pengcao/projects/aiready/packages/doc-drift
3
- > prettier --check . --ignore-path ../../.prettierignore
4
-
5
- Checking formatting...
6
- All matched files use Prettier code style!
1
+
2
+ 
3
+ > @aiready/doc-drift@0.14.25 format-check /Users/pengcao/projects/aiready/packages/doc-drift
4
+ > prettier --check . --ignore-path ../../.prettierignore
5
+
6
+ Checking formatting...
7
+ package.jsonREADME.mdsrc/__tests__/analyzer.test.tssrc/__tests__/contract.test.tssrc/__tests__/provider.test.tssrc/__tests__/scoring.test.tssrc/analyzer.tssrc/cli.tssrc/constants.tssrc/heuristics.tssrc/index.tssrc/provider.tssrc/scoring.tssrc/types.tstsconfig.jsonAll matched files use Prettier code style!
@@ -0,0 +1,20 @@
1
+
2
+ 
3
+ > @aiready/doc-drift@0.14.25 format /Users/pengcao/projects/aiready/packages/doc-drift
4
+ > prettier --write . --ignore-path ../../.prettierignore
5
+
6
+ package.jsonpackage.json 9ms (unchanged)
7
+ README.mdREADME.md 18ms (unchanged)
8
+ src/__tests__/analyzer.test.tssrc/__tests__/analyzer.test.ts 36ms (unchanged)
9
+ src/__tests__/contract.test.tssrc/__tests__/contract.test.ts 14ms (unchanged)
10
+ src/__tests__/provider.test.tssrc/__tests__/provider.test.ts 15ms (unchanged)
11
+ src/__tests__/scoring.test.tssrc/__tests__/scoring.test.ts 5ms (unchanged)
12
+ src/analyzer.tssrc/analyzer.ts 18ms (unchanged)
13
+ src/cli.tssrc/cli.ts 6ms (unchanged)
14
+ src/constants.tssrc/constants.ts 9ms (unchanged)
15
+ src/heuristics.tssrc/heuristics.ts 13ms (unchanged)
16
+ src/index.tssrc/index.ts 9ms (unchanged)
17
+ src/provider.tssrc/provider.ts 2ms (unchanged)
18
+ src/scoring.tssrc/scoring.ts 2ms (unchanged)
19
+ src/types.tssrc/types.ts 26ms (unchanged)
20
+ tsconfig.jsontsconfig.json 1ms (unchanged)
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @aiready/doc-drift@0.14.20 lint:fix /Users/pengcao/projects/aiready/packages/doc-drift
3
+ > @aiready/doc-drift@0.14.25 lint:fix /Users/pengcao/projects/aiready/packages/doc-drift
4
4
  > eslint . --fix
5
5
 
@@ -1,4 +1,5 @@
1
-
2
- > @aiready/doc-drift@0.14.23 lint /Users/pengcao/projects/aiready/packages/doc-drift
3
- > eslint src --ext .ts
4
-
1
+
2
+ 
3
+ > @aiready/doc-drift@0.14.25 lint /Users/pengcao/projects/aiready/packages/doc-drift
4
+ > eslint src --ext .ts
5
+
@@ -1,17 +1,55 @@
1
-
2
- > @aiready/doc-drift@0.14.23 test /Users/pengcao/projects/aiready/packages/doc-drift
3
- > vitest run
4
-
5
-
6
-  RUN  v4.1.2 /Users/pengcao/projects/aiready/packages/doc-drift
7
-
8
- ✓ src/__tests__/scoring.test.ts (2 tests) 3ms
9
- ✓ src/__tests__/provider.test.ts (2 tests) 13ms
10
- ✓ src/__tests__/contract.test.ts (1 test) 79ms
11
- ✓ src/__tests__/analyzer.test.ts (1 test) 121ms
12
-
13
-  Test Files  4 passed (4)
14
-  Tests  6 passed (6)
15
-  Start at  14:49:14
16
-  Duration  2.61s (transform 1.81s, setup 0ms, import 7.21s, tests 216ms, environment 0ms)
17
-
1
+
2
+ 
3
+ > @aiready/doc-drift@0.14.25 test /Users/pengcao/projects/aiready/packages/doc-drift
4
+ > vitest run
5
+
6
+ [?25l
7
+  RUN  v4.1.4 /Users/pengcao/projects/aiready/packages/doc-drift
8
+
9
+ [?2026h
10
+  src/__tests__/scoring.test.ts [queued]
11
+
12
+  Test Files 0 passed (4)
13
+  Tests 0 passed (0)
14
+  Start at 18:54:40
15
+  Duration 704ms
16
+ [?2026l[?2026h
17
+  ❯ src/__tests__/analyzer.test.ts [queued]
18
+  ❯ src/__tests__/contract.test.ts [queued]
19
+  ❯ src/__tests__/provider.test.ts [queued]
20
+  ❯ src/__tests__/scoring.test.ts [queued]
21
+
22
+  Test Files 0 passed (4)
23
+  Tests 0 passed (0)
24
+  Start at 18:54:40
25
+  Duration 907ms
26
+ [?2026l[?2026h
27
+  ❯ src/__tests__/analyzer.test.ts [queued]
28
+  ❯ src/__tests__/contract.test.ts [queued]
29
+  ❯ src/__tests__/provider.test.ts [queued]
30
+  ❯ src/__tests__/scoring.test.ts 0/2
31
+
32
+  Test Files 0 passed (4)
33
+  Tests 0 passed (2)
34
+  Start at 18:54:40
35
+  Duration 1.86s
36
+ [?2026l[?2026h ✓ src/__tests__/scoring.test.ts (2 tests) 4ms
37
+ ✓ src/__tests__/provider.test.ts (2 tests) 2ms
38
+ ✓ src/__tests__/contract.test.ts (1 test) 14ms
39
+
40
+
41
+
42
+  ❯ src/__tests__/analyzer.test.ts 1/1
43
+
44
+  Test Files 3 passed (4)
45
+  Tests 6 passed (6)
46
+  Start at 18:54:40
47
+  Duration 2.06s
48
+ [?2026l ✓ src/__tests__/analyzer.test.ts (1 test) 90ms
49
+
50
+  Test Files  4 passed (4)
51
+  Tests  6 passed (6)
52
+  Start at  18:54:40
53
+  Duration  2.10s (transform 744ms, setup 0ms, import 4.87s, tests 110ms, environment 1ms)
54
+
55
+ [?25h
@@ -1,4 +1,5 @@
1
-
2
- > @aiready/doc-drift@0.14.23 type-check /Users/pengcao/projects/aiready/packages/doc-drift
3
- > tsc --noEmit
4
-
1
+
2
+ 
3
+ > @aiready/doc-drift@0.14.25 type-check /Users/pengcao/projects/aiready/packages/doc-drift
4
+ > tsc --noEmit
5
+
package/dist/cli.js CHANGED
@@ -399,7 +399,7 @@ function createCommand() {
399
399
  "Months before a comment is considered potentially outdated",
400
400
  "6"
401
401
  ).action(async (options) => {
402
- await (0, import_core2.executeSpokeCli)(
402
+ await (0, import_core2.dispatchSpokeCli)(
403
403
  "Doc Drift",
404
404
  "documentation drift",
405
405
  {
package/dist/cli.mjs CHANGED
@@ -5,7 +5,7 @@ import {
5
5
 
6
6
  // src/cli.ts
7
7
  import { Command } from "commander";
8
- import { executeSpokeCli } from "@aiready/core";
8
+ import { dispatchSpokeCli } from "@aiready/core";
9
9
  import pc from "picocolors";
10
10
  function createCommand() {
11
11
  const program = new Command("doc-drift").description(
@@ -15,7 +15,7 @@ function createCommand() {
15
15
  "Months before a comment is considered potentially outdated",
16
16
  "6"
17
17
  ).action(async (options) => {
18
- await executeSpokeCli(
18
+ await dispatchSpokeCli(
19
19
  "Doc Drift",
20
20
  "documentation drift",
21
21
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/doc-drift",
3
- "version": "0.14.24",
3
+ "version": "0.14.26",
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.3",
11
11
  "glob": "^13.0.6",
12
12
  "picocolors": "^1.1.1",
13
- "@aiready/core": "0.24.27"
13
+ "@aiready/core": "0.29.4"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/node": "^24.12.2",
package/src/cli.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Command } from 'commander';
2
2
  import { analyzeDocDrift } from './analyzer';
3
- import { executeSpokeCli } from '@aiready/core';
3
+ import { dispatchSpokeCli } from '@aiready/core';
4
4
  import pc from 'picocolors';
5
5
 
6
6
  export function createCommand() {
@@ -16,7 +16,7 @@ export function createCommand() {
16
16
  '6'
17
17
  )
18
18
  .action(async (options) => {
19
- await executeSpokeCli(
19
+ await dispatchSpokeCli(
20
20
  'Doc Drift',
21
21
  'documentation drift',
22
22
  {