@24i/smartapps-bigscreen-rnv-build-engine 0.17.11-alpha.2 → 0.17.11
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.
package/README.md
CHANGED
|
@@ -162,7 +162,7 @@ which simplify the future dependencies update and reduce the amount of time spen
|
|
|
162
162
|
#### ReNative npm dependencies
|
|
163
163
|
Firstly, the package contains main ReNative npm packages, namely:
|
|
164
164
|
|
|
165
|
-
-
|
|
165
|
+
- `renative-template-blank`
|
|
166
166
|
- `rnv`
|
|
167
167
|
|
|
168
168
|
#### npm dependencies related to custom ReNative build engine
|
|
@@ -110,17 +110,30 @@ const handleLinuxKeyring = () => {
|
|
|
110
110
|
const setTizenCertificate = (c) => {
|
|
111
111
|
const { TIZEN_SECURITY_PROFILE_NAME = '24i-SmartApps-BigScreen', TIZEN_AUTHOR_CERTIFICATE_RELATIVE_PATH = 'certificates/24i_smartapps_bigscreen_author.p12', TIZEN_AUTHOR_CERTIFICATE_PASSWORD, } = process.env;
|
|
112
112
|
const tizenCliPath = c.cli.tizen;
|
|
113
|
+
const isDebug = c.runtime.scheme === constants_1.BuildSchemes.DEBUG;
|
|
113
114
|
if (!fs.existsSync(TIZEN_AUTHOR_CERTIFICATE_RELATIVE_PATH)) {
|
|
114
|
-
|
|
115
|
-
|
|
115
|
+
const err = `'process.env.TIZEN_AUTHOR_CERTIFICATE_RELATIVE_PATH' points to not existing location: ${TIZEN_AUTHOR_CERTIFICATE_RELATIVE_PATH}`;
|
|
116
|
+
if (isDebug) {
|
|
117
|
+
rnv_1.Logger.logWarning(err);
|
|
118
|
+
return false;
|
|
119
|
+
}
|
|
120
|
+
throw new Error(err);
|
|
116
121
|
}
|
|
117
122
|
if (!TIZEN_AUTHOR_CERTIFICATE_PASSWORD) {
|
|
118
|
-
|
|
119
|
-
|
|
123
|
+
const err = `'process.env.TIZEN_AUTHOR_CERTIFICATE_PASSWORD' password is not set`;
|
|
124
|
+
if (isDebug) {
|
|
125
|
+
rnv_1.Logger.logWarning(err);
|
|
126
|
+
return false;
|
|
127
|
+
}
|
|
128
|
+
throw new Error(err);
|
|
120
129
|
}
|
|
121
130
|
if (!tizenCliPath) {
|
|
122
|
-
|
|
123
|
-
|
|
131
|
+
const err = `'c.cli.tizen\' is not set`;
|
|
132
|
+
if (isDebug) {
|
|
133
|
+
rnv_1.Logger.logWarning(err);
|
|
134
|
+
return false;
|
|
135
|
+
}
|
|
136
|
+
throw new Error(err);
|
|
124
137
|
}
|
|
125
138
|
const spawnSyncReturn = (0, child_process_1.spawnSync)(tizenCliPath, [
|
|
126
139
|
'security-profiles', 'add',
|
|
@@ -63,6 +63,9 @@ const buildCoreWebpackProject = async (c) => {
|
|
|
63
63
|
].filter(Boolean).join(' ');
|
|
64
64
|
const wpConfigPath = `./platformBuilds/${appId}_${platform}/webpack.config.${configName}.js`;
|
|
65
65
|
const wpCmd = `node ${wp} build --mode production --config ${wpConfigPath}`;
|
|
66
|
+
if (c.program.mono) {
|
|
67
|
+
rnv_1.Logger.logRaw(`Executing: npx cross-env ${envVars} ${wpCmd}`);
|
|
68
|
+
}
|
|
66
69
|
await rnv_1.Exec.executeAsync(c, `npx cross-env ${envVars} ${wpCmd}`);
|
|
67
70
|
const coloredBuildDir = rnv_1.Logger.chalk().cyan(rnv_1.Common.getPlatformProjectDir(c));
|
|
68
71
|
rnv_1.Logger.logSuccess(`Your build is located in ${coloredBuildDir}.`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@24i/smartapps-bigscreen-rnv-build-engine",
|
|
3
|
-
"version": "0.17.11
|
|
3
|
+
"version": "0.17.11",
|
|
4
4
|
"description": "Package with build engine for SmartApps BIGscreen projects...",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -54,8 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"@24i/smartapps-bigscreen-device": "*",
|
|
57
|
-
"@rnv/sdk-webpack": "0.
|
|
58
|
-
"@rnv/template-blank": "0.36.0",
|
|
57
|
+
"@rnv/sdk-webpack": "0.35.3",
|
|
59
58
|
"assign-deep": "1.0.1",
|
|
60
59
|
"core-js": "3.22.4",
|
|
61
60
|
"coveralls": "3.1.1",
|
|
@@ -73,7 +72,8 @@
|
|
|
73
72
|
"ora": "5.4.1",
|
|
74
73
|
"raf": "3.4.1",
|
|
75
74
|
"regenerator-runtime": "0.13.9",
|
|
76
|
-
"
|
|
75
|
+
"renative-template-blank": "0.35.3",
|
|
76
|
+
"rnv": "0.35.3",
|
|
77
77
|
"sass": "1.51.0",
|
|
78
78
|
"sass-loader": "12.6.0",
|
|
79
79
|
"source-map-loader": "3.0.1",
|