ai-cmds 0.3.0 → 0.4.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.
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { a as reviewCodeChangesCommand, c as DEFAULT_SCOPES, i as advancedReviewChangesCommand, l as defineConfig, n as createPRCommand, o as BUILT_IN_SETUP_OPTIONS, r as commitCommand, s as BUILT_IN_SCOPE_OPTIONS, t as reviewPRCommand } from "./review-pr-yDp8Hdx1.js";
1
+ import { a as reviewCodeChangesCommand, c as DEFAULT_SCOPES, i as advancedReviewChangesCommand, l as defineConfig, n as createPRCommand, o as BUILT_IN_SETUP_OPTIONS, r as commitCommand, s as BUILT_IN_SCOPE_OPTIONS, t as reviewPRCommand } from "./review-pr-C3lBSGhM.js";
2
2
 
3
3
  export { BUILT_IN_SCOPE_OPTIONS, BUILT_IN_SETUP_OPTIONS, DEFAULT_SCOPES, advancedReviewChangesCommand, commitCommand, createPRCommand, defineConfig, reviewCodeChangesCommand, reviewPRCommand };
package/dist/main.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as reviewCodeChangesCommand, i as advancedReviewChangesCommand, n as createPRCommand, r as commitCommand, t as reviewPRCommand } from "./review-pr-yDp8Hdx1.js";
2
+ import { a as reviewCodeChangesCommand, i as advancedReviewChangesCommand, n as createPRCommand, r as commitCommand, t as reviewPRCommand } from "./review-pr-C3lBSGhM.js";
3
3
  import { createCLI } from "@ls-stack/cli";
4
4
 
5
5
  //#region src/main.ts
@@ -2708,7 +2708,9 @@ const commitCommand = createCmd({
2708
2708
  filesToReview = changedFiles;
2709
2709
  const excludePatterns = [...DEFAULT_EXCLUDE_PATTERNS, ...config.excludePatterns ?? []];
2710
2710
  const filteredFiles = applyExcludePatterns(filesToReview, excludePatterns);
2711
- console.log(`\n📊 ${filesToReview.length} file(s) changed\n`);
2711
+ console.log(`\n📊 ${filesToReview.length} file(s) changed:`);
2712
+ for (const file of filesToReview) console.log(` ${file}`);
2713
+ console.log();
2712
2714
  diff = await git.getUnstagedDiff({
2713
2715
  includeFiles: filteredFiles.length > 0 ? filteredFiles : void 0,
2714
2716
  silent: true
@@ -2717,7 +2719,9 @@ const commitCommand = createCmd({
2717
2719
  filesToReview = stagedFiles;
2718
2720
  const excludePatterns = [...DEFAULT_EXCLUDE_PATTERNS, ...config.excludePatterns ?? []];
2719
2721
  const filteredFiles = applyExcludePatterns(filesToReview, excludePatterns);
2720
- console.log(`\n📊 ${filesToReview.length} file(s) staged for commit\n`);
2722
+ console.log(`\n📊 ${filesToReview.length} file(s) staged for commit:`);
2723
+ for (const file of filesToReview) console.log(` ${file}`);
2724
+ console.log();
2721
2725
  diff = await git.getStagedDiff({
2722
2726
  includeFiles: filteredFiles.length > 0 ? filteredFiles : void 0,
2723
2727
  silent: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-cmds",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "dist"