aislop 0.6.1 → 0.6.2

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/README.md CHANGED
@@ -46,7 +46,7 @@ Sample output:
46
46
  [!] Code Quality: done (2 warnings, 812ms)
47
47
  [!] AI Slop: done (4 warnings, 455ms)
48
48
  [ok] Security: done (0 issues, 1.3s)
49
- aislop 0.6.1 · the quality gate for agentic coding
49
+ aislop 0.6.2 · the quality gate for agentic coding
50
50
 
51
51
  scan · my-app · typescript · 142 files
52
52
 
package/dist/cli.js CHANGED
@@ -2184,6 +2184,10 @@ const getIssueItems = (fileIssue, issueType) => {
2184
2184
  const items = fileIssue[issueType];
2185
2185
  return Array.isArray(items) ? items : [];
2186
2186
  };
2187
+ const shouldIncludeIssue = (issueType, filePath) => {
2188
+ if (issueType !== "binaries") return true;
2189
+ return !filePath.replace(/\\/g, "/").includes(".github/workflows/");
2190
+ };
2187
2191
  const DEPENDENCY_HELP = {
2188
2192
  dependencies: "This package is listed in package.json but not imported anywhere. Remove it with `npm uninstall` or `npx aislop fix`.",
2189
2193
  devDependencies: "This package is listed in package.json but not imported anywhere. Remove it with `npm uninstall` or `npx aislop fix`.",
@@ -2193,6 +2197,7 @@ const DEPENDENCY_HELP = {
2193
2197
  };
2194
2198
  const collectIssues = (fileIssue, issueType, rootDir, knipCwd) => {
2195
2199
  const diagnostics = [];
2200
+ if (!shouldIncludeIssue(issueType, fileIssue.file)) return diagnostics;
2196
2201
  const issues = getIssueItems(fileIssue, issueType);
2197
2202
  const category = isDependencyType(issueType) ? "Dependencies" : "Dead Code";
2198
2203
  const severity = issueType === "unlisted" || issueType === "unresolved" ? "error" : "warning";
@@ -6329,7 +6334,7 @@ const renderCleanRun = (input, deps = {}) => {
6329
6334
 
6330
6335
  //#endregion
6331
6336
  //#region src/version.ts
6332
- const APP_VERSION = "0.6.1";
6337
+ const APP_VERSION = "0.6.2";
6333
6338
 
6334
6339
  //#endregion
6335
6340
  //#region src/utils/telemetry.ts
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as ENGINE_INFO, r as getEngineLabel, t as APP_VERSION } from "./version-DukdnmKT.js";
1
+ import { n as ENGINE_INFO, r as getEngineLabel, t as APP_VERSION } from "./version-AmNwcw_U.js";
2
2
  import { n as runSubprocess, t as isToolInstalled } from "./subprocess-CQUJDGgn.js";
3
3
  import { r as runGenericLinter, t as fixRubyLint } from "./generic-BrcWMW7E.js";
4
4
  import { n as runExpoDoctor } from "./expo-doctor-Bz0LZhQ6.js";
@@ -2700,6 +2700,10 @@ const getIssueItems = (fileIssue, issueType) => {
2700
2700
  const items = fileIssue[issueType];
2701
2701
  return Array.isArray(items) ? items : [];
2702
2702
  };
2703
+ const shouldIncludeIssue = (issueType, filePath) => {
2704
+ if (issueType !== "binaries") return true;
2705
+ return !filePath.replace(/\\/g, "/").includes(".github/workflows/");
2706
+ };
2703
2707
  const DEPENDENCY_HELP = {
2704
2708
  dependencies: "This package is listed in package.json but not imported anywhere. Remove it with `npm uninstall` or `npx aislop fix`.",
2705
2709
  devDependencies: "This package is listed in package.json but not imported anywhere. Remove it with `npm uninstall` or `npx aislop fix`.",
@@ -2709,6 +2713,7 @@ const DEPENDENCY_HELP = {
2709
2713
  };
2710
2714
  const collectIssues = (fileIssue, issueType, rootDir, knipCwd) => {
2711
2715
  const diagnostics = [];
2716
+ if (!shouldIncludeIssue(issueType, fileIssue.file)) return diagnostics;
2712
2717
  const issues = getIssueItems(fileIssue, issueType);
2713
2718
  const category = isDependencyType(issueType) ? "Dependencies" : "Dead Code";
2714
2719
  const severity = issueType === "unlisted" || issueType === "unresolved" ? "error" : "warning";
@@ -5336,7 +5341,7 @@ const scanCommand = async (directory, config, options) => {
5336
5341
  });
5337
5342
  }
5338
5343
  if (options.json) {
5339
- const { buildJsonOutput } = await import("./json-DIW4kCBS.js");
5344
+ const { buildJsonOutput } = await import("./json-ZItDVIZL.js");
5340
5345
  const jsonOut = buildJsonOutput(results, scoreResult, projectInfo.sourceFileCount, elapsedMs);
5341
5346
  console.log(JSON.stringify(jsonOut, null, 2));
5342
5347
  return { exitCode };
@@ -1,4 +1,4 @@
1
- import { n as ENGINE_INFO, t as APP_VERSION } from "./version-DukdnmKT.js";
1
+ import { n as ENGINE_INFO, t as APP_VERSION } from "./version-AmNwcw_U.js";
2
2
 
3
3
  //#region src/output/json.ts
4
4
  const buildJsonOutput = (results, scoreResult, fileCount, elapsedMs) => {
@@ -29,7 +29,7 @@ const getEngineLabel = (engine) => ENGINE_INFO[engine].label;
29
29
 
30
30
  //#endregion
31
31
  //#region src/version.ts
32
- const APP_VERSION = "0.6.1";
32
+ const APP_VERSION = "0.6.2";
33
33
 
34
34
  //#endregion
35
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.6.1",
3
+ "version": "0.6.2",
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": {