@24i/smartapps-bigscreen-rnv-build-engine 0.17.6-alpha.3 → 0.17.6-alpha.4

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.
@@ -26,6 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
26
26
  const child_process_1 = require("child_process");
27
27
  const fs = __importStar(require("fs"));
28
28
  const path = __importStar(require("path"));
29
+ const fse = __importStar(require("fs-extra"));
29
30
  const forEachSupportedPlatformFlavour_1 = require("../utils/forEachSupportedPlatformFlavour");
30
31
  const resolvers_1 = require("../resolvers");
31
32
  const getZippedDirPath = (c) => {
@@ -41,7 +42,7 @@ const buildTask = (options, c) => {
41
42
  const buildDirPath = path.join(platformBuildsDir, buildDirName);
42
43
  const buildOutputDirPath = path.join(buildDirPath, 'output');
43
44
  const zippedDir = path.join(getZippedDirPath(c), platform);
44
- fs.cpSync(buildOutputDirPath, zippedDir, { recursive: true, force: true });
45
+ fse.copySync(buildOutputDirPath, zippedDir);
45
46
  fs.rmSync(buildDirPath, { recursive: true, force: true });
46
47
  };
47
48
  const buildProductionAll = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@24i/smartapps-bigscreen-rnv-build-engine",
3
- "version": "0.17.6-alpha.3",
3
+ "version": "0.17.6-alpha.4",
4
4
  "description": "Package with build engine for SmartApps BIGscreen projects...",
5
5
  "main": "dist/src/index.js",
6
6
  "scripts": {
@@ -35,9 +35,11 @@
35
35
  }
36
36
  ],
37
37
  "dependencies": {
38
+ "fs-extra": "11.1.1",
38
39
  "xml2js": "^0.4.23"
39
40
  },
40
41
  "devDependencies": {
42
+ "@types/fs-extra": "11.0.1",
41
43
  "@types/inquirer": "8.2.1",
42
44
  "@types/ip": "1.1.0",
43
45
  "@types/mini-css-extract-plugin": "1.4.3",