@fto-consult/expo-ui 8.46.1 → 8.46.2
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 +25 -0
- package/package.json +1 -1
package/bin/create-app.js
CHANGED
@@ -110,6 +110,31 @@ const createAPPJSONFile = (projectRoot,{name,version})=>{
|
|
110
110
|
writeFile(gP,gitignore);
|
111
111
|
} catch{};
|
112
112
|
}
|
113
|
+
const easIgnore = path.resolve(projectRoot,".easignore") ;
|
114
|
+
if(!fs.existsSync(easIgnore)){
|
115
|
+
try {
|
116
|
+
writeFile(easIgnore,`
|
117
|
+
node_modules/**/*
|
118
|
+
.expo/*
|
119
|
+
npm-debug.*
|
120
|
+
*.jks
|
121
|
+
*.p8
|
122
|
+
*.p12
|
123
|
+
*.key
|
124
|
+
*.mobileprovision
|
125
|
+
*.orig.*
|
126
|
+
web-build/**/*
|
127
|
+
web-report/**/*
|
128
|
+
electron/**/*
|
129
|
+
|
130
|
+
# macOS
|
131
|
+
.DS_Store
|
132
|
+
|
133
|
+
# Project
|
134
|
+
.tmp/*
|
135
|
+
`);
|
136
|
+
} catch{};
|
137
|
+
}
|
113
138
|
const imagePluginOptions = {
|
114
139
|
"photosPermission": `Autoriser $(PRODUCT_NAME) à accéder à vos photos.`,
|
115
140
|
"cameraPermission" : `Autoriser $(PRODUCT_NAME) à accéder à votre camera`
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fto-consult/expo-ui",
|
3
|
-
"version": "8.46.
|
3
|
+
"version": "8.46.2",
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
5
|
"react-native-paper-doc": "https://github.com/callstack/react-native-paper/tree/main/docs/docs/guides",
|
6
6
|
"scripts": {
|