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

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.js CHANGED
@@ -545,9 +545,11 @@ const BUILD_SCRIPTS = [
545
545
  "build/docker-build.sh"
546
546
  ];
547
547
  function generatePolyglotWorkspace(codegenFs, templateDir, options) {
548
+ const hasUi = (options.type ?? "polyglot") !== "java";
548
549
  const normalized = normalizeAllValues({ name: options.name });
549
550
  const vars = {
550
551
  ...normalized,
552
+ hasUi,
551
553
  keyset: options.keyset || "prod.kos",
552
554
  appUiName: `${normalized.nameDashCase}-ui`,
553
555
  nodeVersion: options.nodeVersion || process.version.replace(/^v/, ""),