@24i/smartapps-bigscreen-rnv-build-engine 0.17.6-alpha.2 → 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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveZippedPlatformBuildsRelativeFilePath = exports.resolvePackageVersions = exports.resolveBuildFileExtension = exports.resolveUsedFlavours = exports.resolveSupportedPlatforms = exports.getBaseConfig = exports.resolveBuildFileName = exports.resolveBuildFileBaseName = exports.resolveHbbtvDeployConfig = exports.resolveHbbtvDeployUrl = exports.resolveHbbtvRemoteBuildDirRelativePath = exports.resolveDeployLocations = exports.resolveBuildVersionOffset = exports.resolveBuildVersion = exports.resolveBuildEnvName = exports.resolveBaseUrl = void 0;
3
+ exports.getProductionZipFilePath = exports.resolveZippedPlatformBuildsRelativeFilePath = exports.resolvePackageVersions = exports.resolveBuildFileExtension = exports.resolveUsedFlavours = exports.resolveSupportedPlatforms = exports.getBaseConfig = exports.resolveBuildFileName = exports.resolveBuildFileBaseName = exports.resolveHbbtvDeployConfig = exports.resolveHbbtvDeployUrl = exports.resolveHbbtvRemoteBuildDirRelativePath = exports.resolveDeployLocations = exports.resolveBuildVersionOffset = exports.resolveBuildVersion = exports.resolveBuildEnvName = exports.resolveBaseUrl = void 0;
4
4
  var resolveBaseUrl_1 = require("./resolveBaseUrl");
5
5
  Object.defineProperty(exports, "resolveBaseUrl", { enumerable: true, get: function () { return resolveBaseUrl_1.resolveBaseUrl; } });
6
6
  var resolveBuildEnvName_1 = require("./resolveBuildEnvName");
@@ -33,3 +33,5 @@ var resolvePackageVersions_1 = require("./resolvePackageVersions");
33
33
  Object.defineProperty(exports, "resolvePackageVersions", { enumerable: true, get: function () { return resolvePackageVersions_1.resolvePackageVersions; } });
34
34
  var resolveZippedPlatformBuildsRelativeFilePath_1 = require("./resolveZippedPlatformBuildsRelativeFilePath");
35
35
  Object.defineProperty(exports, "resolveZippedPlatformBuildsRelativeFilePath", { enumerable: true, get: function () { return resolveZippedPlatformBuildsRelativeFilePath_1.resolveZippedPlatformBuildsRelativeFilePath; } });
