Skip to content

Commit b647013

Browse files
authored
chore: Merge PR #27 from feat/update-expo-sdk-49
2 parents f57e5ce + a1218b6 commit b647013

File tree

19 files changed

+21565
-1233
lines changed

19 files changed

+21565
-1233
lines changed

.storybook/main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ module.exports = {
3636
'../packages/@aetherspace/assets',
3737
'../apps/next/public',
3838
],
39+
// typesript: {
40+
// reactDocgen: 'react-docgen-typescript-plugin',
41+
// },
3942
webpackFinal: (config) => {
4043
// Add TS & react-native-web support
4144
config.module.rules.push({

apps/expo/app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"slug": "codinsonn-dot-dev",
55
"version": "1.0.0",
66
"privacy": "public",
7-
"sdkVersion": "48.0.0",
7+
"sdkVersion": "49.0.0",
88
"orientation": "default",
99
"icon": "../next/public/icon.png",
1010
"description": "Personal Website for @codinsonn.dev, built with the GREEN stack, Aetherspace, Expo & Next.js",

apps/expo/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
import 'expo/build/Expo.fx';
55
import 'expo/build/Expo.fx.web';
66
import { activateKeepAwakeAsync } from 'expo-keep-awake';
7+
import { Logs } from 'expo';
78

89
/* --- Start ----------------------------------------------------------------------------------- */
910
// -i- Expo Router setup
1011
import 'expo-router/entry';
1112

13+
if (__DEV__) Logs.disableExpoCliLogging();
1214
if (__DEV__) activateKeepAwakeAsync();

apps/expo/package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,31 +24,31 @@
2424
"preset": "jest-expo"
2525
},
2626
"dependencies": {
27-
"@react-navigation/core": "^6.4.7",
28-
"@react-navigation/native": "^6.1.5",
29-
"@react-navigation/stack": "^6.3.15",
27+
"@react-navigation/core": "^6.4.9",
28+
"@react-navigation/native": "^6.1.7",
29+
"@react-navigation/stack": "^6.3.17",
3030
"app": "*",
31-
"expo": "~48.0.19",
32-
"expo-font": "~11.1.1",
33-
"expo-image": "~1.2.3",
34-
"expo-router": "^1.5.3",
35-
"expo-status-bar": "~1.4.4",
36-
"expo-updates": "~0.16.4",
31+
"expo": "^49.0.0",
32+
"expo-font": "~11.4.0",
33+
"expo-image": "~1.3.1",
34+
"expo-router": "^2.0.0",
35+
"expo-status-bar": "~1.6.0",
36+
"expo-updates": "~0.18.8",
3737
"react": "18.2.0",
3838
"react-dom": "18.2.0",
39-
"react-native": "0.71.3",
40-
"react-native-gesture-handler": "~2.9.0",
41-
"react-native-reanimated": "~2.14.4",
42-
"react-native-safe-area-context": "4.5.0",
43-
"react-native-screens": "~3.20.0",
44-
"react-native-svg": "13.4.0",
45-
"react-native-web": "~0.18.10",
39+
"react-native": "0.72.1",
40+
"react-native-gesture-handler": "2.12.0",
41+
"react-native-reanimated": "3.3.0",
42+
"react-native-safe-area-context": "4.6.3",
43+
"react-native-screens": "3.22.1",
44+
"react-native-svg": "13.9.0",
45+
"react-native-web": "~0.19.6",
4646
"registries": "*"
4747
},
4848
"devDependencies": {
4949
"@expo/webpack-config": "^0.17.2",
50-
"@types/react": "~18.0.14",
51-
"dotenv": "^16.0.3",
50+
"@types/react": "18.0.27",
51+
"dotenv": "^16.3.1",
5252
"typescript": "^4.9.4"
5353
}
5454
}

apps/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"app": "*",
2020
"encoding": "^0.1.13",
2121
"expo-asset-web": "npm:expo-asset@8.7.0",
22-
"next": "^13.4.7",
22+
"next": "^13.4.8",
2323
"next-fonts": "^1.5.1",
2424
"next-images": "^1.8.5",
2525
"next-pwa": "^5.6.0",

features/app-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"cors": "^2.8.5",
1414
"links-page": "*",
1515
"registries": "*",
16-
"swr": "^2.0.0"
16+
"swr": "^2.2.0"
1717
}
1818
}

features/app-core/screens/ErrorBoundary.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable react-native-a11y/has-valid-accessibility-descriptors */
12
import { H1 } from 'aetherspace/html-elements'
23
import { Pressable, Text, View } from 'aetherspace/primitives'
34
import React from 'react'
@@ -39,7 +40,7 @@ class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBoundarySta
3940
<View tw="w-full h-full min-h-full min-w-full items-center justify-center">
4041
<H1 tw="mb-4">Hmm, something went wrong</H1>
4142
<Pressable
42-
accessibilityRole="button"
43+
role="button"
4344
tw="p-4 bg-slate-800 rounded-md text-white"
4445
onPress={() => this.setState({ hasError: false })}
4546
>

features/links-page/components/BioLink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const BioLink = (props: AetherProps<typeof BioLinkProps>) => {
2626
// -- Render --
2727

2828
return (
29-
<StLinkWrapper accessibilityRole="button" onPress={() => openLink(link)}>
29+
<StLinkWrapper role="button" onPress={() => openLink(link)}>
3030
<StImageWrapper>
3131
<Link href={link}>
3232
<Image

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@storybook/manager-webpack5": "^6.5.16",
3030
"@storybook/mdx2-csf": "^0.0.4",
3131
"@storybook/react": "^6.5.16",
32-
"@turbo/gen": "^1.10.3",
32+
"@turbo/gen": "^1.10.7",
3333
"@typescript-eslint/eslint-plugin": "^5.54.1",
3434
"@typescript-eslint/parser": "^5.54.1",
3535
"chromatic": "^6.17.1",
@@ -45,16 +45,17 @@
4545
"patch-package": "^7.0.0",
4646
"prettier": "^2.8.4",
4747
"prettier-eslint": "^15.0.1",
48-
"turbo": "^1.10.2",
48+
"react-docgen-typescript-plugin": "^1.0.5",
49+
"turbo": "^1.10.7",
4950
"webpack": "*",
50-
"webpack-merge": "^5.8.0"
51+
"webpack-merge": "^5.9.0"
5152
},
5253
"resolutions": {
53-
"typescript": "^4.9.5",
54+
"typescript": "^4.9.4",
5455
"zod": "~3.20.6",
5556
"@babel/core": "^7.20.0",
5657
"@expo/config": "^7.0.2",
57-
"@types/react": "~18.0.28",
58+
"@types/react": "18.0.27",
5859
"@expo/webpack-config": "^0.17.2"
5960
},
6061
"scripts": {

packages/@aetherspace/hooks/useAetherStyles/useAetherStyles.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { addMediaQuery } from '../../styles/aetherQueries'
1111

1212
export type StylePropsType<C extends JSXElementConstructor<any>> = TAetherStyleProps & {
1313
style?: ComponentProps<C>['style']
14-
nativeID?: string
14+
id?: string
1515
children?: any
1616
}
1717

@@ -89,7 +89,7 @@ const useAetherStyles = <
8989

9090
// -- bindStyles --
9191

92-
const bindStyles = { style: styles, ...(mediaIds ? { nativeID: mediaIds } : {}) }
92+
const bindStyles = { style: styles, ...(mediaIds ? { id: mediaIds } : {}) }
9393

9494
// -- Return --
9595

0 commit comments

Comments
 (0)