esoftplay 0.0.112-e → 0.0.112-h
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/bin/build.js +24 -24
- package/bin/cli.js +6 -6
- package/package.json +1 -1
package/bin/build.js
CHANGED
|
@@ -28,7 +28,7 @@ if (fs.existsSync(packjson)) {
|
|
|
28
28
|
/* ADD SCRIPTS.PRESTART AND SCRIPTS.POSTSTOP */
|
|
29
29
|
|
|
30
30
|
if (args[0] == "install") {
|
|
31
|
-
$package.scripts.start = "esp start && expo start"
|
|
31
|
+
$package.scripts.start = "esp start && expo start --dev-client"
|
|
32
32
|
fs.writeFile(packjson, JSON.stringify($package, null, 2), (err) => {
|
|
33
33
|
if (err) throw err;
|
|
34
34
|
console.log('package.json has been updated');
|
|
@@ -118,29 +118,29 @@ if (fs.existsSync(packjson)) {
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
const easconfg = `{
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
121
|
+
"cli": {
|
|
122
|
+
"version": ">= 0.52.0"
|
|
123
|
+
},
|
|
124
|
+
"build": {
|
|
125
|
+
"development": {
|
|
126
|
+
"developmentClient": true,
|
|
127
|
+
"distribution": "internal",
|
|
128
|
+
"ios": {
|
|
129
|
+
"simulator": true
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"preview": {
|
|
133
|
+
"distribution": "internal",
|
|
134
|
+
"ios": {
|
|
135
|
+
"simulator": true
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"production": {}
|
|
139
|
+
},
|
|
140
|
+
"submit": {
|
|
141
|
+
"production": {}
|
|
142
|
+
}
|
|
143
|
+
}`
|
|
144
144
|
|
|
145
145
|
fs.writeFile(easjson, easconfg, (err) => {
|
|
146
146
|
if (err) throw err;
|
package/bin/cli.js
CHANGED
|
@@ -561,7 +561,7 @@ function command(command) {
|
|
|
561
561
|
function build() {
|
|
562
562
|
const types = [
|
|
563
563
|
{
|
|
564
|
-
name: "1. IOS (
|
|
564
|
+
name: "1. IOS (Development) - Simulator",
|
|
565
565
|
cmd: "eas build --platform ios --profile development",
|
|
566
566
|
pre: () => {
|
|
567
567
|
jsEng(appjson, false)
|
|
@@ -571,7 +571,7 @@ function build() {
|
|
|
571
571
|
}
|
|
572
572
|
},
|
|
573
573
|
{
|
|
574
|
-
name: "2. IOS (
|
|
574
|
+
name: "2. IOS (Preview) - Simulator",
|
|
575
575
|
cmd: "eas build --platform ios --profile preview",
|
|
576
576
|
pre: () => {
|
|
577
577
|
jsEng(appjson, true)
|
|
@@ -581,7 +581,7 @@ function build() {
|
|
|
581
581
|
}
|
|
582
582
|
},
|
|
583
583
|
{
|
|
584
|
-
name: "3. IOS (
|
|
584
|
+
name: "3. IOS (Production) - ipa",
|
|
585
585
|
cmd: "eas build --platform ios --profile production",
|
|
586
586
|
pre: () => {
|
|
587
587
|
jsEng(appjson, true)
|
|
@@ -591,7 +591,7 @@ function build() {
|
|
|
591
591
|
}
|
|
592
592
|
},
|
|
593
593
|
{
|
|
594
|
-
name: "4. Android (
|
|
594
|
+
name: "4. Android (Development) - apk",
|
|
595
595
|
cmd: "eas build --platform android --profile development",
|
|
596
596
|
pre: () => {
|
|
597
597
|
jsEng(appjson, false)
|
|
@@ -601,7 +601,7 @@ function build() {
|
|
|
601
601
|
}
|
|
602
602
|
},
|
|
603
603
|
{
|
|
604
|
-
name: "5. Android (
|
|
604
|
+
name: "5. Android (Preview) - apk",
|
|
605
605
|
cmd: "eas build --platform android --profile preview",
|
|
606
606
|
pre: () => {
|
|
607
607
|
jsEng(appjson, true)
|
|
@@ -611,7 +611,7 @@ function build() {
|
|
|
611
611
|
}
|
|
612
612
|
},
|
|
613
613
|
{
|
|
614
|
-
name: "6. Android (
|
|
614
|
+
name: "6. Android (Production) - aab",
|
|
615
615
|
cmd: "eas build --platform android --profile production",
|
|
616
616
|
pre: () => {
|
|
617
617
|
jsEng(appjson, true)
|