From 44238d0b00f4e15e8826b970b602bfa78f7ca971 Mon Sep 17 00:00:00 2001 From: symphony-dev Date: Tue, 19 Jul 2022 21:19:19 +0500 Subject: [PATCH] Updated-v1 --- CHANGELOG.md | 58 +++++++++++++++++++++++++++++++++++++++---- babel.config.js | 13 ++++++++-- navigation/Screens.js | 40 +++++++++++++++++++++++++---- package.json | 26 +++++++++---------- 4 files changed, 112 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6aad51..4b2126e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,38 @@ -## [1.8.0] 2022-04-12 +## [1.8.1] 2022-07-19 + ### Updated dependencies -- added `expo-modules-core` dependency + +- Fixed the dual header shown issue. +- Updated @react-native-masked-view/masked-view@0.2.4 to @react-native-masked-view/masked-view@0.2.6 +- Updated expo@^42.0.0 to expo@^45.0.0 +- Updated expo-app-loading@~1.1.2 to expo-app-loading@~2.0.0 +- Updated expo-expo-asset@~8.3.2 to expo-asset@~8.5.0 +- Updated expo-font@~9.2.1 to expo-font@~10.1.0 +- Updated expo-module-core@^0.2.0 to expo-module-core@~0.9.2 +- Updated expo-linear-gradient@~9.2.0 to expo-linear-gradient@~11.3.0 +- Updated react@16.13.1 to react@17.0.2 +- Updated react-native@42.0.0 to react@0.68.2 +- Updated react-native-gesture-handler@^1.10.3 to react-native-gesture-handler@~2.2.1 +- Updated react-native-reanimated@~2.2.0 to react-native-reanimated@~2.8.0 +- Updated react-native-safe-area-context@3.2.0 to react-native-safe-area-context@4.2.4 +- Updated react-native-screens@~3.4.0 to react-native-screens@~3.11.1 +- Updated dev dependencies +- Updated babel-preset-expo@8.3.0 to babel-preset-expo@~9.1.0 +- Updated Babel Config +- Added a new plugin of react-native-reanimated/plugin + +## [1.8.0] 2022-04-12 + +### Updated dependencies + +- added `expo-modules-core` dependency - updated existent dependencies - issues poped up in `stackNagivator` after updating dependencies so fixed in `screenOption` and updated its code ## [1.7.1] 2021 - 07 - 15 + ### Updated dependencies + - updated `expo@40.0.0` to `expo@42.0.0` - updated `expo-asset@8.2.1` to `expo-asset@8.3.2` - updated `expo-font@8.4.0` to `expo-font@9.2.1` @@ -17,10 +44,13 @@ - updated `react-native-screens@2.15.2` to `react-native-screens@3.4.0` ### Updated files + - removed deprecated `useSafeArea` from `navigation/Menu.js` ## [1.7.0] 2020 - 11 - 04 + ### Updated dependencies + - updated `@react-navigation/bottom-tabs@5.06` to `@react-navigation/bottom-tabs@5.5.1` - updated `@react-navigation/compat@5.0.0` to `@react-navigation/compat@5.1.25` - updated `@react-navigation/drawer@5.0.0` to `@react-navigation/drawer@5.12.4` @@ -36,12 +66,14 @@ - added `expo-app-loading@1.01` ### Updated files + - `useNativeDriver` warning fixed in `Tabs.js` - card height changed in `Register.js` - ## [1.6.0] 2020 - 11 - 04 + ### Updated dependencies + - updated `expo-asset@8.1.5` to `expo-asset@8.2.0` - updated `expo-font@8.1.0` to `expo-font@8.3.0` - updated `react-native-gesture-handler@1.6.0` to `react-native-gesture-handler@1.7.0` @@ -57,15 +89,18 @@ - changed the git source for react-native-modal-dropdown ### Updated files + - Profile.js - fixed elements regarding the Photo Album - Elements.js - ScrollView fixed by adding width, PR accepted which removed a duplicate styling [#24](https://github.com/creativetimofficial/argon-react-native/pull/24) - App.js - fixed Invariant Violation via PR [#29](https://github.com/creativetimofficial/argon-react-native/pull/29) ## [1.5.0] 2020 - 06 - 04 + ### Updated dependencies + - updated `expo-asset@8.0.0` to `expo-asset@8.1.5` - updated `expo-font@8.0.0` to `expo-font@8.1.0` -- updated `react-native-gesture-handler@1.5.0` to `react-native-gesture-handler@1.6.0` +- updated `react-native-gesture-handler@1.5.0` to `react-native-gesture-handler@1.6.0` - updated `react-native-reanimated@1.4.0` to `react-native-reanimated@1.7.0` - updated `react-native-screens@2.0.0-alpha.12` to `react-native-screens@2.2.0` - updated `react-native-safe-area-context@0.6.0` to `react-native-safe-area-context@0.7.3` @@ -75,14 +110,18 @@ - updated `Expo @36.0.0` to `Expo @37.0.0` ### Updated files + - used hooks for App.js - moved `assets/font/argon.json` to `assets/config/argon.json` in order to make sure there wouldn't be any issue with the build for Android ## [1.4.0] 2020 - 03 - 05 + ### Removed dependencies + - removed `react-navigation@3.11.0` ### Added dependencies + - added `@react-navigation/compat@5.0.0` - added `@react-navigation/drawer@5.0.0` - added `@react-navigation/native@5.0.0` @@ -93,6 +132,7 @@ - added `react-native-screeens@2.0.0-alpha.12` ### Updated dependencies + - updated `expo@35.0.0` to `expo@36.0.0` - updated `expo-asset@7.0.0` to `expo-asset@8.0.0` - updated `expo-font@7.0.0` to `expo-font@8.0.0` @@ -101,13 +141,16 @@ - updated `react@16.8.3` to `react@16.9.0` ### Updated files + - changed the whole routing from `Screens.js` because `react-navigation@5.0.0` has a new dynamic API - changed `Menu.js` for a new Drawer custom component - changed `DrawerItem.js` for a new type of `` - changed props and variables so that the new `react-navigation` API could work with the following files: `Beauty.js`, `Header.js`, `Product.js`, `Gallery.js`, `Pro.js`, `Product.js`, `Settings.js`, `Register.js`, `Onboarding.js` ## [1.3.0] 2019-11-06 + ### Updated dependencies + - `expo@34.0.3` to `expo@35.0.0` - `expo-font@6.0.1` to `expo-font@7.0.0` - `expo-asset@6.0.0` to `expo-asset@7.0.0` @@ -116,10 +159,13 @@ - `babel-preset-expo@5.0.0` to `babel-preset-expo@7.0.0` ### Updated files + - changed drawer items in order to have a similar look to the PRO version ## [1.2.0] 2019-09-18 + ### Updated dependencies + - `expo@33.0.0` to `expo@34.0.3` - `expo-font@5.0.1` to `expo-font@6.0.1` - added `expo-asset@6.0.0` @@ -128,7 +174,9 @@ - `galio-framework@0.5.3` to `galio-framework@0.6.1` ## [1.1.0] 2019-06-21 + ### Updated dependencies + - `expo@32.0.0` to `expo@33.0.0` - `galio-framework@0.5.1` to `galio-framework@0.5.3` - `react-native SDK@32.0.0` to `react-native SDK@33.0.0` @@ -136,6 +184,6 @@ - `react@16.5.0` to `react@16.8.3` - added `expo-font@5.0.1` - ## [1.0.0] 2019-06-07 + ### Initial Release diff --git a/babel.config.js b/babel.config.js index 2900afe..c0d6e65 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,6 +1,15 @@ -module.exports = function(api) { +module.exports = function (api) { api.cache(true); return { - presets: ['babel-preset-expo'], + presets: ["babel-preset-expo"], + plugins: [ + [ + "module-resolver", + { + extensions: [".tsx", ".ts", ".js", ".json"], + }, + ], + "react-native-reanimated/plugin", + ], }; }; diff --git a/navigation/Screens.js b/navigation/Screens.js index 804a0ba..db91d65 100644 --- a/navigation/Screens.js +++ b/navigation/Screens.js @@ -246,11 +246,41 @@ function AppStack(props) { }} initialRouteName="Home" > - - - - - + + + + + ); } diff --git a/package.json b/package.json index 8ef90f6..fb8a5c6 100644 --- a/package.json +++ b/package.json @@ -14,30 +14,30 @@ "url": "git+https://github.com/creativetimofficial/argon-react-native.git" }, "dependencies": { - "@react-native-masked-view/masked-view": "0.2.4", + "@react-native-masked-view/masked-view": "0.2.6", "@react-navigation/bottom-tabs": "^6.3.1", "@react-navigation/compat": "^5.1.25", "@react-navigation/drawer": "5.12.4", "@react-navigation/native": "^6.0.10", "@react-navigation/stack": "^6.2.1", "@use-expo/font": "^2.0.0", - "expo": "^42.0.0", - "expo-app-loading": "1.1.2", - "expo-asset": "~8.3.2", - "expo-font": "~9.2.1", - "expo-modules-core": "^0.2.0", + "expo": "^45.0.0", + "expo-app-loading": "~2.0.0", + "expo-asset": "~8.5.0", + "expo-font": "~10.1.0", + "expo-modules-core": "~0.9.2", "galio-framework": "^0.8.0", "prop-types": "^15.7.2", - "react": "16.13.1", - "react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz", - "react-native-gesture-handler": "^1.10.3", + "react": "17.0.2", + "react-native": "0.68.2", + "react-native-gesture-handler": "~2.2.1", "react-native-modal-dropdown": "git+https://github.com/siemiatj/react-native-modal-dropdown.git", - "react-native-reanimated": "~2.2.0", - "react-native-safe-area-context": "3.2.0", - "react-native-screens": "^3.4.0" + "react-native-reanimated": "~2.8.0", + "react-native-safe-area-context": "4.2.4", + "react-native-screens": "~3.11.1" }, "devDependencies": { - "babel-preset-expo": "8.3.0" + "babel-preset-expo": "~9.1.0" }, "keywords": [ "argon react native",