@couch-kit/cli 0.2.1 → 0.2.3
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/index.js +1 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2226,9 +2226,7 @@ function reconstructArgs(options) {
|
|
|
2226
2226
|
const args = [];
|
|
2227
2227
|
for (const [key, value] of Object.entries(options)) {
|
|
2228
2228
|
if (typeof value === "boolean") {
|
|
2229
|
-
if (value)
|
|
2230
|
-
args.push(`--${key}`);
|
|
2231
|
-
else
|
|
2229
|
+
if (!value)
|
|
2232
2230
|
args.push(`--no-${key}`);
|
|
2233
2231
|
} else if (value !== undefined) {
|
|
2234
2232
|
args.push(`--${key}`, String(value));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@couch-kit/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "CLI tools for Couch Kit party games — bundle web controllers, simulate clients, and scaffold projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"clean": "rm -rf dist"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@couch-kit/core": "0.
|
|
34
|
+
"@couch-kit/core": "0.5.0",
|
|
35
35
|
"commander": "^12.0.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|