justmux 0.1.1 → 0.2.0
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 +1 -1
- package/lib/update.cjs +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ justmux
|
|
|
14
14
|
Run the same npm install command to update to the latest release.
|
|
15
15
|
|
|
16
16
|
Global installations also check npm at most once a day when launched
|
|
17
|
-
interactively without a command, including `--fullscreen`. A newer version opens
|
|
17
|
+
interactively without a command, including `--fullscreen` and `--inline`. A newer version opens
|
|
18
18
|
a compact TUI picker with `Update`, `Skip`, and `Skip this version`, in that
|
|
19
19
|
order. Use Up/Down and Enter, or press 1, 2, or 3. `Update` is initially selected
|
|
20
20
|
and installs that exact version, then exits; run `jm` again afterward. `Skip`
|
package/lib/update.cjs
CHANGED
|
@@ -134,7 +134,7 @@ const quote = (value) => `'${value.replaceAll("'", "'\\''")}'`;
|
|
|
134
134
|
async function maybeUpdate(args, options = {}) {
|
|
135
135
|
const runtime = options.runtime ?? process;
|
|
136
136
|
const env = runtime.env ?? {};
|
|
137
|
-
if (!Array.isArray(args) || !(args.length === 0 || (args.length === 1 && args[0] === '--fullscreen'))
|
|
137
|
+
if (!Array.isArray(args) || !(args.length === 0 || (args.length === 1 && (args[0] === '--fullscreen' || args[0] === '--inline')))
|
|
138
138
|
|| !runtime.stdin?.isTTY || !runtime.stdout?.isTTY || env.CI
|
|
139
139
|
|| env.JUSTMUX_NO_UPDATE_CHECK === '1' || env.NO_UPDATE_CHECK === '1'
|
|
140
140
|
|| !((runtime.platform === 'darwin' && runtime.arch === 'arm64') || (runtime.platform === 'linux' && runtime.arch === 'x64'))) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "justmux",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "A modern slash-command interface for tmux. Just tmux. Just simpler.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"LICENSE"
|
|
32
32
|
],
|
|
33
33
|
"optionalDependencies": {
|
|
34
|
-
"justmux-darwin-arm64": "0.
|
|
35
|
-
"justmux-linux-x64": "0.
|
|
34
|
+
"justmux-darwin-arm64": "0.2.0",
|
|
35
|
+
"justmux-linux-x64": "0.2.0"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public",
|