numux 2.0.3 → 2.0.4
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 +2 -0
- package/dist/numux.js +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -135,6 +135,8 @@ numux 'dev:*' # all scripts matching dev:*
|
|
|
135
135
|
numux 'npm:*:dev' # explicit npm: prefix (same behavior)
|
|
136
136
|
```
|
|
137
137
|
|
|
138
|
+
`*` does not match across `:` separators (like `/` in file paths), so `format:*` matches `format:store` but not `format:check:store`. Use `format:*:*` to match two levels deep.
|
|
139
|
+
|
|
138
140
|
Extra arguments after the pattern are forwarded to each matched command:
|
|
139
141
|
|
|
140
142
|
```sh
|
package/dist/numux.js
CHANGED
|
@@ -36,7 +36,7 @@ var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports,
|
|
|
36
36
|
var require_package = __commonJS((exports, module) => {
|
|
37
37
|
module.exports = {
|
|
38
38
|
name: "numux",
|
|
39
|
-
version: "2.0.
|
|
39
|
+
version: "2.0.4",
|
|
40
40
|
description: "Terminal multiplexer with dependency orchestration",
|
|
41
41
|
type: "module",
|
|
42
42
|
license: "MIT",
|
|
@@ -720,7 +720,8 @@ function expandScriptPatterns(config, cwd) {
|
|
|
720
720
|
throw new Error(`"${name}": wildcard processes cannot have a "command" field (commands come from package.json scripts)`);
|
|
721
721
|
}
|
|
722
722
|
const glob = new Bun.Glob(globPattern);
|
|
723
|
-
const
|
|
723
|
+
const colonDepth = (globPattern.match(/:/g) || []).length;
|
|
724
|
+
const matches = scriptNames.filter((s) => glob.match(s) && (s.match(/:/g) || []).length === colonDepth);
|
|
724
725
|
if (matches.length === 0) {
|
|
725
726
|
throw new Error(`"${name}": no scripts matched pattern "${globPattern}". Available scripts: ${scriptNames.join(", ")}`);
|
|
726
727
|
}
|