@fto-consult/expo-ui 8.4.0 → 8.4.1
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 +3 -2
- package/package.json +1 -1
package/bin/create-app.js
CHANGED
@@ -196,9 +196,10 @@ const createAPPJSONFile = (projectRoot,{name,version})=>{
|
|
196
196
|
appJSONManager.save();
|
197
197
|
}
|
198
198
|
const eas = path.resolve(projectRoot,"eas.json");
|
199
|
-
|
199
|
+
const cEas = path.resolve(__dirname,"..","eas.json");
|
200
|
+
if(!fs.existsSync(eas) && fs.existsSync(cEas)){
|
200
201
|
try {
|
201
|
-
copy(
|
202
|
+
copy(cEas,eas,{overwrite:false})
|
202
203
|
} catch{}
|
203
204
|
}
|
204
205
|
return fs.existsSync(appJSONPath);
|