[lint] Upgrade to Prettier v3, typescript-eslint to v6 (#23544)Why --- Prettier 3 is out. Add support for it with this linter config. **Note for reviewer:** the first commit is the one with th
[lint] Upgrade to Prettier v3, typescript-eslint to v6 (#23544)Why --- Prettier 3 is out. Add support for it with this linter config. **Note for reviewer:** the first commit is the one with the actual changes. The rest of this PR are changes to get the linter passing (mostly autofix). How --- Update eslint-config-prettier and eslint-plugin-prettier. To address deprecation warnings, also update typescript-eslint/parser and typescript-eslint/eslint-plugin. Because of an update to typescript-eslint/parser, we need to suppress deprecation warnings (documented in a comment). Regenerated test snapshots. Due to the upgraded dependencies, typecasts and optional chaining are now auto-fixable by lint. This converts warnings into autofixes. Test Plan --- `yarn test` in the linter config. Run `expotools check --all --fix-lint --no-build --no-test --no-uniformity-check` to try this config on the whole repo. --------- Co-authored-by: Expo Bot <[email protected]>
show more ...
[home] Launch directly to classic update (#20480)
[home] remove InfiniteScrollView and use FlatList-native infinite scroll props (#20914)# Why `InfiniteScrollView` is a legacy module from when Expo Go used `ListView`, which didn't have props f
[home] remove InfiniteScrollView and use FlatList-native infinite scroll props (#20914)# Why `InfiniteScrollView` is a legacy module from when Expo Go used `ListView`, which didn't have props for detecting end-of-list position for infinite scrolling purposes. We want to remove that module in this SDK release. # How Since we were already using `FlatList`, it was easy to simply remove `InfiniteScrollView` and use the `FlatList` props that serve our purposes. On top of replacing `InfiniteScrollView` prop usage, I followed the warnings in Apollo Client telling me that `updateQuery` is deprecated in favor of `typePolicies`, so I used their pagination helpers to achieve the same effect cache updating effect we had before. # Test Plan I opened the projects and snacks lists in Expo Go with this code running locally to make sure lists updated correctly and there were no more Apollo client warnings: https://user-images.githubusercontent.com/12488826/213896603-09b11640-c417-4f3b-9078-1af50da54979.mov I don't have any projects with enough branches to paginate, but it should behave the same as the other two lists.
[home] don't use cached responses on home screen, fix broken useCallbacks (#18337)
[home] use RN FlatList instead of RNGH to make pagination work (#18194)
Upgrade to react-native 0.69 (#18006)# Why for sdk 46 close ENG-5353 # How - update packages - react -> 18.0.0 - react-native -> 0.69.0 - react-dom -> 18.0.0 - react-native-w
Upgrade to react-native 0.69 (#18006)# Why for sdk 46 close ENG-5353 # How - update packages - react -> 18.0.0 - react-native -> 0.69.0 - react-dom -> 18.0.0 - react-native-web -> ~0.18.1 - react-test-renderer -> ~18.0.0 - @types/react -> ~18.0.14 - @types/react-native -> ~0.69.1 - early patch react-native for 0.69.1 fixes - https://github.com/facebook/react-native/commit/43f831b - https://github.com/facebook/react-native/commit/c2088e1 - https://github.com/facebook/react-native/commit/f97c6a5 - https://github.com/facebook/react-native/commit/79baca6 - https://github.com/facebook/react-native/pull/34064#issuecomment-1168810152 - migrate `expo-template-bare-minimum`, `bare-expo`, `bare-sandbox` to 0.69. reference from https://react-native-community.github.io/upgrade-helper/?from=0.68.1&to=0.69.0 - also remove the `hermesCommand` because 0.69 uses the builtin hermes-engine - `expo-av`, `expo-modules-core`, `expo-gl-cpp`: fix android cpp building errors, because 0.69 ships both release and debug aar - `expo-dev-client`: fix android build error from RedBox package rename - `html-elements`: update RNWView where react-native-web removed [the `css` import](https://github.com/necolas/react-native-web/commit/b27c9820) - `expo`: move Expo.podspec out from ios, because newer [rn-cli removed the `podspecPath` and `project` support](https://github.com/react-native-community/cli/commit/25eec7c#diff-0dddbcedebb33032fcac5991f3dcdfa44157e6ae87afcf3dabcd240a0db09832L58). - [ ] disable dev-client because the vendored reanimated in dev menu doesn't support 0.69 yet, e.g. `folly_json -> folly_runtime` - update reanimated and gesture-handler to latest for 0.69 support - `jest-expo`: update to [fix the deprecated react-native-web jest preset](https://github.com/necolas/react-native-web/commit/9b0c119) - `NCL`, `home`, patch `react-native-svg`: fix react 18 that [`children` should be explicitly added](https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#updates-to-typescript-definitions) - `@expo/cli` fix react-native-web and react-dom version checks # Test Plan - android bare-expo smoke test - ios bare-expo smoke test - ci passed - updates e2e is broken because in the flow the react-native doesn't include 0.69.1 fixes.
[home] fix Android pull-to-refresh (#17087)* [home] use RN Scrollables instead of RNGH on Android to make sure RefreshControl/Pull-to-Refresh works * make sure dev server keys change if new dev
[home] fix Android pull-to-refresh (#17087)* [home] use RN Scrollables instead of RNGH on Android to make sure RefreshControl/Pull-to-Refresh works * make sure dev server keys change if new dev server is run on the same port * publish dev home * interpolate key instead of adding strings
[home] implement original list design (#16962)* [home] implement original list design * revert icon size change
[home] don't show projects section when logged out and change dev servers placeholder to be a sign in/up prompt (#16933)
[home] implement changes based on dogfooding feedback (#16903)* fix typo for log in button * improve spacing of moreLegacyBranchesText * improve release channel styling, make text on project
[home] implement changes based on dogfooding feedback (#16903)* fix typo for log in button * improve spacing of moreLegacyBranchesText * improve release channel styling, make text on project page match existing app to make it more safe * remove privacy constant so that "privacy: public" won't cause problems * use gesturehandler touchable instead of pressable for proper delaying of onPressIn on scroll * remove transition word * don't show classic release channel open section when you can't * improve updates flatlist * change alert title from default 'alert' * revert legacy launch text style change * change flatlist item style * lint and fix hitSlop prop type * change how account selector is ordered * fix tsc * expotools publish-dev-home
[home] fix screen bg, account list sizing, text truncating (#16842)* make sure long text gets truncated properly * fix log out button not showing on small screens/long accounts lists and dismiss
[home] fix screen bg, account list sizing, text truncating (#16842)* make sure long text gets truncated properly * fix log out button not showing on small screens/long accounts lists and dismiss modal on account select * fix background colors * expotools publish-dev-home
[home] remove dead code (#16839)* [home] remove dead code * expotools publish-dev-home