ripencli 0.1.8 → 0.1.9

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 +7 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1904,8 +1904,13 @@ function App({ project, global, version, installManager }) {
1904
1904
  "--global",
1905
1905
  `ripencli@${latestVersion}`
1906
1906
  ]);
1907
- setSelfUpdating(false);
1908
- setScreen("loading");
1907
+ const { execPath, argv } = process;
1908
+ execa(execPath, argv.slice(1), {
1909
+ stdio: "inherit",
1910
+ detached: true
1911
+ }).unref();
1912
+ exit();
1913
+ process.exit(0);
1909
1914
  } catch (err) {
1910
1915
  setSelfUpdateError(err.message ?? "Unknown error");
1911
1916
  setSelfUpdating(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ripencli",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Interactive dependency updater for npm, pnpm, and yarn",
5
5
  "license": "MIT",
6
6
  "author": {