@aiready/cli 0.9.19 → 0.9.21
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.
- package/.turbo/turbo-build.log +5 -5
- package/.turbo/turbo-test.log +5 -5
- package/dist/cli.js +2 -2
- package/dist/cli.mjs +2 -2
- package/package.json +6 -6
- package/src/cli.ts +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @aiready/cli@0.9.
|
|
3
|
+
> @aiready/cli@0.9.21 build /Users/pengcao/projects/aiready/packages/cli
|
|
4
4
|
> tsup src/index.ts src/cli.ts --format cjs,esm
|
|
5
5
|
|
|
6
6
|
[34mCLI[39m Building entry: src/cli.ts, src/index.ts
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
[34mCLI[39m Target: es2020
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
11
|
[34mESM[39m Build start
|
|
12
|
-
[32mCJS[39m [1mdist/cli.js [22m[32m65.17 KB[39m
|
|
13
12
|
[32mCJS[39m [1mdist/index.js [22m[32m4.93 KB[39m
|
|
14
|
-
[32mCJS[39m
|
|
13
|
+
[32mCJS[39m [1mdist/cli.js [22m[32m65.17 KB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 104ms
|
|
15
15
|
[32mESM[39m [1mdist/index.mjs [22m[32m138.00 B[39m
|
|
16
|
-
[32mESM[39m [1mdist/cli.mjs [22m[32m57.53 KB[39m
|
|
17
16
|
[32mESM[39m [1mdist/chunk-5GZDRZ3T.mjs [22m[32m4.17 KB[39m
|
|
18
|
-
[32mESM[39m
|
|
17
|
+
[32mESM[39m [1mdist/cli.mjs [22m[32m57.52 KB[39m
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 108ms
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @aiready/cli@0.9.
|
|
3
|
+
> @aiready/cli@0.9.21 test /Users/pengcao/projects/aiready/packages/cli
|
|
4
4
|
> vitest run
|
|
5
5
|
|
|
6
6
|
[?25l
|
|
7
7
|
[1m[46m RUN [49m[22m [36mv4.0.18 [39m[90m/Users/pengcao/projects/aiready/packages/cli[39m
|
|
8
8
|
|
|
9
|
-
[32m✓[39m dist/__tests__/cli.test.js [2m([22m[2m3 tests[22m[2m)[22m[32m
|
|
10
|
-
[32m✓[39m src/__tests__/cli.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m
|
|
9
|
+
[32m✓[39m dist/__tests__/cli.test.js [2m([22m[2m3 tests[22m[2m)[22m[32m 6[2mms[22m[39m
|
|
10
|
+
[32m✓[39m src/__tests__/cli.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
11
11
|
|
|
12
12
|
[2m Test Files [22m [1m[32m2 passed[39m[22m[90m (2)[39m
|
|
13
13
|
[2m Tests [22m [1m[32m6 passed[39m[22m[90m (6)[39m
|
|
14
|
-
[2m Start at [22m 15:
|
|
15
|
-
[2m Duration [22m
|
|
14
|
+
[2m Start at [22m 15:34:38
|
|
15
|
+
[2m Duration [22m 8.35s[2m (transform 4.39s, setup 0ms, import 10.59s, tests 10ms, environment 166ms)[22m
|
|
16
16
|
|
|
17
17
|
[?25h
|
package/dist/cli.js
CHANGED
|
@@ -157,7 +157,7 @@ VERSION: ${packageJson.version}
|
|
|
157
157
|
DOCUMENTATION: https://aiready.dev/docs/cli
|
|
158
158
|
GITHUB: https://github.com/caopengau/aiready-cli
|
|
159
159
|
LANDING: https://github.com/caopengau/aiready-landing`);
|
|
160
|
-
program.command("scan").description("Run comprehensive AI-readiness analysis (patterns + context + consistency)").argument("[directory]", "Directory to analyze", ".").option("-t, --tools <tools>", "Tools to run (comma-separated: patterns,context,consistency)", "patterns,context,consistency").option("--include <patterns>", "File patterns to include (comma-separated)").option("--exclude <patterns>", "File patterns to exclude (comma-separated)").option("-o, --output <format>", "Output format: console, json", "
|
|
160
|
+
program.command("scan").description("Run comprehensive AI-readiness analysis (patterns + context + consistency)").argument("[directory]", "Directory to analyze", ".").option("-t, --tools <tools>", "Tools to run (comma-separated: patterns,context,consistency)", "patterns,context,consistency").option("--include <patterns>", "File patterns to include (comma-separated)").option("--exclude <patterns>", "File patterns to exclude (comma-separated)").option("-o, --output <format>", "Output format: console, json", "json").option("--output-file <path>", "Output file path (for json)").option("--score", "Calculate and display AI Readiness Score (0-100) with breakdown").option("--weights <weights>", "Custom scoring weights (patterns:40,context:35,consistency:25)").option("--threshold <score>", "Fail CI/CD if score below threshold (0-100)").addHelpText("after", `
|
|
161
161
|
EXAMPLES:
|
|
162
162
|
$ aiready scan # Analyze all tools
|
|
163
163
|
$ aiready scan --tools patterns,context # Skip consistency
|
|
@@ -173,7 +173,7 @@ EXAMPLES:
|
|
|
173
173
|
include: void 0,
|
|
174
174
|
exclude: void 0,
|
|
175
175
|
output: {
|
|
176
|
-
format: "
|
|
176
|
+
format: "json",
|
|
177
177
|
file: void 0
|
|
178
178
|
}
|
|
179
179
|
};
|
package/dist/cli.mjs
CHANGED
|
@@ -62,7 +62,7 @@ VERSION: ${packageJson.version}
|
|
|
62
62
|
DOCUMENTATION: https://aiready.dev/docs/cli
|
|
63
63
|
GITHUB: https://github.com/caopengau/aiready-cli
|
|
64
64
|
LANDING: https://github.com/caopengau/aiready-landing`);
|
|
65
|
-
program.command("scan").description("Run comprehensive AI-readiness analysis (patterns + context + consistency)").argument("[directory]", "Directory to analyze", ".").option("-t, --tools <tools>", "Tools to run (comma-separated: patterns,context,consistency)", "patterns,context,consistency").option("--include <patterns>", "File patterns to include (comma-separated)").option("--exclude <patterns>", "File patterns to exclude (comma-separated)").option("-o, --output <format>", "Output format: console, json", "
|
|
65
|
+
program.command("scan").description("Run comprehensive AI-readiness analysis (patterns + context + consistency)").argument("[directory]", "Directory to analyze", ".").option("-t, --tools <tools>", "Tools to run (comma-separated: patterns,context,consistency)", "patterns,context,consistency").option("--include <patterns>", "File patterns to include (comma-separated)").option("--exclude <patterns>", "File patterns to exclude (comma-separated)").option("-o, --output <format>", "Output format: console, json", "json").option("--output-file <path>", "Output file path (for json)").option("--score", "Calculate and display AI Readiness Score (0-100) with breakdown").option("--weights <weights>", "Custom scoring weights (patterns:40,context:35,consistency:25)").option("--threshold <score>", "Fail CI/CD if score below threshold (0-100)").addHelpText("after", `
|
|
66
66
|
EXAMPLES:
|
|
67
67
|
$ aiready scan # Analyze all tools
|
|
68
68
|
$ aiready scan --tools patterns,context # Skip consistency
|
|
@@ -78,7 +78,7 @@ EXAMPLES:
|
|
|
78
78
|
include: void 0,
|
|
79
79
|
exclude: void 0,
|
|
80
80
|
output: {
|
|
81
|
-
format: "
|
|
81
|
+
format: "json",
|
|
82
82
|
file: void 0
|
|
83
83
|
}
|
|
84
84
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiready/cli",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.21",
|
|
4
4
|
"description": "Unified CLI for AIReady analysis tools",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"commander": "^14.0.0",
|
|
13
13
|
"chalk": "^5.3.0",
|
|
14
|
-
"@aiready/
|
|
15
|
-
"@aiready/
|
|
16
|
-
"@aiready/pattern-detect": "0.11.
|
|
17
|
-
"@aiready/
|
|
18
|
-
"@aiready/
|
|
14
|
+
"@aiready/core": "0.9.20",
|
|
15
|
+
"@aiready/visualizer": "0.1.26",
|
|
16
|
+
"@aiready/pattern-detect": "0.11.20",
|
|
17
|
+
"@aiready/context-analyzer": "0.9.20",
|
|
18
|
+
"@aiready/consistency": "0.8.20"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"tsup": "^8.3.5",
|
package/src/cli.ts
CHANGED
|
@@ -77,7 +77,7 @@ program
|
|
|
77
77
|
.option('-t, --tools <tools>', 'Tools to run (comma-separated: patterns,context,consistency)', 'patterns,context,consistency')
|
|
78
78
|
.option('--include <patterns>', 'File patterns to include (comma-separated)')
|
|
79
79
|
.option('--exclude <patterns>', 'File patterns to exclude (comma-separated)')
|
|
80
|
-
.option('-o, --output <format>', 'Output format: console, json', '
|
|
80
|
+
.option('-o, --output <format>', 'Output format: console, json', 'json')
|
|
81
81
|
.option('--output-file <path>', 'Output file path (for json)')
|
|
82
82
|
.option('--score', 'Calculate and display AI Readiness Score (0-100) with breakdown')
|
|
83
83
|
.option('--weights <weights>', 'Custom scoring weights (patterns:40,context:35,consistency:25)')
|
|
@@ -103,7 +103,7 @@ EXAMPLES:
|
|
|
103
103
|
include: undefined,
|
|
104
104
|
exclude: undefined,
|
|
105
105
|
output: {
|
|
106
|
-
format: '
|
|
106
|
+
format: 'json',
|
|
107
107
|
file: undefined,
|
|
108
108
|
},
|
|
109
109
|
};
|