@stacksjs/cli 0.70.136 → 0.70.138

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -494,7 +494,7 @@ var quotes = collect([
494
494
  "Security is mostly a superstition. Life is either a daring adventure or nothing."
495
495
  ]);
496
496
  // package.json
497
- var version = "0.70.136";
497
+ var version = "0.70.138";
498
498
  // src/helpers.ts
499
499
  async function intro(command, options) {
500
500
  return new Promise((resolve) => {
@@ -653,7 +653,7 @@ function buddyOptions(options) {
653
653
  return options.join(" ");
654
654
  }
655
655
  if (typeof options === "object" && options !== null) {
656
- return Object.entries(options).filter(([, value]) => value !== false && value !== undefined && value !== null).map(([key, value]) => {
656
+ return Object.entries(options).filter(([key, value]) => key !== "--" && key !== "_" && value !== false && value !== undefined && value !== null).map(([key, value]) => {
657
657
  if (value === true)
658
658
  return `--${key}`;
659
659
  return `--${key} ${value}`;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/cli",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.70.136",
5
+ "version": "0.70.138",
6
6
  "description": "TypeScript framework for CLI artisans. Build beautiful console apps with ease.",
7
7
  "author": "Chris Breuer",
8
8
  "contributors": [
@@ -66,14 +66,14 @@
66
66
  "@stacksjs/clapp": "^0.2.10"
67
67
  },
68
68
  "devDependencies": {
69
- "@stacksjs/collections": "0.70.136",
70
- "@stacksjs/config": "0.70.136",
69
+ "@stacksjs/collections": "0.70.138",
70
+ "@stacksjs/config": "0.70.138",
71
71
  "better-dx": "^0.2.17",
72
- "@stacksjs/error-handling": "0.70.136",
73
- "@stacksjs/logging": "0.70.136",
74
- "@stacksjs/path": "0.70.136",
75
- "@stacksjs/types": "0.70.136",
76
- "@stacksjs/utils": "0.70.136",
77
- "@stacksjs/validation": "0.70.136"
72
+ "@stacksjs/error-handling": "0.70.138",
73
+ "@stacksjs/logging": "0.70.138",
74
+ "@stacksjs/path": "0.70.138",
75
+ "@stacksjs/types": "0.70.138",
76
+ "@stacksjs/utils": "0.70.138",
77
+ "@stacksjs/validation": "0.70.138"
78
78
  }
79
79
  }