@mushi-mushi/cli 0.5.1 → 0.5.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.
@@ -40,7 +40,7 @@ Examples of unacceptable behavior:
40
40
  ## Enforcement
41
41
 
42
42
  Instances of abusive, harassing, or otherwise unacceptable behavior may be
43
- reported to the project team at **security@mushimushi.dev**.
43
+ reported to the project team at **kensaurus@gmail.com**.
44
44
 
45
45
  All complaints will be reviewed and investigated promptly and fairly.
46
46
 
package/SECURITY.md CHANGED
@@ -19,7 +19,7 @@ If you discover a security vulnerability, please report it responsibly.
19
19
 
20
20
  **Do NOT open a public GitHub issue.**
21
21
 
22
- Instead, email: **security@mushimushi.dev**
22
+ Instead, email: **kensaurus@gmail.com**
23
23
 
24
24
  Include:
25
25
  - Description of the vulnerability
@@ -0,0 +1,6 @@
1
+ // src/version.ts
2
+ var MUSHI_CLI_VERSION = true ? "0.5.3" : "0.0.0-dev";
3
+
4
+ export {
5
+ MUSHI_CLI_VERSION
6
+ };
package/dist/index.js CHANGED
@@ -448,7 +448,7 @@ function getFrameworkFromPkg(pkg) {
448
448
  }
449
449
 
450
450
  // src/version.ts
451
- var MUSHI_CLI_VERSION = true ? "0.5.1" : "0.0.0-dev";
451
+ var MUSHI_CLI_VERSION = true ? "0.5.3" : "0.0.0-dev";
452
452
 
453
453
  // src/init.ts
454
454
  var ENV_FILES = [".env.local", ".env"];
@@ -565,8 +565,11 @@ async function promptText(opts) {
565
565
  const value = await p.text({
566
566
  message: opts.message,
567
567
  placeholder: opts.placeholder,
568
+ // @clack/prompts v1 widened the validate input to `string | undefined`
569
+ // (the previous v0.x API guaranteed a string). Guard the empty case
570
+ // explicitly so the rest of the pipeline keeps its `string` invariant.
568
571
  validate: (v) => {
569
- const clean = sanitizeSecret(v);
572
+ const clean = sanitizeSecret(v ?? "");
570
573
  if (clean.length === 0) return "Required";
571
574
  return opts.validate ? opts.validate(clean) : void 0;
572
575
  }
package/dist/init.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-ZZNVMBMG.js";
9
9
  import {
10
10
  MUSHI_CLI_VERSION
11
- } from "./chunk-HLROA5KU.js";
11
+ } from "./chunk-LHDGWISV.js";
12
12
 
13
13
  // src/init.ts
14
14
  import * as p from "@clack/prompts";
@@ -325,8 +325,11 @@ async function promptText(opts) {
325
325
  const value = await p.text({
326
326
  message: opts.message,
327
327
  placeholder: opts.placeholder,
328
+ // @clack/prompts v1 widened the validate input to `string | undefined`
329
+ // (the previous v0.x API guaranteed a string). Guard the empty case
330
+ // explicitly so the rest of the pipeline keeps its `string` invariant.
328
331
  validate: (v) => {
329
- const clean = sanitizeSecret(v);
332
+ const clean = sanitizeSecret(v ?? "");
330
333
  if (clean.length === 0) return "Required";
331
334
  return opts.validate ? opts.validate(clean) : void 0;
332
335
  }
package/dist/version.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MUSHI_CLI_VERSION
3
- } from "./chunk-HLROA5KU.js";
3
+ } from "./chunk-LHDGWISV.js";
4
4
  export {
5
5
  MUSHI_CLI_VERSION
6
6
  };
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@mushi-mushi/cli",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "license": "MIT",
5
5
  "description": "CLI for Mushi Mushi — `mushi init` wizard installs the right SDK for your framework, plus report triage and pipeline health commands",
6
6
  "bin": {
7
7
  "mushi": "./dist/index.js"
8
8
  },
9
9
  "dependencies": {
10
- "@clack/prompts": "^0.11.0",
10
+ "@clack/prompts": "^1.2.0",
11
11
  "commander": "^14.0.3"
12
12
  },
13
13
  "devDependencies": {
@@ -49,6 +49,8 @@
49
49
  "mushi-mushi",
50
50
  "bug-reporting",
51
51
  "user-feedback",
52
+ "user-report",
53
+ "feedback-widget",
52
54
  "session-replay",
53
55
  "screenshot",
54
56
  "shake-to-report",
@@ -69,7 +71,11 @@
69
71
  "expo",
70
72
  "capacitor",
71
73
  "sentry-companion",
72
- "error-tracking"
74
+ "sentry-alternative",
75
+ "error-tracking",
76
+ "ai-triage",
77
+ "auto-fix",
78
+ "llm-ops"
73
79
  ],
74
80
  "exports": {
75
81
  ".": {
@@ -95,6 +101,9 @@
95
101
  }
96
102
  },
97
103
  "type": "module",
104
+ "engines": {
105
+ "node": ">=20"
106
+ },
98
107
  "scripts": {
99
108
  "build": "tsup",
100
109
  "lint": "eslint src/",
@@ -1,6 +0,0 @@
1
- // src/version.ts
2
- var MUSHI_CLI_VERSION = true ? "0.5.1" : "0.0.0-dev";
3
-
4
- export {
5
- MUSHI_CLI_VERSION
6
- };