zudojs-cli 1.2.0 → 1.2.1
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.
|
@@ -65,7 +65,10 @@ export class CLIParser {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
const parsedArguments = this.parseArguments(positional, argumentsDefinitions);
|
|
68
|
-
|
|
68
|
+
// `stopAtFirstArgument` is checked here too: without it the fallback undid
|
|
69
|
+
// the flag, putting the first positional in both `commands` and `args`.
|
|
70
|
+
if (!this.stopAtFirstArgument &&
|
|
71
|
+
!this.allowUnknownCommands &&
|
|
69
72
|
!command &&
|
|
70
73
|
commands.length === 0 &&
|
|
71
74
|
tokens.length > 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zudojs-cli",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Command-line interface for scaffolding, generating, and managing Zudojs framework projects.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@clack/prompts": "^1.7.0",
|
|
31
|
-
"@zudojs/config": "1.
|
|
32
|
-
"@zudojs/core": "1.2.
|
|
33
|
-
"@zudojs/errors": "1.
|
|
34
|
-
"@zudojs/logger": "1.
|
|
31
|
+
"@zudojs/config": "1.2.0",
|
|
32
|
+
"@zudojs/core": "1.2.1",
|
|
33
|
+
"@zudojs/errors": "1.2.0",
|
|
34
|
+
"@zudojs/logger": "1.3.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/node": "^26.4.1",
|
|
38
|
-
"@zudojs/constants": "1.1.
|
|
38
|
+
"@zudojs/constants": "1.1.1",
|
|
39
39
|
"tsx": "^4.23.12",
|
|
40
40
|
"typescript": "7.0.2",
|
|
41
41
|
"vitest": "^4.1.11"
|