Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "upgrade to 51 first" #1417

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
"slug": "packrat-world",
"version": "0.0.1",
"description": "PackRat is the ultimate adventure planner designed for those who love to explore the great outdoors. Our app helps users plan and organize their trips with ease, whether it's a weekend camping trip, a day hike, or a cross-country road trip.",
"platforms": ["ios", "android", "web"]
"sdkVersion": "50.0.0",
"platforms": [
"ios",
"android",
"web"
]
}
}
27 changes: 12 additions & 15 deletions apps/expo/app.config.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
module.exports = ({ config }) => {
return {
...config,
plugins: [
...config.plugins.map((i) => {
if (i[0] === '@rnmapbox/maps') {
return [
'@rnmapbox/maps',
{
RNMapboxMapsImpl: 'mapbox',
RNMapboxMapsDownloadToken: process.env.MAPBOX_DOWNLOADS_TOKEN,
},
];
}
return i;
}),
'expo-asset',
],
plugins: config.plugins.map((i) => {
if (i[0] === '@rnmapbox/maps') {
return [
'@rnmapbox/maps',
{
RNMapboxMapsImpl: 'mapbox',
RNMapboxMapsDownloadToken: process.env.MAPBOX_DOWNLOADS_TOKEN,
},
];
}
return i;
}),
};
};
8 changes: 5 additions & 3 deletions apps/expo/app.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"backgroundColor": "#ffffff",
"scheme": "myapp"
},
"assetBundlePatterns": ["**/*"],
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.andrewbierman.packrat"
Expand Down Expand Up @@ -52,7 +54,7 @@
"buildToolsVersion": "34.0.0"
},
"ios": {
"deploymentTarget": "15.1"
"deploymentTarget": "13.4"
}
}
]
Expand All @@ -64,4 +66,4 @@
},
"owner": "andrewbierman"
}
}
}
2 changes: 1 addition & 1 deletion apps/expo/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"buildToolsVersion": "34.0.0"
},
"ios": {
"deploymentTarget": "15.1",
"deploymentTarget": "13.4",
"buildNumber": "3",
"infoPlist": {
"ITSAppUsesNonExemptEncryption": false
Expand Down
Binary file modified apps/expo/assets/adaptive-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 40 additions & 41 deletions apps/expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@
"@babel/runtime": "^7.21.0",
"@bugsnag/expo": "^50.0.0",
"@expo/match-media": "^0.4.0",
"@expo/metro-runtime": "~3.2.3",
"@expo/metro-runtime": "~3.1.3",
"@expo/vector-icons": "^14.0.0",
"@expo/webpack-config": "^19.0.0",
"@fortawesome/fontawesome-svg-core": "^6.3.0",
"@fortawesome/free-solid-svg-icons": "^6.3.0",
"@fortawesome/react-fontawesome": "^0.2.0",
"@hookform/resolvers": "^3.3.4",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-async-storage/async-storage": "1.21.0",
"@react-native-community/geolocation": "^3.0.6",
"@react-native-community/netinfo": "11.3.1",
"@react-native-community/netinfo": "11.1.0",
"@react-native-google-signin/google-signin": "^9.0.2",
"@react-native-menu/menu": "^1.2.0",
"@react-native-menu/menu": "^0.9.1",
"@react-navigation/bottom-tabs": "^6.5.11",
"@react-navigation/drawer": "^6.6.6",
"@react-navigation/native": "^6.1.6",
Expand Down Expand Up @@ -84,35 +84,34 @@
"dotenv": "^16.0.3",
"env": "^0.0.2",
"eslint-plugin-react-native": "^4.0.0",
"expo": "~51.0.39",
"expo-application": "~5.9.1",
"expo-asset": "~10.0.10",
"expo-auth-session": "~5.5.2",
"expo-blur": "~13.0.2",
"expo-build-properties": "~0.12.5",
"expo-checkbox": "~3.0.0",
"expo-clipboard": "~6.0.3",
"expo-constants": "~16.0.2",
"expo-crypto": "~13.0.2",
"expo-dev-client": "~4.0.29",
"expo-device": "~6.0.2",
"expo-document-picker": "~12.0.2",
"expo-file-system": "~17.0.1",
"expo-font": "~12.0.10",
"expo-haptics": "~13.0.1",
"expo-image-picker": "~15.0.7",
"expo-linear-gradient": "~13.0.2",
"expo-linking": "~6.3.1",
"expo-local-authentication": "~14.0.1",
"expo-location": "~17.0.1",
"expo-random": "~14.0.1",
"expo-router": "~3.5.24",
"expo-secure-store": "~13.0.2",
"expo-splash-screen": "~0.27.7",
"expo": "^50.0.14",
"expo-application": "~5.8.4",
"expo-auth-session": "~5.4.0",
"expo-blur": "~12.9.2",
"expo-build-properties": "~0.11.1",
"expo-checkbox": "~2.7.0",
"expo-clipboard": "~5.0.1",
"expo-constants": "~15.4.6",
"expo-crypto": "~12.8.1",
"expo-dev-client": "~3.3.11",
"expo-device": "~5.9.4",
"expo-document-picker": "~11.10.1",
"expo-file-system": "~16.0.9",
"expo-font": "~11.10.3",
"expo-haptics": "~12.8.1",
"expo-image-picker": "~14.7.1",
"expo-linear-gradient": "~12.7.2",
"expo-linking": "~6.2.2",
"expo-local-authentication": "~13.8.0",
"expo-location": "~16.5.5",
"expo-random": "~13.6.0",
"expo-router": "~3.4.10",
"expo-secure-store": "~12.8.1",
"expo-splash-screen": "~0.26.4",
"expo-standard-web-crypto": "^1.7.0",
"expo-status-bar": "~1.12.1",
"expo-system-ui": "~3.0.7",
"expo-web-browser": "~13.0.3",
"expo-status-bar": "~1.11.1",
"expo-system-ui": "~2.9.3",
"expo-web-browser": "~12.8.2",
"file-saver": "^2.0.5",
"firebase": "^9.19.1",
"fuse.js": "^6.6.2",
Expand All @@ -124,27 +123,27 @@
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.51.0",
"react-native": "0.74.5",
"react-native": "0.73.6",
"react-native-dotenv": "^3.4.8",
"react-native-elements": "^3.4.3",
"react-native-fast-image": "^8.6.3",
"react-native-flash-message": "^0.4.2",
"react-native-gesture-handler": "~2.16.1",
"react-native-gesture-handler": "~2.14.0",
"react-native-google-places-autocomplete": "^2.5.1",
"react-native-ios-context-menu": "^2.4.1",
"react-native-ios-utilities": "^4.5.2",
"react-native-paper": "^5.10.6",
"react-native-paper-dates": "^0.18.12",
"react-native-reanimated": "~3.10.1",
"react-native-safe-area-context": "4.10.5",
"react-native-screens": "3.31.1",
"react-native-reanimated": "~3.6.2",
"react-native-safe-area-context": "4.8.2",
"react-native-screens": "~3.29.0",
"react-native-select-dropdown": "^3.3.4",
"react-native-svg": "15.2.0",
"react-native-svg": "14.1.0",
"react-native-table-component": "https://github.com/slice312/react-native-table-component.git",
"react-native-url-polyfill": "^2.0.0",
"react-native-vector-icons": "^10.0.3",
"react-native-web": "^0.19.10",
"react-native-webview": "13.8.6",
"react-native-webview": "13.6.4",
"react-redux": "^9.0.4",
"react-responsive": "^9.0.2",
"redux-persist": "^6.0.0",
Expand All @@ -169,7 +168,7 @@
"@types/react-test-renderer": "^18.0.0",
"@types/server": "^1.0.5",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"babel-preset-expo": "~11.0.0",
"babel-preset-expo": "^10.0.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard-with-typescript": "^38.0.0",
Expand All @@ -179,7 +178,7 @@
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"prettier": "^3.2.5",
"typescript": "~5.3.3"
"typescript": "^5.5.3"
},
"overrides": {
"metro": "0.73.7",
Expand Down
2 changes: 1 addition & 1 deletion apps/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@tamagui/next-plugin": "1.96.0",
"@tamagui/next-theme": "1.96.0",
"app": "*",
"babel-preset-expo": "~11.0.0",
"babel-preset-expo": "^10.0.1",
"babel-preset-react-native": "^4.0.1",
"metro-react-native-babel-preset": "^0.77.0",
"metro-react-native-babel-transformer": "^0.77.0",
Expand Down
6 changes: 3 additions & 3 deletions apps/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
"esbuild-plugin-flow": "^0.3.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.74.5",
"react-native": "0.73.6",
"react-native-web": "^0.19.10"
},
"devDependencies": {
"@types/react": "~18.2.55",
"@types/react-dom": "~18.2.25",
"@types/react-dom": "^18.2.19",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react": "^4.2.1",
Expand All @@ -42,7 +42,7 @@
"rollup-plugin-polyfill-node": "^0.13.0",
"rollup-plugin-typescript2": "^0.36.0",
"tslib": "^2.6.2",
"typescript": "~5.3.3",
"typescript": "^5.5.3",
"vite": "^5.3.1",
"vite-plugin-node-polyfills": "^0.21.0"
}
Expand Down
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"dev:next": "cd apps/next && yarn dev",
"dev:server": "cd server && yarn start",
"expo:export": "cd apps/expo && cp app.example.json app.json && npx expo export --platform web",
"expo-dev": "cd apps/expo && yarn start",
"expo": "cd apps/expo && yarn start",
"find:unused:deps": "node packages/cli/src/findUnusedDependencies.js",
"fix": "manypkg fix",
"format:all": "prettier --write \"**/*.{js,jsx,ts,tsx}\"",
Expand All @@ -53,7 +53,7 @@
"lint:expo": "cd apps/expo && yarn lint",
"lint:server": "cd server && yarn lint",
"lint": "yarn lint:all",
"next-dev": "cd apps/next && yarn dev",
"next": "cd apps/next && yarn dev",
"prebuild:expo": "cd apps/expo && yarn run prebuild:clean",
"postinstall": "yarn build-ui && yarn build:validations && yarn build-crosspath && yarn setup:env && yarn fix:packages",
"preinstall:yarn": "npx only-allow yarn",
Expand Down Expand Up @@ -92,19 +92,18 @@
"@babel/runtime": "^7.21.0",
"@manypkg/cli": "^0.21.0",
"@prisma/extension-accelerate": "^0.6.2",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-async-storage/async-storage": "^1.23.1",
"check-dependency-version-consistency": "^4.1.0",
"cross-env": "^7.0.3",
"dotenv-cli": "^7.3.0",
"eslint": "^8.56.0",
"expo": "~51.0.39",
"husky": "^8.0.0",
"lint-staged": "^14.0.1",
"npm-run-all": "^4.1.5",
"patch-package": "^8.0.0",
"postinstall-postinstall": "^2.1.0",
"prettier": "^3.2.5",
"typescript": "~5.3.3"
"typescript": "^5.5.3"
},
"lint-staged": {
"server/**/*.{js,ts}": [
Expand Down
57 changes: 29 additions & 28 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
"@packrat/crosspath": "*",
"@packrat/ui": "*",
"@packrat/validations": "*",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-async-storage/async-storage": "^1.23.1",
"@react-native-community/geolocation": "^3.0.6",
"@react-native-community/netinfo": "11.3.1",
"@react-native-community/netinfo": "11.1.0",
"@react-native-google-signin/google-signin": "^9.0.2",
"@react-navigation/drawer": "^6.6.6",
"@react-navigation/native": "^6.1.6",
Expand Down Expand Up @@ -76,26 +76,26 @@
"date-fns": "^2.29.3",
"dotenv": "^16.0.3",
"eslint-plugin-react-native": "^4.0.0",
"expo": "~51.0.39",
"expo-application": "~5.9.1",
"expo-auth-session": "~5.5.2",
"expo-checkbox": "~3.0.0",
"expo-constants": "~16.0.2",
"expo-crypto": "~13.0.2",
"expo": "^50.0.14",
"expo-application": "~5.8.4",
"expo-auth-session": "~5.4.0",
"expo-checkbox": "~2.7.0",
"expo-constants": "~15.4.6",
"expo-crypto": "~12.8.1",
"expo-document-picker": "^12.0.2",
"expo-file-system": "~17.0.1",
"expo-font": "~12.0.10",
"expo-image-picker": "~15.0.7",
"expo-linking": "~6.3.1",
"expo-location": "~17.0.1",
"expo-random": "~14.0.1",
"expo-router": "~3.5.24",
"expo-secure-store": "~13.0.2",
"expo-splash-screen": "~0.27.7",
"expo-file-system": "~16.0.9",
"expo-font": "~11.10.3",
"expo-image-picker": "~14.7.1",
"expo-linking": "~6.2.2",
"expo-location": "~16.5.5",
"expo-random": "~13.6.0",
"expo-router": "~3.4.10",
"expo-secure-store": "~12.8.1",
"expo-splash-screen": "~0.26.4",
"expo-standard-web-crypto": "^1.7.0",
"expo-status-bar": "~1.12.1",
"expo-system-ui": "~3.0.7",
"expo-web-browser": "~13.0.3",
"expo-status-bar": "~1.11.1",
"expo-system-ui": "~2.9.3",
"expo-web-browser": "~12.8.2",
"file-saver": "^2.0.5",
"firebase": "^9.19.1",
"fuse.js": "^6.6.2",
Expand All @@ -115,24 +115,24 @@
"react-error-boundary": "^4.0.13",
"react-hook-form": "^7.51.0",
"react-map-gl": "^7.1.7",
"react-native": "0.74.5",
"react-native": "0.73.6",
"react-native-action-button": "^2.8.5",
"react-native-dotenv": "^3.4.8",
"react-native-elements": "^3.4.3",
"react-native-flash-message": "^0.4.2",
"react-native-gesture-handler": "~2.16.1",
"react-native-gesture-handler": "~2.14.0",
"react-native-google-places-autocomplete": "^2.5.1",
"react-native-paper": "^5.10.6",
"react-native-paper-dates": "^0.18.12",
"react-native-reanimated": "~3.10.1",
"react-native-safe-area-context": "4.10.5",
"react-native-screens": "3.31.1",
"react-native-reanimated": "~3.6.2",
"react-native-safe-area-context": "4.8.2",
"react-native-screens": "~3.29.0",
"react-native-select-dropdown": "^3.3.4",
"react-native-svg": "15.2.0",
"react-native-svg": "14.1.0",
"react-native-table-component": "https://github.com/slice312/react-native-table-component.git",
"react-native-vector-icons": "^10.0.3",
"react-native-web": "^0.19.10",
"react-native-webview": "13.8.6",
"react-native-webview": "13.6.4",
"react-redux": "^9.0.4",
"react-responsive": "^9.0.2",
"redux-persist": "^6.0.0",
Expand All @@ -155,6 +155,7 @@
"@types/node": "^20.14.2",
"@types/papaparse": "^5",
"@types/react": "~18.2.55",
"@types/react-native": "^0.72.5",
"@types/react-test-renderer": "^18.0.0",
"@types/server": "^1.0.5",
"@typescript-eslint/eslint-plugin": "^6.21.0",
Expand All @@ -167,7 +168,7 @@
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"prettier": "^3.2.5",
"typescript": "~5.3.3"
"typescript": "^5.5.3"
},
"overrides": {
"metro": "0.73.7",
Expand Down
Loading
Loading