@kosdev-code/kos-codegen-core 0.1.0-next.796 → 0.1.0-next.798

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/index.mjs CHANGED
@@ -523,9 +523,11 @@ const BUILD_SCRIPTS = [
523
523
  "build/docker-build.sh"
524
524
  ];
525
525
  function generatePolyglotWorkspace(codegenFs, templateDir, options) {
526
+ const hasUi = (options.type ?? "polyglot") !== "java";
526
527
  const normalized = normalizeAllValues({ name: options.name });
527
528
  const vars = {
528
529
  ...normalized,
530
+ hasUi,
529
531
  keyset: options.keyset || "prod.kos",
530
532
  appUiName: `${normalized.nameDashCase}-ui`,
531
533
  nodeVersion: options.nodeVersion || process.version.replace(/^v/, ""),