@aiready/pattern-detect 0.7.3 → 0.7.5
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/dist/cli.js +15 -2
- package/dist/cli.mjs +15 -2
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -604,11 +604,18 @@ program.name("aiready-patterns").description("Detect duplicate patterns in your
|
|
|
604
604
|
console.log(
|
|
605
605
|
import_chalk.default.white(
|
|
606
606
|
`
|
|
607
|
-
\u{1F4A1} Run with ${import_chalk.default.bold("--output json")} or ${import_chalk.default.bold("--output html")} for detailed reports
|
|
608
|
-
`
|
|
607
|
+
\u{1F4A1} Run with ${import_chalk.default.bold("--output json")} or ${import_chalk.default.bold("--output html")} for detailed reports`
|
|
609
608
|
)
|
|
610
609
|
);
|
|
611
610
|
}
|
|
611
|
+
console.log(
|
|
612
|
+
import_chalk.default.dim(
|
|
613
|
+
"\n\u2B50 Like AIReady? Star us on GitHub: https://github.com/caopengau/aiready-pattern-detect"
|
|
614
|
+
)
|
|
615
|
+
);
|
|
616
|
+
console.log(
|
|
617
|
+
import_chalk.default.dim("\u{1F41B} Found a bug? Report it: https://github.com/caopengau/aiready-pattern-detect/issues\n")
|
|
618
|
+
);
|
|
612
619
|
});
|
|
613
620
|
function getPatternIcon(type) {
|
|
614
621
|
const icons = {
|
|
@@ -687,6 +694,12 @@ function generateHTMLReport(summary, results) {
|
|
|
687
694
|
</tbody>
|
|
688
695
|
</table>
|
|
689
696
|
</div>
|
|
697
|
+
|
|
698
|
+
<div class="footer">
|
|
699
|
+
<p>Generated by <strong>@aiready/pattern-detect</strong></p>
|
|
700
|
+
<p>Like AIReady? <a href="https://github.com/caopengau/aiready-pattern-detect">Star us on GitHub</a></p>
|
|
701
|
+
<p>Found a bug? <a href="https://github.com/caopengau/aiready-pattern-detect/issues">Report it here</a></p>
|
|
702
|
+
</div>
|
|
690
703
|
</body>
|
|
691
704
|
</html>`;
|
|
692
705
|
}
|
package/dist/cli.mjs
CHANGED
|
@@ -169,11 +169,18 @@ program.name("aiready-patterns").description("Detect duplicate patterns in your
|
|
|
169
169
|
console.log(
|
|
170
170
|
chalk.white(
|
|
171
171
|
`
|
|
172
|
-
\u{1F4A1} Run with ${chalk.bold("--output json")} or ${chalk.bold("--output html")} for detailed reports
|
|
173
|
-
`
|
|
172
|
+
\u{1F4A1} Run with ${chalk.bold("--output json")} or ${chalk.bold("--output html")} for detailed reports`
|
|
174
173
|
)
|
|
175
174
|
);
|
|
176
175
|
}
|
|
176
|
+
console.log(
|
|
177
|
+
chalk.dim(
|
|
178
|
+
"\n\u2B50 Like AIReady? Star us on GitHub: https://github.com/caopengau/aiready-pattern-detect"
|
|
179
|
+
)
|
|
180
|
+
);
|
|
181
|
+
console.log(
|
|
182
|
+
chalk.dim("\u{1F41B} Found a bug? Report it: https://github.com/caopengau/aiready-pattern-detect/issues\n")
|
|
183
|
+
);
|
|
177
184
|
});
|
|
178
185
|
function getPatternIcon(type) {
|
|
179
186
|
const icons = {
|
|
@@ -252,6 +259,12 @@ function generateHTMLReport(summary, results) {
|
|
|
252
259
|
</tbody>
|
|
253
260
|
</table>
|
|
254
261
|
</div>
|
|
262
|
+
|
|
263
|
+
<div class="footer">
|
|
264
|
+
<p>Generated by <strong>@aiready/pattern-detect</strong></p>
|
|
265
|
+
<p>Like AIReady? <a href="https://github.com/caopengau/aiready-pattern-detect">Star us on GitHub</a></p>
|
|
266
|
+
<p>Found a bug? <a href="https://github.com/caopengau/aiready-pattern-detect/issues">Report it here</a></p>
|
|
267
|
+
</div>
|
|
255
268
|
</body>
|
|
256
269
|
</html>`;
|
|
257
270
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiready/pattern-detect",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"description": "Semantic duplicate pattern detection for AI-generated code - finds similar implementations that waste AI context tokens",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"commander": "^14.0.0",
|
|
47
47
|
"chalk": "^5.3.0",
|
|
48
|
-
"@aiready/core": "0.3.
|
|
48
|
+
"@aiready/core": "0.3.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"tsup": "^8.3.5",
|