@aiready/context-analyzer 0.3.0 → 0.3.3
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 +7 -7
- package/dist/cli.js +4 -3
- package/dist/cli.mjs +4 -3
- package/package.json +2 -2
- package/src/cli.ts +4 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @aiready/context-analyzer@0.3.
|
|
3
|
+
> @aiready/context-analyzer@0.3.3 build /Users/pengcao/projects/aiready/packages/context-analyzer
|
|
4
4
|
> tsup src/index.ts src/cli.ts --format cjs,esm --dts
|
|
5
5
|
|
|
6
6
|
[34mCLI[39m Building entry: src/cli.ts, src/index.ts
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
[34mCLI[39m Target: es2020
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
11
|
[34mESM[39m Build start
|
|
12
|
-
[32mESM[39m [1mdist/cli.mjs [22m[
|
|
13
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m124.00 B[39m
|
|
12
|
+
[32mESM[39m [1mdist/cli.mjs [22m[32m14.00 KB[39m
|
|
14
13
|
[32mESM[39m [1mdist/chunk-T6ZCOPPI.mjs [22m[32m17.25 KB[39m
|
|
15
|
-
[32mESM[39m
|
|
14
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m124.00 B[39m
|
|
15
|
+
[32mESM[39m ⚡️ Build success in 54ms
|
|
16
|
+
[32mCJS[39m [1mdist/cli.js [22m[32m33.27 KB[39m
|
|
16
17
|
[32mCJS[39m [1mdist/index.js [22m[32m18.33 KB[39m
|
|
17
|
-
[32mCJS[39m
|
|
18
|
-
[32mCJS[39m ⚡️ Build success in 16ms
|
|
18
|
+
[32mCJS[39m ⚡️ Build success in 54ms
|
|
19
19
|
DTS Build start
|
|
20
|
-
DTS ⚡️ Build success in
|
|
20
|
+
DTS ⚡️ Build success in 596ms
|
|
21
21
|
DTS dist/cli.d.ts 20.00 B
|
|
22
22
|
DTS dist/index.d.ts 2.14 KB
|
|
23
23
|
DTS dist/cli.d.mts 20.00 B
|
package/dist/cli.js
CHANGED
|
@@ -773,11 +773,11 @@ function displayConsoleReport(summary, results, elapsedTime, maxResults = 10) {
|
|
|
773
773
|
console.log(import_chalk.default.cyan(divider));
|
|
774
774
|
console.log(
|
|
775
775
|
import_chalk.default.dim(
|
|
776
|
-
"\n\
|
|
776
|
+
"\n\u2B50 Like AIReady? Star us on GitHub: https://github.com/caopengau/aiready-context-analyzer"
|
|
777
777
|
)
|
|
778
778
|
);
|
|
779
779
|
console.log(
|
|
780
|
-
import_chalk.default.dim("\u{
|
|
780
|
+
import_chalk.default.dim("\u{1F41B} Found a bug? Report it: https://github.com/caopengau/aiready-context-analyzer/issues\n")
|
|
781
781
|
);
|
|
782
782
|
}
|
|
783
783
|
function generateHTMLReport(summary, results) {
|
|
@@ -948,7 +948,8 @@ function generateHTMLReport(summary, results) {
|
|
|
948
948
|
|
|
949
949
|
<div class="footer">
|
|
950
950
|
<p>Generated by <strong>@aiready/context-analyzer</strong></p>
|
|
951
|
-
<p>
|
|
951
|
+
<p>Like AIReady? <a href="https://github.com/caopengau/aiready-context-analyzer">Star us on GitHub</a></p>
|
|
952
|
+
<p>Found a bug? <a href="https://github.com/caopengau/aiready-context-analyzer/issues">Report it here</a></p>
|
|
952
953
|
</div>
|
|
953
954
|
</body>
|
|
954
955
|
</html>`;
|
package/dist/cli.mjs
CHANGED
|
@@ -218,11 +218,11 @@ function displayConsoleReport(summary, results, elapsedTime, maxResults = 10) {
|
|
|
218
218
|
console.log(chalk.cyan(divider));
|
|
219
219
|
console.log(
|
|
220
220
|
chalk.dim(
|
|
221
|
-
"\n\
|
|
221
|
+
"\n\u2B50 Like AIReady? Star us on GitHub: https://github.com/caopengau/aiready-context-analyzer"
|
|
222
222
|
)
|
|
223
223
|
);
|
|
224
224
|
console.log(
|
|
225
|
-
chalk.dim("\u{
|
|
225
|
+
chalk.dim("\u{1F41B} Found a bug? Report it: https://github.com/caopengau/aiready-context-analyzer/issues\n")
|
|
226
226
|
);
|
|
227
227
|
}
|
|
228
228
|
function generateHTMLReport(summary, results) {
|
|
@@ -393,7 +393,8 @@ function generateHTMLReport(summary, results) {
|
|
|
393
393
|
|
|
394
394
|
<div class="footer">
|
|
395
395
|
<p>Generated by <strong>@aiready/context-analyzer</strong></p>
|
|
396
|
-
<p>
|
|
396
|
+
<p>Like AIReady? <a href="https://github.com/caopengau/aiready-context-analyzer">Star us on GitHub</a></p>
|
|
397
|
+
<p>Found a bug? <a href="https://github.com/caopengau/aiready-context-analyzer/issues">Report it here</a></p>
|
|
397
398
|
</div>
|
|
398
399
|
</body>
|
|
399
400
|
</html>`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiready/context-analyzer",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "AI context window cost analysis - detect fragmented code, deep import chains, and expensive context budgets",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"commander": "^12.1.0",
|
|
51
51
|
"chalk": "^5.3.0",
|
|
52
|
-
"@aiready/core": "0.3.
|
|
52
|
+
"@aiready/core": "0.3.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/node": "^22.10.2",
|
package/src/cli.ts
CHANGED
|
@@ -284,11 +284,11 @@ function displayConsoleReport(
|
|
|
284
284
|
console.log(chalk.cyan(divider));
|
|
285
285
|
console.log(
|
|
286
286
|
chalk.dim(
|
|
287
|
-
'\n
|
|
287
|
+
'\n⭐ Like AIReady? Star us on GitHub: https://github.com/caopengau/aiready-context-analyzer'
|
|
288
288
|
)
|
|
289
289
|
);
|
|
290
290
|
console.log(
|
|
291
|
-
chalk.dim('
|
|
291
|
+
chalk.dim('🐛 Found a bug? Report it: https://github.com/caopengau/aiready-context-analyzer/issues\n')
|
|
292
292
|
);
|
|
293
293
|
}
|
|
294
294
|
|
|
@@ -468,7 +468,8 @@ function generateHTMLReport(
|
|
|
468
468
|
|
|
469
469
|
<div class="footer">
|
|
470
470
|
<p>Generated by <strong>@aiready/context-analyzer</strong></p>
|
|
471
|
-
<p>
|
|
471
|
+
<p>Like AIReady? <a href="https://github.com/caopengau/aiready-context-analyzer">Star us on GitHub</a></p>
|
|
472
|
+
<p>Found a bug? <a href="https://github.com/caopengau/aiready-context-analyzer/issues">Report it here</a></p>
|
|
472
473
|
</div>
|
|
473
474
|
</body>
|
|
474
475
|
</html>`;
|