diff --git a/apps/mobile/app.json b/apps/mobile/app.json index 32a40c1..1ac05bd 100644 --- a/apps/mobile/app.json +++ b/apps/mobile/app.json @@ -20,10 +20,16 @@ "foregroundImage": "./assets/adaptive-icon.png", "backgroundColor": "#ffffff" }, - "edgeToEdgeEnabled": true + "edgeToEdgeEnabled": true, + "package": "com.nenets.dropitmobile" }, "web": { "favicon": "./assets/favicon.png" + }, + "extra": { + "eas": { + "projectId": "5a9df6ea-fea2-4e13-82f8-3b4621e4adc8" + } } } } diff --git a/apps/mobile/eas.json b/apps/mobile/eas.json new file mode 100644 index 0000000..af331fb --- /dev/null +++ b/apps/mobile/eas.json @@ -0,0 +1,21 @@ +{ + "cli": { + "version": ">= 16.26.0", + "appVersionSource": "remote" + }, + "build": { + "development": { + "developmentClient": true, + "distribution": "internal" + }, + "preview": { + "distribution": "internal" + }, + "production": { + "autoIncrement": true + } + }, + "submit": { + "production": {} + } +} diff --git a/apps/mobile/package.json b/apps/mobile/package.json index 23230a7..dc01bac 100644 --- a/apps/mobile/package.json +++ b/apps/mobile/package.json @@ -9,7 +9,8 @@ "android": "npx expo start --android", "ios": "npx expo start --ios", "web": "npx expo start --web", - "typecheck": "tsc --noEmit" + "typecheck": "tsc --noEmit", + "postinstall": "cd ../../packages/schemas && pnpm build && cd ../contract && pnpm build && cd ../permissions && pnpm build" }, "dependencies": { "@dropit/contract": "workspace:*", @@ -33,6 +34,7 @@ "devDependencies": { "@babel/core": "^7.25.2", "@types/react": "~19.1.10", + "tsup": "^8.3.5", "typescript": "~5.9.2" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b0c3317..3cb3452 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -217,6 +217,9 @@ importers: '@types/react': specifier: ~19.1.10 version: 19.1.17 + tsup: + specifier: ^8.3.5 + version: 8.5.0(jiti@1.21.7)(postcss@8.5.6)(tsx@4.20.6)(typescript@5.9.3)(yaml@2.8.1) typescript: specifier: ~5.9.2 version: 5.9.3