@nice-code/commander 0.95.0 → 0.97.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 +13 -9
- package/build/cli.cjs +900 -398
- package/build/cli.cjs.map +1 -1
- package/build/cli.mjs +894 -399
- package/build/cli.mjs.map +1 -1
- package/build/client/assets/index-BEawHnvQ.css +1 -0
- package/build/client/assets/index-eogxmN5c.js +23 -0
- package/build/client/assets/index-eogxmN5c.js.map +1 -0
- package/build/client/index.html +2 -2
- package/build/config.cjs.map +1 -1
- package/build/config.d.cts +30 -12
- package/build/config.d.mts +30 -12
- package/build/config.mjs.map +1 -1
- package/build/{main-BlAdEbVt.mjs → main-BBH2T2OI.mjs} +219 -10
- package/build/main-BBH2T2OI.mjs.map +1 -0
- package/build/{main-B7EwREFQ.cjs → main-Xo-6rWk6.cjs} +218 -9
- package/build/main-Xo-6rWk6.cjs.map +1 -0
- package/build/types-B3WIUo4S.mjs.map +1 -1
- package/build/types-CIdWQGjF.cjs.map +1 -1
- package/package.json +6 -6
- package/build/client/assets/index-0MrLSa7o.css +0 -1
- package/build/client/assets/index-DvDRKmj5.js +0 -23
- package/build/client/assets/index-DvDRKmj5.js.map +0 -1
- package/build/main-B7EwREFQ.cjs.map +0 -1
- package/build/main-BlAdEbVt.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -27,16 +27,15 @@ export default defineCommanderConfig({
|
|
|
27
27
|
{ id: "web", run: ["bun", "run", "dev"], cwd: "./apps/web", dependsOn: ["api"] },
|
|
28
28
|
{ id: "types", kind: "task", run: ["bunx", "tsc", "--noEmit"], timeoutMs: 120_000 },
|
|
29
29
|
],
|
|
30
|
-
|
|
31
|
-
defaultSelection: ["dev"],
|
|
30
|
+
defaultSelection: "web",
|
|
32
31
|
});
|
|
33
32
|
```
|
|
34
33
|
|
|
35
34
|
```bash
|
|
36
|
-
bunx nice-commander up # `
|
|
35
|
+
bunx nice-commander up # `web` → starts api first, waits for it to be READY, then web
|
|
37
36
|
bunx nice-commander status # live table
|
|
38
37
|
bunx nice-commander ui # the browser view
|
|
39
|
-
bunx nice-commander down
|
|
38
|
+
bunx nice-commander down web
|
|
40
39
|
```
|
|
41
40
|
|
|
42
41
|
> ⚠ The binary is **`nice-commander`** — always the full name. `bunx commander` fetches a
|
|
@@ -44,11 +43,16 @@ bunx nice-commander down dev
|
|
|
44
43
|
> it will just quietly not be this tool. If you want something shorter in a script, alias
|
|
45
44
|
> `nice-commander`, never `commander`.
|
|
46
45
|
|
|
47
|
-
Every acting command takes the same selector — ids,
|
|
48
|
-
terms). `up --dry-run` and `explain` show exactly what would be
|
|
46
|
+
Every acting command takes the same selector — ids, suite names, `@pin` names, or `tag=value` terms
|
|
47
|
+
(AND across terms; `--any` ORs them). `up --dry-run` and `explain` show exactly what would be
|
|
48
|
+
touched, without touching it.
|
|
49
|
+
|
|
50
|
+
Tags organise processes; a **suite** is a declared run-unit (`suites: { verify: { where, include,
|
|
51
|
+
parallel, failFast } }`) for the things you mean to run as one. Mark a process `optIn: true` and no
|
|
52
|
+
tag selection, suite query or `--all` will ever start it.
|
|
49
53
|
|
|
50
54
|
The GUI’s **shutdown daemon** button stops every task and service managed by that daemon,
|
|
51
|
-
including processes hidden by filters or
|
|
55
|
+
including processes hidden by filters or suites, then exits the daemon. Confirm the dialog to
|
|
52
56
|
proceed. Run `nice-commander ui` to start it again.
|
|
53
57
|
|
|
54
58
|
## What it does that a script does not
|
|
@@ -78,7 +82,7 @@ are needed.
|
|
|
78
82
|
|
|
79
83
|
## Reading process status
|
|
80
84
|
|
|
81
|
-
The UI uses the same indicators in process rows and
|
|
85
|
+
The UI uses the same indicators in process rows, dependency dots, tag groups and suite cards:
|
|
82
86
|
|
|
83
87
|
- A gently pulsing solid green dot means running or ready.
|
|
84
88
|
- A green circle with a check means the run completed successfully.
|
|
@@ -87,7 +91,7 @@ The UI uses the same indicators in process rows and dependency/group views:
|
|
|
87
91
|
- A blue dashed ring means starting or stopping; a muted ring means idle or deliberately stopped.
|
|
88
92
|
|
|
89
93
|
Task results remain visible after cleanup, and a new run takes precedence over its previous
|
|
90
|
-
result.
|
|
94
|
+
result. Tag group and suite summaries distinguish pending, blocked and stopped tasks from running ones.
|
|
91
95
|
The process overview follows the current filters. Reduced-motion preferences disable animation.
|
|
92
96
|
|
|
93
97
|
## Finding and stopping port owners
|