@akylas/nativescript-cli 8.8.3 → 8.8.5
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,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PlistParser = void 0;
|
|
4
|
-
const
|
|
4
|
+
const SimplePlist = require("simple-plist");
|
|
5
5
|
const yok_1 = require("./yok");
|
|
6
6
|
class PlistParser {
|
|
7
7
|
parseFile(plistFilePath) {
|
|
8
8
|
return new Promise((resolve, reject) => {
|
|
9
|
-
|
|
9
|
+
SimplePlist.readFile(plistFilePath, (err, obj) => {
|
|
10
10
|
if (err) {
|
|
11
11
|
reject(err);
|
|
12
12
|
}
|
|
@@ -17,7 +17,7 @@ class PlistParser {
|
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
19
|
parseFileSync(plistFilePath) {
|
|
20
|
-
return
|
|
20
|
+
return SimplePlist.readFileSync(plistFilePath);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
exports.PlistParser = PlistParser;
|
|
@@ -200,9 +200,9 @@ class WebpackCompilerService extends events_1.EventEmitter {
|
|
|
200
200
|
cwd: projectData.projectDir,
|
|
201
201
|
stdio,
|
|
202
202
|
};
|
|
203
|
-
options.env = {
|
|
203
|
+
options.env = Object.assign(process.env, {
|
|
204
204
|
NATIVESCRIPT_WEBPACK_ENV: JSON.stringify(envData)
|
|
205
|
-
};
|
|
205
|
+
});
|
|
206
206
|
if (this.$options.hostProjectPath) {
|
|
207
207
|
Object.assign(options.env, {
|
|
208
208
|
USER_PROJECT_PLATFORMS_ANDROID: this.$options.hostProjectPath,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akylas/nativescript-cli",
|
|
3
3
|
"main": "./lib/nativescript-cli-lib.js",
|
|
4
|
-
"version": "8.8.
|
|
4
|
+
"version": "8.8.5",
|
|
5
5
|
"author": "NativeScript <support@nativescript.org>",
|
|
6
6
|
"description": "Command-line interface for building NativeScript projects",
|
|
7
7
|
"bin": {
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"semver": "7.6.3",
|
|
104
104
|
"shelljs": "0.8.5",
|
|
105
105
|
"simple-git": "3.27.0",
|
|
106
|
-
"simple-plist": "1.
|
|
106
|
+
"simple-plist": "1.4.0",
|
|
107
107
|
"source-map": "0.8.0-beta.0",
|
|
108
108
|
"stringify-package": "1.0.1",
|
|
109
109
|
"tar": "7.4.3",
|
|
@@ -1047,6 +1047,7 @@ tasks.configureEach { DefaultTask currentTask ->
|
|
|
1047
1047
|
}
|
|
1048
1048
|
if (
|
|
1049
1049
|
currentTask =~ /generate.*UnitTestLintModel/ ||
|
|
1050
|
+
currentTask =~ /sentryCollectSourcesRelease/ ||
|
|
1050
1051
|
currentTask =~ /compile.*ArtProfile/
|
|
1051
1052
|
) {
|
|
1052
1053
|
currentTask.mustRunAfter(buildMetadata)
|