@jtl-software/create-cloud-app 0.5.5 → 0.5.7

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1768,8 +1768,10 @@ function applyManifestAuthentication(appJsonPath, opts) {
1768
1768
  };
1769
1769
  }
1770
1770
  manifest.authentication = authentication;
1771
+ if (!frontend || !backend) {
1772
+ manifest.lifecycle = {};
1773
+ }
1771
1774
  if (!frontend) {
1772
- delete manifest.lifecycle;
1773
1775
  if (manifest.capabilities) {
1774
1776
  delete manifest.capabilities.hub;
1775
1777
  if (manifest.capabilities.erp) {
@@ -1909,7 +1911,7 @@ import os2 from "os";
1909
1911
  import path6 from "path";
1910
1912
  import { PostHog } from "posthog-node";
1911
1913
  var TOKEN = "phc_SkFAxTIa4RUQxotci1Ftdw7xefZK2Ax0LEIGcl8zuD2";
1912
- var CLI_VERSION = "0.5.5";
1914
+ var CLI_VERSION = "0.5.7";
1913
1915
  var client = TOKEN ? new PostHog(TOKEN, { host: "https://e.jtl-cloud.com" }) : null;
1914
1916
  function telemetryDisabledByEnv() {
1915
1917
  const dnt = process.env.DO_NOT_TRACK;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jtl-software/create-cloud-app",
3
- "version": "0.5.5",
3
+ "version": "0.5.7",
4
4
  "type": "module",
5
5
  "description": "CLI tool for scaffolding JTL Platform cloud apps",
6
6
  "bin": {
@@ -21,7 +21,7 @@
21
21
  "@jtl-software/cloud-app-template-backend-dotnet": "0.0.13",
22
22
  "@jtl-software/cloud-app-template-backend-node": "0.0.16",
23
23
  "@jtl-software/cloud-app-template-backend-php": "0.1.3",
24
- "@jtl-software/cloud-app-template-frontend-react": "0.1.4",
24
+ "@jtl-software/cloud-app-template-frontend-react": "0.1.5",
25
25
  "@jtl-software/cloud-app-template-shared": "0.1.2",
26
26
  "picocolors": "^1.1.1",
27
27
  "posthog-node": "^5.49.1"