@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.js +2 -0
- package/index.js.map +1 -1
- package/index.mjs +2 -0
- package/index.mjs.map +1 -1
- package/lib/generators/generate-polyglot-workspace.d.ts +9 -0
- package/lib/generators/generate-polyglot-workspace.d.ts.map +1 -1
- package/package.json +2 -2
- package/templates/polyglot-workspace/build/build-ui.sh.template +7 -0
- package/templates/polyglot-workspace/build/docker-build.sh.template +8 -2
- package/templates/polyglot-workspace/build/release_version_prebuild.sh.template +9 -6
- package/templates/polyglot-workspace/github/build-release.json.template +2 -2
- package/templates/polyglot-workspace/github/build-ui.json.template +2 -2
- package/templates/polyglot-workspace/root/README.md.template +14 -12
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/, ""),
|