@aiready/cli 0.13.8 → 0.14.0

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.
@@ -10,20 +10,20 @@
10
10
  CJS Build start
11
11
  ESM Build start
12
12
 
13
-  WARN  ▲ [WARNING] "import.meta" is not available with the "cjs" output format and will be empty [empty-import-meta] 11:09:31 am
13
+ [4:13:49 PM]  WARN  ▲ [WARNING] "import.meta" is not available with the "cjs" output format and will be empty [empty-import-meta]
14
14
 
15
- src/cli.ts:28:31:
16
-  28 │ return dirname(fileURLToPath(import.meta.url));
15
+ src/cli.ts:29:31:
16
+  29 │ return dirname(fileURLToPath(import.meta.url));
17
17
  ╵ ~~~~~~~~~~~
18
18
 
19
19
  You need to set the output format to "esm" for "import.meta" to work correctly.
20
20
 
21
21
 
22
22
 
23
- CJS dist/cli.js 80.45 KB
24
- CJS dist/index.js 10.62 KB
25
- CJS ⚡️ Build success in 80ms
26
- ESM dist/chunk-VOKP7FGM.mjs 9.52 KB
27
23
  ESM dist/index.mjs 170.00 B
28
- ESM dist/cli.mjs 66.94 KB
29
- ESM ⚡️ Build success in 80ms
24
+ ESM dist/cli.mjs 69.82 KB
25
+ ESM dist/chunk-VOKP7FGM.mjs 9.52 KB
26
+ ESM ⚡️ Build success in 118ms
27
+ CJS dist/cli.js 83.57 KB
28
+ CJS dist/index.js 10.62 KB
29
+ CJS ⚡️ Build success in 118ms
@@ -1,20 +1,34 @@
1
1
 
2
2
  
3
- > @aiready/cli@0.13.0 test /Users/pengcao/projects/aiready/packages/cli
3
+ > @aiready/cli@0.13.8 test /Users/pengcao/projects/aiready/packages/cli
4
4
  > vitest run
5
5
 
6
6
  [?25l
7
7
   RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/cli
8
8
 
9
- ✓ src/utils/__tests__/helpers.test.ts (3 tests) 5ms
9
+ stdout | src/commands/__tests__/upload.test.ts > Upload CLI Action > should fail if API key is missing
10
+  Set AIREADY_API_KEY environment variable or use --api-key flag.
11
+ Get an API key from https://platform.getaiready.dev/dashboard
12
+ 🚀 Uploading report to https://dev.platform.getaiready.dev...
13
+ Reading report from /Users/pengcao/projects/aiready/packages/cli/report.json...
14
+ Successfully parsed report JSON.
15
+
16
+ stdout | src/commands/__tests__/upload.test.ts > Upload CLI Action > should fail if API key is missing
17
+ 
18
+ ✅ Upload successful! (0.00s)
19
+ View results: https://dev.platform.getaiready.dev/dashboard
20
+ Analysis ID: 123
21
+ Score: 80/100
22
+
23
+ ✓ src/commands/__tests__/upload.test.ts (2 tests) 4ms
24
+ ✓ src/commands/__tests__/deps-health.test.ts (1 test) 11ms
25
+ ✓ src/commands/__tests__/doc-drift.test.ts (1 test) 11ms
26
+ ✓ src/commands/__tests__/agent-grounding.test.ts (1 test) 12ms
27
+ ✓ src/commands/__tests__/ai-signal-clarity.test.ts (1 test) 10ms
28
+ ✓ src/commands/__tests__/testability.test.ts (2 tests) 9ms
10
29
  stdout | src/commands/__tests__/visualize.test.ts > Visualize CLI Action > should generate HTML from specified report
11
30
  Building graph from report...
12
31
 
13
- ✓ src/commands/__tests__/testability.test.ts (2 tests) 14ms
14
- ✓ src/commands/__tests__/ai-signal-clarity.test.ts (1 test) 13ms
15
- ✓ src/commands/__tests__/deps-health.test.ts (1 test) 12ms
16
- ✓ src/commands/__tests__/doc-drift.test.ts (1 test) 25ms
17
- ✓ src/commands/__tests__/agent-grounding.test.ts (1 test) 25ms
18
32
  stdout | src/commands/__tests__/visualize.test.ts > Visualize CLI Action > should generate HTML from specified report
19
33
  Generating HTML...
20
34
  ✅ Visualization written to: /Users/pengcao/projects/aiready/packages/cli/visualization.html
@@ -42,34 +56,20 @@ Or specify a custom report:
42
56
  Generating HTML...
43
57
  ✅ Visualization written to: /Users/pengcao/projects/aiready/packages/cli/visualization.html
44
58
 
45
- ✓ src/commands/__tests__/visualize.test.ts (4 tests) 34ms
46
- stdout | src/commands/__tests__/upload.test.ts > Upload CLI Action > should fail if API key is missing
47
-  Set AIREADY_API_KEY environment variable or use --api-key flag.
48
- Get an API key from https://platform.getaiready.dev/dashboard
49
- 🚀 Uploading report to https://dev.platform.getaiready.dev...
50
- Reading report from /Users/pengcao/projects/aiready/packages/cli/report.json...
51
- Successfully parsed report JSON.
52
-
53
- stdout | src/commands/__tests__/upload.test.ts > Upload CLI Action > should fail if API key is missing
54
- 
55
- ✅ Upload successful! (0.00s)
56
- View results: https://dev.platform.getaiready.dev/dashboard
57
- Analysis ID: 123
58
- Score: 80/100
59
-
60
- ✓ src/commands/__tests__/upload.test.ts (2 tests) 5ms
59
+ ✓ src/commands/__tests__/visualize.test.ts (4 tests) 30ms
60
+ ✓ src/utils/__tests__/helpers.test.ts (3 tests) 3ms
61
61
  ✓ src/commands/__tests__/consistency.test.ts (4 tests) 4ms
62
- ✓ src/commands/__tests__/scan.test.ts (6 tests) 77ms
63
- ✓ src/__tests__/unified.test.ts (4 tests) 3ms
64
- ✓ src/commands/__tests__/extra-commands.test.ts (8 tests) 93ms
65
- ✓ src/__tests__/cli.test.ts (3 tests) 3317ms
66
- ✓ should run unified analysis with both tools  3316ms
67
- ✓ src/__tests__/config-shape.test.ts (3 tests) 3318ms
68
- ✓ should generate a strictly portable AIReadyConfig in summary  3316ms
62
+ ✓ src/commands/__tests__/scan.test.ts (6 tests) 102ms
63
+ ✓ src/commands/__tests__/extra-commands.test.ts (8 tests) 101ms
64
+ ✓ src/__tests__/unified.test.ts (4 tests) 6ms
65
+ ✓ src/__tests__/cli.test.ts (3 tests) 2662ms
66
+ ✓ should run unified analysis with both tools  2661ms
67
+ ✓ src/__tests__/config-shape.test.ts (3 tests) 2662ms
68
+ ✓ should generate a strictly portable AIReadyConfig in summary  2660ms
69
69
 
70
70
   Test Files  14 passed (14)
71
71
   Tests  43 passed (43)
72
-  Start at  00:58:55
73
-  Duration  4.20s (transform 1.99s, setup 0ms, import 4.11s, tests 6.94s, environment 1ms)
72
+  Start at  16:14:25
73
+  Duration  3.51s (transform 1.81s, setup 0ms, import 3.72s, tests 5.62s, environment 1ms)
74
74
 
75
75
  [?25h