@24i/smartapps-bigscreen-rnv-build-engine 0.12.1-alpha.1713 → 0.12.1-alpha.1715

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.
@@ -57,7 +57,9 @@ const zipOutput = async (c) => {
57
57
  (0, child_process_1.execSync)(`zip -r ${outputDirectory}/${fileName} *`, { cwd: `${tmpOutputDirectory}` });
58
58
  await fs.rm(tmpOutputDirectory, { recursive: true, force: true });
59
59
  }
60
- catch { }
60
+ catch {
61
+ throw new Error('Unable to zip the output folder');
62
+ }
61
63
  };
62
64
  const createVSSolution = async (c, outputPath, manifest) => {
63
65
  logTask('createVSSolution');
@@ -66,7 +68,9 @@ const createVSSolution = async (c, outputPath, manifest) => {
66
68
  const platform = new manifoldjs_windows10_1.Platform('package', ['windows10']);
67
69
  await platform.create(manifest, outputPath, ['windows10'], '');
68
70
  }
69
- catch { }
71
+ catch {
72
+ throw new Error('Failed to create VSSolution');
73
+ }
70
74
  };
71
75
  const createHostedApplication = async (c) => {
72
76
  logTask('createHostedApplication');
@@ -111,8 +115,7 @@ const replacePublisherId = async (c, basePath) => {
111
115
  await fs.writeFile(output, appxmanifest ?? '');
112
116
  }
113
117
  catch {
114
- const errorMessage = 'Failed to modify the xbox appxmanifest.xml';
115
- console.log(errorMessage);
118
+ throw new Error('Failed to modify the xbox appxmanifest.xml');
116
119
  }
117
120
  };
118
121
  const replaceImages = async (c) => {
@@ -132,7 +135,7 @@ const replaceImages = async (c) => {
132
135
  await fs.rm(appIconsDirectory, { recursive: true, force: true });
133
136
  }
134
137
  catch {
135
- console.log('Failed to replace the xbox icons');
138
+ throw new Error('Failed to replace the xbox icons');
136
139
  }
137
140
  };
138
141
  const buildXboxProject = async (c) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@24i/smartapps-bigscreen-rnv-build-engine",
3
- "version": "0.12.1-alpha.1713+09370279",
3
+ "version": "0.12.1-alpha.1715+d8563182",
4
4
  "description": "Package with build engine for SmartApps BIGscreen projects...",
5
5
  "main": "dist/src/index.js",
6
6
  "scripts": {
@@ -27,6 +27,10 @@
27
27
  {
28
28
  "path": "./node_modules/fstream/node_modules/graceful-fs/",
29
29
  "version": "^4.2.8"
30
+ },
31
+ {
32
+ "path": "../../fstream/node_modules/graceful-fs/",
33
+ "version": "^4.2.8"
30
34
  }
31
35
  ],
32
36
  "devDependencies": {
@@ -74,5 +78,5 @@
74
78
  "keywords": [],
75
79
  "author": "24i",
76
80
  "license": "ISC",
77
- "gitHead": "09370279a549bf398ab973ec5005460c552b04a7"
81
+ "gitHead": "d8563182f72d8182a1d1dd1d8bdb8ab605b39418"
78
82
  }