ripencli 0.2.6 → 0.2.8
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 +14 -0
- package/dist/cli.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
- **Global packages** — check and update global installs across all* package managers
|
|
15
15
|
- **Self-update** — notifies you when a new version of ripen is available
|
|
16
16
|
- **Major bump warnings** — highlights potentially breaking updates
|
|
17
|
+
- **Scope grouping** — optionally group scoped packages (e.g. `@heroui/*`) together
|
|
18
|
+
- **Frequency sorting** — packages you update often can be surfaced to the top
|
|
17
19
|
|
|
18
20
|
## Install
|
|
19
21
|
|
|
@@ -49,6 +51,7 @@ ripen --help
|
|
|
49
51
|
| `v` | Pick specific version |
|
|
50
52
|
| `c` | View changelog / release notes |
|
|
51
53
|
| `enter` | Update selected packages |
|
|
54
|
+
| `s` | Open settings |
|
|
52
55
|
| `esc` | Cancel / go back |
|
|
53
56
|
|
|
54
57
|
## How it works
|
|
@@ -60,6 +63,17 @@ ripen --help
|
|
|
60
63
|
5. Press `c` to see GitHub release notes between your current and target version
|
|
61
64
|
6. Select the ones you want and press enter — ripen runs the update commands for you
|
|
62
65
|
|
|
66
|
+
## Settings
|
|
67
|
+
|
|
68
|
+
Press `s` to open the settings screen. Settings are persisted at `~/.config/ripen/config.json`.
|
|
69
|
+
|
|
70
|
+
| Setting | Default | Description |
|
|
71
|
+
| ---------------------------- | ------- | ------------------------------------------------------------ |
|
|
72
|
+
| Sort by update frequency | Off | Packages you update often appear at the top |
|
|
73
|
+
| Enable scope grouping | Off | Group scoped packages under their scope prefix |
|
|
74
|
+
| Show grouped scopes on top | Off | Grouped scopes appear before ungrouped packages |
|
|
75
|
+
| Grouped scopes | — | List of scopes to group (e.g. `@heroui`, `@radix-ui`) |
|
|
76
|
+
|
|
63
77
|
When using `ripen -g`, all available package managers (npm, pnpm, yarn) are checked in parallel so you see every global package in one place. Bun is not included in global checking because it doesn't provide a JSON output for its outdated command.
|
|
64
78
|
|
|
65
79
|
## License
|
package/dist/cli.js
CHANGED
|
@@ -1770,7 +1770,7 @@ function Settings({ config, onConfigChange, onClose }) {
|
|
|
1770
1770
|
setInputMode(true);
|
|
1771
1771
|
setInputValue("");
|
|
1772
1772
|
}
|
|
1773
|
-
if ((key.backspace || key.delete) && currentRow?.type === "list-item" && currentRow.listItemIndex !== void 0) {
|
|
1773
|
+
if ((key.backspace || key.delete || input === "d" && !key.ctrl) && currentRow?.type === "list-item" && currentRow.listItemIndex !== void 0) {
|
|
1774
1774
|
const scope = scopes[currentRow.listItemIndex];
|
|
1775
1775
|
removeScope(scope);
|
|
1776
1776
|
if (flatCursor >= rows.length - 1) setFlatCursor(Math.max(0, flatCursor - 1));
|
|
@@ -1947,7 +1947,7 @@ function Settings({ config, onConfigChange, onClose }) {
|
|
|
1947
1947
|
itemFocused && /* @__PURE__ */ jsxs(Text, {
|
|
1948
1948
|
dimColor: !config.groupByScope,
|
|
1949
1949
|
color: "gray",
|
|
1950
|
-
children: [" ", "
|
|
1950
|
+
children: [" ", "d to remove"]
|
|
1951
1951
|
})
|
|
1952
1952
|
]
|
|
1953
1953
|
}, scope);
|
|
@@ -1999,7 +1999,7 @@ function Settings({ config, onConfigChange, onClose }) {
|
|
|
1999
1999
|
" ",
|
|
2000
2000
|
/* @__PURE__ */ jsx(Text, {
|
|
2001
2001
|
color: "white",
|
|
2002
|
-
children: "
|
|
2002
|
+
children: "d"
|
|
2003
2003
|
}),
|
|
2004
2004
|
" remove",
|
|
2005
2005
|
" ",
|