esoftplay 0.0.136-w → 0.0.136-y
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 +10 -5
- package/bin/router.js +2 -4
- package/package.json +1 -1
package/bin/build.js
CHANGED
|
@@ -165,8 +165,9 @@ if (fs.existsSync(packjson)) {
|
|
|
165
165
|
"developmentClient": true,
|
|
166
166
|
"distribution": "internal",
|
|
167
167
|
"ios": {
|
|
168
|
-
"simulator": true
|
|
169
|
-
}
|
|
168
|
+
"simulator": true
|
|
169
|
+
},
|
|
170
|
+
"channel": "default"
|
|
170
171
|
},
|
|
171
172
|
"development_build": {
|
|
172
173
|
"developmentClient": true,
|
|
@@ -175,16 +176,19 @@ if (fs.existsSync(packjson)) {
|
|
|
175
176
|
"preview": {
|
|
176
177
|
"distribution": "internal",
|
|
177
178
|
"ios": {
|
|
178
|
-
"simulator": true
|
|
179
|
-
}
|
|
179
|
+
"simulator": true
|
|
180
|
+
},
|
|
181
|
+
"channel": "default"
|
|
180
182
|
},
|
|
181
183
|
"preview_build": {
|
|
182
184
|
"distribution": "internal",
|
|
183
185
|
"android": {
|
|
184
186
|
"buildType": "apk"
|
|
185
|
-
}
|
|
187
|
+
},
|
|
188
|
+
"channel": "default"
|
|
186
189
|
},
|
|
187
190
|
"production": {
|
|
191
|
+
"channel": "default"
|
|
188
192
|
}
|
|
189
193
|
},
|
|
190
194
|
"submit": {
|
|
@@ -363,6 +367,7 @@ export default UserIndex`;
|
|
|
363
367
|
execSync("cd ../../ && bun install || true")
|
|
364
368
|
execSync("cd ../../ && bun ./node_modules/esoftplay/bin/router.js || true")
|
|
365
369
|
execSync("cd ../../ && bun ./node_modules/esoftplay/bin/locale.js || true")
|
|
370
|
+
execSync("cd ../../ && eas update:configure")
|
|
366
371
|
console.log('App.js has been replace to App.tsx');
|
|
367
372
|
if (appjson)
|
|
368
373
|
|
package/bin/router.js
CHANGED
|
@@ -282,11 +282,9 @@ export * as ${ucword(module) + ucword(task) + SuffixHooksProperty} from '../../.
|
|
|
282
282
|
}
|
|
283
283
|
if (HookModules.includes(nav)) {
|
|
284
284
|
item += "" +
|
|
285
|
-
"import
|
|
286
|
-
"const _" + ucword(module) + ucword(task) + " = React.lazy(() => import('../../../../." + Modules[module][task] + "')); \n" +
|
|
285
|
+
"import _" + ucword(module) + ucword(task) + " from '../../../../." + Modules[module][task] + "'; \n" +
|
|
287
286
|
"import * as " + ucword(module) + ucword(task) + SuffixHooksProperty + " from '../../../../." + Modules[module][task] + "';\n" +
|
|
288
|
-
"const
|
|
289
|
-
"const " + ucword(module) + ucword(task) + " = stable(UpdatedComponent(_" + ucword(module) + ucword(task) + ")); \n" +
|
|
287
|
+
"const " + ucword(module) + ucword(task) + " = stable(_" + ucword(module) + ucword(task) + "); \n" +
|
|
290
288
|
"export { " + ucword(module) + ucword(task) + SuffixHooksProperty + ", " + ucword(module) + ucword(task) + " };\n"
|
|
291
289
|
} else if (UseLibs.includes(nav)) {
|
|
292
290
|
item += "" +
|