aislop 0.5.1 → 0.6.1

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,4 +1,4 @@
1
- import { n as ENGINE_INFO, t as APP_VERSION } from "./version-CIlgPf8Q.js";
1
+ import { n as ENGINE_INFO, t as APP_VERSION } from "./version-DukdnmKT.js";
2
2
 
3
3
  //#region src/output/json.ts
4
4
  const buildJsonOutput = (results, scoreResult, fileCount, elapsedMs) => {
@@ -29,11 +29,7 @@ const getEngineLabel = (engine) => ENGINE_INFO[engine].label;
29
29
 
30
30
  //#endregion
31
31
  //#region src/version.ts
32
- /**
33
- * Application version — injected at build time by tsdown from package.json.
34
- * The fallback should always match the "version" field in package.json.
35
- */
36
- const APP_VERSION = "0.5.1";
32
+ const APP_VERSION = "0.6.1";
37
33
 
38
34
  //#endregion
39
35
  export { ENGINE_INFO as n, getEngineLabel as r, APP_VERSION as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aislop",
3
- "version": "0.5.1",
3
+ "version": "0.6.1",
4
4
  "description": "Stop AI slop from shipping. A unified code quality CLI that catches the lazy patterns AI coding tools leave behind.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -23,6 +23,7 @@
23
23
  "typecheck": "tsc --noEmit",
24
24
  "test": "pnpm build && vitest run",
25
25
  "scan": "pnpm build && node dist/cli.js scan .",
26
+ "scan:exclude": "pnpm build && node dist/cli.js scan . --exclude .idea --exclude .gitnore --exclude node_modules",
26
27
  "scan:json": "pnpm build && node dist/cli.js scan . --json",
27
28
  "quality": "pnpm typecheck && pnpm test && node dist/cli.js scan . --json"
28
29
  },
@@ -47,13 +48,13 @@
47
48
  ],
48
49
  "author": "heavykenny",
49
50
  "license": "MIT",
50
- "homepage": "https://github.com/heavykenny/aislop#readme",
51
+ "homepage": "https://github.com/scanaislop/aislop#readme",
51
52
  "repository": {
52
53
  "type": "git",
53
- "url": "git+https://github.com/heavykenny/aislop.git"
54
+ "url": "git+https://github.com/scanaislop/aislop.git"
54
55
  },
55
56
  "bugs": {
56
- "url": "https://github.com/heavykenny/aislop/issues"
57
+ "url": "https://github.com/scanaislop/aislop/issues"
57
58
  },
58
59
  "engines": {
59
60
  "node": ">=20"
@@ -66,6 +67,7 @@
66
67
  "commander": "^14.0.3",
67
68
  "expo-doctor": "^1.18.10",
68
69
  "knip": "^5.85.0",
70
+ "micromatch": "^4.0.8",
69
71
  "oxlint": "^1.51.0",
70
72
  "picocolors": "^1.1.1",
71
73
  "tar": "^7.5.11",
@@ -75,6 +77,7 @@
75
77
  "zod": "^4.3.6"
76
78
  },
77
79
  "devDependencies": {
80
+ "@types/micromatch": "^4.0.10",
78
81
  "@types/node": "^25.6.0",
79
82
  "tsdown": "^0.20.3",
80
83
  "vitest": "^4.0.18"
@@ -70,8 +70,8 @@ const TOOL_DEFINITIONS = [
70
70
  const isWindows = process.platform === "win32";
71
71
  const withExecutableExtension = (name) => (isWindows ? `${name}.exe` : name);
72
72
 
73
- const info = (message) => console.log(`[aislop] ${message}`);
74
- const warn = (message) => console.warn(`[aislop] ${message}`);
73
+ const info = (message) => console.error(`[aislop] ${message}`);
74
+ const warn = (message) => console.error(`[aislop] ${message}`);
75
75
 
76
76
  const downloadFile = async (url, destination) => {
77
77
  const response = await fetch(url, {