ripencli 0.2.3 → 0.2.4

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 (2) hide show
  1. package/dist/cli.js +9 -1
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -1831,7 +1831,15 @@ function App({ project, global, version, installManager }) {
1831
1831
  const timer = setTimeout(() => {
1832
1832
  exit();
1833
1833
  process.exit(0);
1834
- }, 1500);
1834
+ }, 300);
1835
+ return () => clearTimeout(timer);
1836
+ }, [screen]);
1837
+ useEffect(() => {
1838
+ if (screen !== "empty") return;
1839
+ const timer = setTimeout(() => {
1840
+ exit();
1841
+ process.exit(0);
1842
+ }, 300);
1835
1843
  return () => clearTimeout(timer);
1836
1844
  }, [screen]);
1837
1845
  const [fetchStarted, setFetchStarted] = useState(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ripencli",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Interactive dependency updater for npm, pnpm, and yarn",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -63,6 +63,6 @@
63
63
  "@types/react": "^19.2.14",
64
64
  "prettier": "^3.8.1",
65
65
  "tsdown": "^0.21.4",
66
- "typescript": "^5.5.0"
66
+ "typescript": "^5.9.3"
67
67
  }
68
68
  }