@positron-js/cli 1.0.16 → 1.0.17
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.
|
@@ -32,7 +32,9 @@ for(const config of configs) {
|
|
|
32
32
|
then={(x) => (applicationDisplayVersion = `${x.major}.${x.minor}`, applicationVersion = x.build)}
|
|
33
33
|
/>
|
|
34
34
|
|
|
35
|
-
<Common.PreBuild
|
|
35
|
+
<Common.PreBuild
|
|
36
|
+
passphrase={config.passphrase}
|
|
37
|
+
/>
|
|
36
38
|
|
|
37
39
|
<FileSystem.MergeJson
|
|
38
40
|
json={({
|
package/content/build-ios.jsx
CHANGED
package/content/common.jsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Batch, Run } from "@neurospeech/jex/index.js";
|
|
1
|
+
import { Batch, Encryption, Run } from "@neurospeech/jex/index.js";
|
|
2
2
|
import { FileSystem } from "@neurospeech/jex/dist/utils/FileSystem.js";
|
|
3
3
|
import { fileURLToPath } from "url";
|
|
4
4
|
import { readFile, writeFile } from "fs/promises";
|
|
@@ -16,7 +16,9 @@ const ReplaceText = async ({ filePath, replace }) => {
|
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
export const Common = {
|
|
19
|
-
PreBuild({
|
|
19
|
+
PreBuild({
|
|
20
|
+
passphrase,
|
|
21
|
+
env: {
|
|
20
22
|
MAUI_ICON_IOS_COLOR = "#FFFFFF",
|
|
21
23
|
MAUI_ICON_DROID_COLOR = "#FFFFFF",
|
|
22
24
|
MAUI_SPLASH_SCREEN_COLOR = "#FFFFFF",
|
|
@@ -56,6 +58,13 @@ export const Common = {
|
|
|
56
58
|
overwrite={true}
|
|
57
59
|
/>
|
|
58
60
|
|
|
61
|
+
<Encryption.Aes256Cbc.Decrypt
|
|
62
|
+
input="./config/google-services.json.enc"
|
|
63
|
+
passphrase={passphrase}
|
|
64
|
+
output="./maui/PositronApp/config/google-services.json"
|
|
65
|
+
/>
|
|
66
|
+
|
|
67
|
+
|
|
59
68
|
<FileSystem.CopyFile
|
|
60
69
|
src="./res/splash.svg"
|
|
61
70
|
dest="./maui/PositronApp/Resources/Splash/Splash.svg"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@positron-js/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.17",
|
|
4
4
|
"description": "Generate Code to create MAUI based Web View App",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"url": "https://github.com/Positron-JS/cli"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@neurospeech/jex": "^1.0.
|
|
18
|
+
"@neurospeech/jex": "^1.0.146",
|
|
19
19
|
"cheerio": "^1.0.0",
|
|
20
20
|
"commander": "^12.1.0",
|
|
21
21
|
"prompts": "^2.4.2"
|
|
@@ -7,6 +7,8 @@ export default [
|
|
|
7
7
|
|
|
8
8
|
url: "https://....",
|
|
9
9
|
|
|
10
|
+
passphrase: readEnv("PASSPHRASE"),
|
|
11
|
+
|
|
10
12
|
certPath: "./cert/ios-distribution.p12",
|
|
11
13
|
certPass: readEnv("APPLE_DISTRIBUTION_CERT_PASS"),
|
|
12
14
|
provisioningProfileFile: readEnv("MOBILE_PROVISIONING_PROFILE", "./cert/ios-app.mobileprovision"),
|