36
+ var resolveProductionZipFilePath_1 = require("./resolveProductionZipFilePath");
37
+ Object.defineProperty(exports, "getProductionZipFilePath", { enumerable: true, get: function () { return resolveProductionZipFilePath_1.getProductionZipFilePath; } });
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.getProductionZipFilePath = void 0;
27
+ const path = __importStar(require("path"));
28
+ const getProductionZipFilePath = (c) => {
29
+ const { appNameInFileName } = c.buildConfig.common;
30
+ const buildVersion = c.buildConfig.common.packageVersion;
31
+ const { platformBuildsDir } = c.buildConfig.paths;
32
+ const platformBuildsDirPath = path.join(platformBuildsDir);
33
+ const zipFileName = `${appNameInFileName}.production_packages_v${buildVersion}.zip`;
34
+ return path.join(platformBuildsDirPath, zipFileName);
35
+ };
36
+ exports.getProductionZipFilePath = getProductionZipFilePath;
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ const child_process_1 = require("child_process");
27
+ const fs = __importStar(require("fs"));
28
+ const path = __importStar(require("path"));
29
+ const fse = __importStar(require("fs-extra"));
30
+ const forEachSupportedPlatformFlavour_1 = require("../utils/forEachSupportedPlatformFlavour");
31
+ const resolvers_1 = require("../resolvers");
32
+ const getZippedDirPath = (c) => {
33
+ const { platformBuildsDir } = c.buildConfig.paths;
34
+ return path.join(platformBuildsDir, 'zipped_production_packages');
35
+ };
36
+ const buildTask = (options, c) => {
37
+ const { scheme, platform, flavour } = options;
38
+ const cmd = `npx rnv build -s ${scheme} -p ${platform} -c ${flavour} --ci`;
39
+ (0, child_process_1.execSync)(cmd, { stdio: 'inherit' });
40
+ const { platformBuildsDir } = c.buildConfig.paths;
41
+ const buildDirName = `${flavour}_${platform}`;
42
+ const buildDirPath = path.join(platformBuildsDir, buildDirName);
43
+ const buildOutputDirPath = path.join(buildDirPath, 'output');
44
+ const zippedDir = path.join(getZippedDirPath(c), platform);
45
+ fse.copySync(buildOutputDirPath, zippedDir);
46
+ fs.rmSync(buildDirPath, { recursive: true, force: true });
47
+ };
48
+ const buildProductionAll = () => {
49
+ const schemes = process.argv.slice(2);
50
+ const c = (0, resolvers_1.getBaseConfig)();
51
+ schemes.forEach((scheme, schemeIndex, schemes) => {
52
+ c.runtime.scheme = scheme;
53
+ (0, forEachSupportedPlatformFlavour_1.forEachSupportedPlatformFlavour)(c, (options) => buildTask(options, c), { schemes, schemeIndex });
54
+ });
55
+ const zippedDirPath = getZippedDirPath(c);
56
+ const zipFilePath = (0, resolvers_1.getProductionZipFilePath)(c);
57
+ (0, child_process_1.execSync)(`zip -r ${zipFilePath} *`, { cwd: `${zippedDirPath}` });
58
+ fs.rmSync(zippedDirPath, { recursive: true, force: true });
59
+ return true;
60
+ };
61
+ const startTimestamp = Date.now();
62
+ buildProductionAll();
63
+ const msPerSecond = 1000;
64
+ const scriptTotalTimeInSeconds = Math.ceil((Date.now() - startTimestamp) / msPerSecond);
65
+ console.log(`buildProductionAll: done in ${scriptTotalTimeInSeconds} second(s)!`);
@@ -14,10 +14,10 @@ const deployLiveAll = () => {
14
14
  c.runtime.scheme = buildSchemes_1.BuildSchemes.RELEASE_PROD_DIST;
15
15
  (0, forEachSupportedPlatformFlavour_1.forEachSupportedPlatformFlavour)(c, (o) => {
16
16
  (0, distToLiveS3_1.checkDistVersionAvailability)(o, version);
17
- }, delopyLivePlatforms_1.UNSUPPORTED_PLATFORMS);
17
+ }, { ignoredPlatforms: delopyLivePlatforms_1.UNSUPPORTED_PLATFORMS });
18
18
  (0, forEachSupportedPlatformFlavour_1.forEachSupportedPlatformFlavour)(c, (o) => {
19
19
  (0, distToLiveS3_1.distToLiveS3)(o, version, delopyLivePlatforms_1.NO_CONTENT_FOLDER_PLATFORMS.includes(o.platform));
20
- }, delopyLivePlatforms_1.UNSUPPORTED_PLATFORMS);
20
+ }, { ignoredPlatforms: delopyLivePlatforms_1.UNSUPPORTED_PLATFORMS });
21
21
  return true;
22
22
  };
23
23
  const startTimestamp = Date.now();
