uc-dev 1.0.0-beta.5 → 1.0.0-beta.6

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/out/cli.js +3 -3
  2. package/package.json +1 -1
package/out/cli.js CHANGED
@@ -1444,9 +1444,9 @@ var cliDependancyChecker = class {
1444
1444
  return _deps;
1445
1445
  }
1446
1446
  detectPackageManager() {
1447
- if (existsSync4("pnpm-lock.yaml")) return "pnpm add -D";
1448
- if (existsSync4("yarn.lock")) return "yarn add -D";
1449
- return "npm install -D";
1447
+ if (existsSync4("pnpm-lock.yaml")) return "pnpm add ";
1448
+ if (existsSync4("yarn.lock")) return "yarn add ";
1449
+ return "npm install ";
1450
1450
  }
1451
1451
  installPackages(pkgs) {
1452
1452
  const [pm, ...baseArgs] = this.detectPackageManager().split(" ");
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "designer-build",
14
14
  "electron-tools"
15
15
  ],
16
- "version": "1.0.0-beta.5",
16
+ "version": "1.0.0-beta.6",
17
17
  "description": "Electron CLI project builder for uc-runtime apps",
18
18
  "license": "ISC",
19
19
  "author": "AP",