abmux 0.0.1 → 0.0.2
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/dist/cli/index.js +6 -11
- package/package.json +13 -14
package/dist/cli/index.js
CHANGED
|
@@ -391,7 +391,9 @@ var findProjects = async (dir, depth) => {
|
|
|
391
391
|
if (depth > MAX_DEPTH) return [];
|
|
392
392
|
try {
|
|
393
393
|
const entries = await readdir(dir, { withFileTypes: true });
|
|
394
|
-
const dirs = entries.filter(
|
|
394
|
+
const dirs = entries.filter(
|
|
395
|
+
(e) => e.isDirectory() && !e.name.startsWith(".") && !SKIP_DIRS.has(e.name)
|
|
396
|
+
);
|
|
395
397
|
const results = [];
|
|
396
398
|
const childScans = [];
|
|
397
399
|
for (const entry of dirs) {
|
|
@@ -503,7 +505,7 @@ var createUsecases = (context) => ({
|
|
|
503
505
|
// package.json
|
|
504
506
|
var package_default = {
|
|
505
507
|
name: "abmux",
|
|
506
|
-
version: "0.0.
|
|
508
|
+
version: "0.0.2",
|
|
507
509
|
repository: {
|
|
508
510
|
type: "git",
|
|
509
511
|
url: "https://github.com/cut0/abmux.git"
|
|
@@ -969,12 +971,7 @@ var ConfirmView = ({ selectedDir, prompt, onConfirm, onCancel }) => {
|
|
|
969
971
|
// src/components/DeleteSessionView.tsx
|
|
970
972
|
import { Box as Box8, Text as Text8, useInput as useInput4 } from "ink";
|
|
971
973
|
import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
972
|
-
var DeleteSessionView = ({
|
|
973
|
-
sessionName,
|
|
974
|
-
paneCount,
|
|
975
|
-
onConfirm,
|
|
976
|
-
onCancel
|
|
977
|
-
}) => {
|
|
974
|
+
var DeleteSessionView = ({ sessionName, paneCount, onConfirm, onCancel }) => {
|
|
978
975
|
const { rows } = useTerminalSize();
|
|
979
976
|
useInput4((_input, key) => {
|
|
980
977
|
if (key.return) {
|
|
@@ -1368,9 +1365,7 @@ var createTuiCommand = ({ usecases, services, infra }) => async () => {
|
|
|
1368
1365
|
group.tabs.map(async (tab) => ({
|
|
1369
1366
|
windowIndex: tab.windowIndex,
|
|
1370
1367
|
windowName: tab.windowName,
|
|
1371
|
-
panes: await Promise.all(
|
|
1372
|
-
tab.panes.map((up) => usecases.manager.enrichStatus(up))
|
|
1373
|
-
)
|
|
1368
|
+
panes: await Promise.all(tab.panes.map((up) => usecases.manager.enrichStatus(up)))
|
|
1374
1369
|
}))
|
|
1375
1370
|
)
|
|
1376
1371
|
}))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "abmux",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/cut0/abmux.git"
|
|
@@ -15,17 +15,6 @@
|
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
|
-
"scripts": {
|
|
19
|
-
"start": "tsx src/cli/index.ts",
|
|
20
|
-
"test": "vitest run",
|
|
21
|
-
"typecheck": "tsc --noEmit",
|
|
22
|
-
"lint:check": "oxlint src/",
|
|
23
|
-
"lint:fix": "oxlint --fix src/",
|
|
24
|
-
"format:check": "oxfmt --check .",
|
|
25
|
-
"format:fix": "oxfmt .",
|
|
26
|
-
"build": "tsx build.ts",
|
|
27
|
-
"release": "pnpm build && changeset publish"
|
|
28
|
-
},
|
|
29
18
|
"dependencies": {
|
|
30
19
|
"@inkjs/ui": "2.0.0",
|
|
31
20
|
"ink": "6.8.0",
|
|
@@ -43,5 +32,15 @@
|
|
|
43
32
|
"typescript": "6.0.2",
|
|
44
33
|
"vitest": "4.1.2"
|
|
45
34
|
},
|
|
46
|
-
"
|
|
47
|
-
|
|
35
|
+
"scripts": {
|
|
36
|
+
"start": "tsx src/cli/index.ts",
|
|
37
|
+
"test": "vitest run",
|
|
38
|
+
"typecheck": "tsc --noEmit",
|
|
39
|
+
"lint:check": "oxlint src/",
|
|
40
|
+
"lint:fix": "oxlint --fix src/",
|
|
41
|
+
"format:check": "oxfmt --check .",
|
|
42
|
+
"format:fix": "oxfmt .",
|
|
43
|
+
"build": "tsx build.ts",
|
|
44
|
+
"release": "pnpm build && changeset publish"
|
|
45
|
+
}
|
|
46
|
+
}
|