@@ -23,12 +23,16 @@ const deployLivePlatform = () => {
23
23
  const { scheme } = c.runtime;
24
24
  const { supportedFlavours = [] } = c.buildConfig.platforms[platform]?.deploy || {};
25
25
  const o = { scheme, platform };
26
- supportedFlavours.forEach((flavour, i) => {
27
- console.log((0, forEachSupportedPlatformFlavour_1.getProgressMessage)([platform], 0, supportedFlavours, i));
26
+ supportedFlavours.forEach((flavour, flavourIndex) => {
27
+ console.log((0, forEachSupportedPlatformFlavour_1.getProgressMessage)({
28
+ platforms: [platform], platformIndex: 0, flavours: supportedFlavours, flavourIndex,
29
+ }));
28
30
  (0, distToLiveS3_1.checkDistVersionAvailability)({ ...o, flavour }, version);
29
31
  });
30
- supportedFlavours.forEach((flavour, i) => {
31
- console.log((0, forEachSupportedPlatformFlavour_1.getProgressMessage)([platform], 0, supportedFlavours, i));
32
+ supportedFlavours.forEach((flavour, flavourIndex) => {
33
+ console.log((0, forEachSupportedPlatformFlavour_1.getProgressMessage)({
34
+ platforms: [platform], platformIndex: 0, flavours: supportedFlavours, flavourIndex,
35
+ }));
32
36
  (0, distToLiveS3_1.distToLiveS3)({ ...o, flavour }, version, delopyLivePlatforms_1.NO_CONTENT_FOLDER_PLATFORMS.includes(o.platform));
33
37
  });
34
38
  return true;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.appCenterRelease = void 0;
4
+ const child_process_1 = require("child_process");
5
+ const appCenterRelease = (params) => {
6
+ const { filePath, releaseNotesPath, buildVersion, token, projectName } = params;
7
+ const app = `24i-Media/${projectName}`;
8
+ (0, child_process_1.execSync)('appcenter distribute release '
9
+ + `--file "${filePath}" `
10
+ + `--release-notes-file "${releaseNotesPath}" `
11
+ + `--build-version "${buildVersion}" `
12
+ + `--app "${app}" `
13
+ + `--token "${token}" `
14
+ + '--group "Collaborators" '
15
+ + '--disable-telemetry', { stdio: 'inherit' });
16
+ };
17
+ exports.appCenterRelease = appCenterRelease;
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.deployProductionToAppCenter = void 0;
27
+ const child_process_1 = require("child_process");
28
+ const fs = __importStar(require("fs"));
29
+ const path = __importStar(require("path"));
30
+ const index_1 = require("../../../resolvers/index");
31
+ const appCenter_1 = require("./appCenter");
32
+ const newLine = '\r\n';
33
+ const getAppCenterConfig = (c) => {
34
+ try {
35
+ return c.buildConfig.common.deploy?.productionPackages?.appCenter || null;
36
+ }
37
+ catch (error) {
38
+ return null;
39
+ }
40
+ };
41
+ const getPlatformPackagesListFromZip = (zipFilePath) => {
42
+ const zipFileParsedPath = path.parse(zipFilePath);
43
+ const tmpOutputDir = path.join(zipFileParsedPath.dir, zipFileParsedPath.name);
44
+ fs.rmSync(tmpOutputDir, { force: true, recursive: true });
45
+ (0, child_process_1.execSync)(`unzip ${zipFilePath} -d ${tmpOutputDir}`);
46
+ const packagesList = [];
47
+ fs.readdirSync(tmpOutputDir).forEach((platformDirName) => {
48
+ const platform = {
49
+ platformName: platformDirName,
50
+ packageNames: fs.readdirSync(path.join(tmpOutputDir, platformDirName)),
51
+ };
52
+ packagesList.push(platform);
53
+ });
54
+ fs.rmSync(tmpOutputDir, { force: true, recursive: true });
55
+ return packagesList;
56
+ };
57
+ const getAppCenterToken = () => {
58
+ return process.env['APPCENTER_TOKEN_PRODUCTION_PACKAGES'] || '';
59
+ };
60
+ const deployProductionToAppCenter = (c) => {
61
+ const appCenterConfig = getAppCenterConfig(c);
62
+ if (!appCenterConfig)
63
+ return;
64
+ const { appName: centerAppName } = appCenterConfig;
65
+ const token = getAppCenterToken();
66
+ const zipPath = (0, index_1.getProductionZipFilePath)(c);
67
+ const { appName, packageVersion } = c.buildConfig.common;
68
+ if (!centerAppName || !token || !zipPath || !packageVersion)
69
+ return;
70
+ const tempReleaseNotesPath = `RELEASE_NOTES_APPCENTER_PRODUCTION_PACKAGES.md`;
71
+ if (fs.existsSync(tempReleaseNotesPath)) {
72
+ fs.unlinkSync(tempReleaseNotesPath);
73
+ }
74
+ const packagesList = getPlatformPackagesListFromZip(zipPath);
75
+ const notes = [
76
+ `# ${appName} Production Packages`,
77
+ '',
78
+ '## List of Production Packages',
79
+ ...packagesList.reduce((acc, { platformName, packageNames }) => ([
80
+ ...acc,
81
+ `- ${platformName}`,
82
+ ...packageNames.map((packageName) => ` - ${packageName}`),
83
+ ]), []),
84
+ '',
85
+ 'URL: <hosted_URL>'
86
+ ];
87
+ const packagesMarkdown = notes.join(newLine);
88
+ (0, child_process_1.execSync)(`echo "${packagesMarkdown}" >> ${tempReleaseNotesPath}`);
89
+ console.log(`Deploying Production packages to AppCenter.ms...`);
90
+ (0, appCenter_1.appCenterRelease)({
91
+ projectName: centerAppName,
92
+ buildVersion: packageVersion,
93
+ filePath: zipPath,
94
+ releaseNotesPath: tempReleaseNotesPath,
95
+ token,
96
+ });
97
+ };
98
+ exports.deployProductionToAppCenter = deployProductionToAppCenter;
@@ -27,20 +27,9 @@ exports.deployToAppCenter = void 0;
27
27
  const child_process_1 = require("child_process");
28
28
  const fs = __importStar(require("fs"));
29
29
  const rnv_1 = require("rnv");
30
- const resolvers_1 = require("../../resolvers");
31
- const urlsMarkdown_1 = require("./urlsMarkdown");
32
- const appCenterRelease = (params) => {
33
- const { filePath, releaseNotesPath, buildVersion, token, projectName } = params;
34
- const app = `24i-Media/${projectName}`;
35
- (0, child_process_1.execSync)('appcenter distribute release '
36
- + `--file "${filePath}" `
37
- + `--release-notes-file "${releaseNotesPath}" `
38
- + `--build-version "${buildVersion}" `
39
- + `--app "${app}" `
40
- + `--token "${token}" `
41
- + '--group "Collaborators" '
42
- + '--disable-telemetry', { stdio: 'inherit' });
43
- };
30
+ const index_1 = require("../../../resolvers/index");
31
+ const urlsMarkdown_1 = require("../urlsMarkdown");
32
+ const appCenter_1 = require("./appCenter");
44
33
  const getAppCenterConfigByPlatformName = (c, platformName) => {
45
34
  try {
46
35
  return c.buildConfig.platforms[platformName]?.deploy?.appCenter || null;
@@ -49,7 +38,7 @@ const getAppCenterConfigByPlatformName = (c, platformName) => {
49
38
  return null;
50
39
  }
51
40
  };
52
- const getTokenByPlatform = (platformName = '') => {
41
+ const getAppCenterTokenByPlatform = (platformName = '') => {
53
42
  const envVariableName = `APPCENTER_TOKEN_${platformName.toUpperCase()}`;
54
43
  return process.env[envVariableName] || '';
55
44
  };
@@ -59,8 +48,8 @@ const processPlatform = (c, platformName) => {
59
48
  if (!appCenterConfig)
60
49
  return;
61
50
  const { appName } = appCenterConfig;
62
- const token = getTokenByPlatform(platformName);
63
- const zipPath = (0, resolvers_1.resolveZippedPlatformBuildsRelativeFilePath)(c, platformName);
51
+ const token = getAppCenterTokenByPlatform(platformName);
52
+ const zipPath = (0, index_1.resolveZippedPlatformBuildsRelativeFilePath)(c, platformName);
64
53
  const buildVersion = getConfigProp(c, platformName, 'packageVersion', '');
65
54
  const releaseNotesPath = getConfigProp(c, platformName, 'releaseNotes', {}).relativePath || '';
66
55
  if (!appName || !token || !releaseNotesPath || !zipPath || !buildVersion)
@@ -73,7 +62,7 @@ const processPlatform = (c, platformName) => {
73
62
  const urlsMarkdown = (0, urlsMarkdown_1.getUrlsMarkdown)(c, [platformName]);
74
63
  (0, child_process_1.execSync)(`echo "${urlsMarkdown}" >> ${tempReleaseNotesPath}`);
75
64
  console.log(`Deploying ${platformName} platform to AppCenter.ms...`);
76
- appCenterRelease({
65
+ (0, appCenter_1.appCenterRelease)({
77
66
  projectName: appName,
78
67
  buildVersion,
79
68
  filePath: zipPath,
@@ -82,6 +71,6 @@ const processPlatform = (c, platformName) => {
82
71
  });
83
72
  };
84
73
  const deployToAppCenter = (c) => {
85
- (0, resolvers_1.resolveSupportedPlatforms)(c).forEach((platformName) => processPlatform(c, platformName));
74
+ (0, index_1.resolveSupportedPlatforms)(c).forEach((platformName) => processPlatform(c, platformName));
86
75
  };
87
76
  exports.deployToAppCenter = deployToAppCenter;
@@ -5,7 +5,7 @@ const forEachSupportedPlatformFlavour_1 = require("../utils/forEachSupportedPlat
5
5
  const resolvers_1 = require("../resolvers");
6
6
  const zipBuildsByPlatforms_1 = require("../utils/zipBuildsByPlatforms");
7
7
  const deleteSourceMaps_1 = require("./release/deleteSourceMaps");
8
- const deployToAppCenter_1 = require("./release/deployToAppCenter");
8
+ const deployToAppCenter_1 = require("./release/appCenter/deployToAppCenter");
9
9
  const githubRelease_1 = require("./release/githubRelease");
10
10
  const notifySlack_1 = require("./release/notifySlack/notifySlack");
11
11
  const sentryRelease_1 = require("./release/sentryRelease");
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const resolvers_1 = require("../resolvers");
4
+ const deployProductionToAppCenter_1 = require("./release/appCenter/deployProductionToAppCenter");
5
+ const releaseProductionAll = () => {
6
+ const c = (0, resolvers_1.getBaseConfig)();
7
+ (0, deployProductionToAppCenter_1.deployProductionToAppCenter)(c);
8
+ };
9
+ const startTimestamp = Date.now();
10
+ releaseProductionAll();
11
+ const msPerSecond = 1000;
12
+ const scriptTotalTimeInSeconds = Math.ceil((Date.now() - startTimestamp) / msPerSecond);
13
+ console.log(`releaseProductionAll: done in ${scriptTotalTimeInSeconds} second(s)!`);
@@ -2,22 +2,31 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.forEachSupportedPlatformFlavour = exports.getProgressMessage = void 0;
4
4
  const resolvers_1 = require("../resolvers");
5
- const getProgressMessage = (platforms, platformIndex, flavours, flavourIndex) => {
6
- let string = `\nProcessing "${platforms[platformIndex]}" platform`;
5
+ const getProgressMessage = ({ schemes, schemeIndex, platforms, platformIndex, flavours, flavourIndex, }) => {
6
+ const printScheme = schemes && schemes.length && schemeIndex !== undefined;
7
+ let string = `\nProcessing`;
8
+ if (printScheme) {
9
+ string += ` "${schemes[schemeIndex]}" scheme"`;
10
+ string += ` (${schemeIndex + 1}/${schemes.length}),`;
11
+ }
12
+ string += ` "${platforms[platformIndex]}" platform`;
7
13
  string += ` (${platformIndex + 1}/${platforms.length})`;
8
14
  string += ` and its "${flavours[flavourIndex]}" flavour`;
9
15
  string += ` (${flavourIndex + 1}/${flavours.length})...`;
10
16
  return string;
11
17
  };
12
18
  exports.getProgressMessage = getProgressMessage;
13
- const forEachSupportedPlatformFlavour = (c, cb, ignoredPlatforms = []) => {
19
+ const forEachSupportedPlatformFlavour = (c, cb, options = {}) => {
20
+ const { ignoredPlatforms = [], schemes = [], schemeIndex = 0, disableProgressMessage = false, } = options;
14
21
  const processPlatformFlavours = (platform, platformIndex, platforms) => {
15
22
  if (ignoredPlatforms.includes(platform)) {
16
23
  console.log(`\nSkipping "${platforms[platformIndex]}" platform (${platformIndex + 1}/${platforms.length}).`);
17
24
  return;
18
25
  }
19
26
  const processFlavour = (flavour, flavourIndex, flavours) => {
20
- console.log(getProgressMessage(platforms, platformIndex, flavours, flavourIndex));
27
+ console.log(getProgressMessage({
28
+ schemes, schemeIndex, platforms, platformIndex, flavours, flavourIndex,
29
+ }));
21
30
  const { scheme } = c.runtime;
22
31
  return cb({ platform, flavour, scheme });
23
32
  };
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.2",
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",