@h-ai/cli 0.1.0-alpha.63 → 0.1.0-alpha.64

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 CHANGED
@@ -121,7 +121,7 @@ Handlebars2.registerHelper("yaml", (key, value) => stringify({ [key]: value }).t
121
121
  Handlebars2.registerHelper("jsString", (value) => `'${JSON.stringify(value).slice(1, -1).replace(/\\"/g, '"').replace(/'/g, "\\'")}'`);
122
122
  Handlebars2.registerHelper("moduleConfig", function(moduleKey, enabled) {
123
123
  const content = generateConfigFile(moduleKey, this.moduleConfigs).trimEnd();
124
- const configured = this.appType === "fullstack" && moduleKey === "iam" ? content.replace("seedDefaultData: true", "seedDefaultData: false") : content;
124
+ const configured = this.appType === "fullstack" && moduleKey === "iam" ? content.replace("seedDefaultData: true", "seedDefaultData: false").replace("variant: card", "variant: split") : content;
125
125
  return enabled ? configured : `# # \u672A\u542F\u7528\uFF1A\u5B89\u88C5\u5BF9\u5E94\u6A21\u5757\u5E76\u5728\u670D\u52A1\u7AEF runtime \u4E2D\u521D\u59CB\u5316\uFF0C\u518D\u53D6\u6D88\u6240\u9700\u914D\u7F6E\u7684\u6CE8\u91CA\u3002
126
126
  ${configured.split("\n").map((line) => line ? `# ${line}` : "").join("\n")}`;
127
127
  });