@jvittechs/j 1.0.22 → 1.0.23

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/cli.js CHANGED
@@ -169,7 +169,7 @@ import { basename as basename4 } from "path";
169
169
  // package.json
170
170
  var package_default = {
171
171
  name: "@jvittechs/j",
172
- version: "1.0.22",
172
+ version: "1.0.23",
173
173
  description: "A unified CLI tool for JV-IT TECHS developers to manage Jai1 Framework. Supports both `j` and `jai1` commands. Please contact TeamAI for usage instructions.",
174
174
  type: "module",
175
175
  bin: {
@@ -4257,7 +4257,11 @@ async function runDoctor(options) {
4257
4257
  }
4258
4258
  }
4259
4259
  if (!result.passed && result.suggestion) {
4260
- console.log(chalk9.yellow(` \u{1F4A1} ${result.suggestion}`));
4260
+ const lines = result.suggestion.split("\n");
4261
+ console.log(chalk9.yellow(` \u{1F4A1} ${lines[0]}`));
4262
+ for (const line of lines.slice(1)) {
4263
+ console.log(chalk9.yellow(` ${line}`));
4264
+ }
4261
4265
  }
4262
4266
  console.log();
4263
4267
  }
@@ -4412,7 +4416,12 @@ async function checkIde(cliName) {
4412
4416
  message: passed ? `${fullyConfigured.length} IDE \u0111\u1EA7y \u0111\u1EE7 rules & workflows: ${fullyConfigured.join(", ")}` : "Ch\u01B0a c\xF3 IDE n\xE0o \u0111\u1EA7y \u0111\u1EE7 c\u1EA3 rules v\xE0 workflows",
4413
4417
  details,
4414
4418
  ...!passed && {
4415
- suggestion: `Ch\u1EA1y "${cliName} rules apply" v\xE0 "${cliName} ide sync" \u0111\u1EC3 b\u1ED5 sung.`
4419
+ suggestion: [
4420
+ `C\xF3 nhi\u1EC1u c\xE1ch \u0111\u1EC3 t\u1EA1o rules cho project:`,
4421
+ ` - T\u1EF1 t\xECm tr\xEAn internet ph\xF9 h\u1EE3p v\u1EDBi techstack c\u1EE7a project v\xE0 s\u1EEDa l\u1EA1i.`,
4422
+ ` - T\xECm xem c\xF3 s\u1EB5n rule-preset n\xE0o tr\xEAn jai1 store kh\xF4ng b\u1EB1ng l\u1EC7nh: "${cliName} rules apply".`,
4423
+ ` - Ch\u1EA1y workflow c\u1EE7a jai1 "/generate-rules-preset" \u0111\u1EC3 t\u1EA1o rule-preset cho project, sau \u0111\xF3 \u0111\u1ED3ng b\u1ED9 cho c\xE1c IDE d\xF9ng l\u1EC7nh "${cliName} ide sync".`
4424
+ ].join("\n")
4416
4425
  }
4417
4426
  };
4418
4427
  return [ideCheck, rulesWorkflowsCheck];