@fto-consult/expo-ui 8.0.6 → 8.0.7
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/create-app.js +7 -1
- package/package.json +1 -2
package/bin/create-app.js
CHANGED
@@ -36,7 +36,7 @@ module.exports = function(appName,{projectRoot:root}){
|
|
36
36
|
"dev" : "npx expo start --no-dev --minify -c",
|
37
37
|
"serve-web" : "npx serve web-build --single",
|
38
38
|
"build-web" : "npx expo export:web",
|
39
|
-
"build-android" : "npx eas build --platform android",
|
39
|
+
"build-android" : "npx eas build --platform android --profile preview",
|
40
40
|
"build-ios" : "eas build --platform ios",
|
41
41
|
},
|
42
42
|
"dependencies" : {
|
@@ -155,6 +155,12 @@ const createAPPJSONFile = (projectRoot,{name,version})=>{
|
|
155
155
|
appJSONManager.set({version})
|
156
156
|
appJSONManager.save();
|
157
157
|
}
|
158
|
+
const eas = path.resolve(projectRoot,"eas.json");
|
159
|
+
if(!fs.existsSync(eas)){
|
160
|
+
try {
|
161
|
+
copy(path.resolve(__dirname,"eas.json"),eas,{overwrite:false})
|
162
|
+
} catch{}
|
163
|
+
}
|
158
164
|
return fs.existsSync(appJSONPath);
|
159
165
|
}
|
160
166
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fto-consult/expo-ui",
|
3
|
-
"version": "8.0.
|
3
|
+
"version": "8.0.7",
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
5
|
"scripts": {
|
6
6
|
"clear-npx-cache": "npx clear-npx-cache",
|
@@ -115,7 +115,6 @@
|
|
115
115
|
"react-native-mime-types": "^2.4.0",
|
116
116
|
"react-native-paper": "^5.12.1",
|
117
117
|
"react-native-paper-dates": "^0.21.7",
|
118
|
-
"react-native-reanimated": "~3.6.0",
|
119
118
|
"react-native-safe-area-context": "4.8.2",
|
120
119
|
"react-native-screens": "~3.29.0",
|
121
120
|
"react-native-svg": "14.1.0",
|