cherrypick-interactive 1.13.1 → 1.13.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.
Files changed (3) hide show
  1. package/cli.js +0 -19
  2. package/package.json +1 -1
  3. package/src/tui/App.js +1 -1
package/cli.js CHANGED
@@ -1502,25 +1502,6 @@ async function main() {
1502
1502
  }
1503
1503
 
1504
1504
  // Confirmation (skip in CI)
1505
- if (!argv.ci && !argv['all-yes']) {
1506
- // Flush stdin buffer to prevent TUI's Enter keypress from leaking into this prompt
1507
- await new Promise((r) => setTimeout(r, 100));
1508
- if (process.stdin.readable) process.stdin.read();
1509
-
1510
- const { proceed } = await prompt([
1511
- {
1512
- type: 'confirm',
1513
- name: 'proceed',
1514
- message: 'Proceed with cherry-pick?',
1515
- default: true,
1516
- },
1517
- ]);
1518
- if (!proceed) {
1519
- log(chalk.yellow('Aborted by user.'));
1520
- return;
1521
- }
1522
- }
1523
-
1524
1505
  if (argv.ci) {
1525
1506
  err(chalk.gray('[CI] Changelog preview logged. Proceeding automatically.'));
1526
1507
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cherrypick-interactive",
3
- "version": "1.13.1",
3
+ "version": "1.13.3",
4
4
  "description": "Interactively cherry-pick commits that are in dev but not in main, using subject-based comparison.",
5
5
  "main": "cli.js",
6
6
  "bin": "cli.js",
package/src/tui/App.js CHANGED
@@ -14,7 +14,7 @@ export function App({ commits, gitRawFn, devBranch, mainBranch, since, onDone })
14
14
  const [filterText, setFilterText] = useState('');
15
15
  const [isSearching, setIsSearching] = useState(false);
16
16
  const [searchInput, setSearchInput] = useState('');
17
- const [showPreview, setShowPreview] = useState(true);
17
+ const [showPreview, setShowPreview] = useState(false);
18
18
  const [showDiff, setShowDiff] = useState(false);
19
19
  const [diffText, setDiffText] = useState('');
20
20
  const [confirmQuit, setConfirmQuit] = useState(false);