Update react native & expo to beta

This commit is contained in:
Zoe Roux 2024-10-29 16:37:31 +01:00
parent d8ee47a951
commit dc3aa20feb
No known key found for this signature in database
8 changed files with 3168 additions and 1472 deletions

View File

@ -43,6 +43,7 @@ const config: ExpoConfig = {
version: "1.0.0", version: "1.0.0",
orientation: "default", orientation: "default",
icon: "./assets/icon.png", icon: "./assets/icon.png",
newArchEnabled: true,
userInterfaceStyle: "automatic", userInterfaceStyle: "automatic",
splash, splash,
assetBundlePatterns: ["**/*"], assetBundlePatterns: ["**/*"],
@ -72,6 +73,9 @@ const config: ExpoConfig = {
plugins: [ plugins: [
"expo-build-properties", "expo-build-properties",
"expo-localization", "expo-localization",
"expo-font",
"expo-router",
"expo-secure-store",
[ [
"react-native-video", "react-native-video",
{ {

View File

@ -15,56 +15,56 @@
}, },
"dependencies": { "dependencies": {
"@expo-google-fonts/poppins": "^0.2.3", "@expo-google-fonts/poppins": "^0.2.3",
"@formatjs/intl-displaynames": "^6.6.8", "@formatjs/intl-displaynames": "^6.8.1",
"@formatjs/intl-locale": "^4.0.0", "@formatjs/intl-locale": "^4.2.1",
"@gorhom/portal": "^1.0.14", "@gorhom/portal": "^1.0.14",
"@kesha-antonov/react-native-background-downloader": "^3.2.0", "@kesha-antonov/react-native-background-downloader": "^3.2.1",
"@kyoo/ui": "workspace:^", "@kyoo/ui": "workspace:^",
"@material-symbols/svg-400": "^0.22.0", "@material-symbols/svg-400": "^0.25.2",
"@react-native-community/netinfo": "11.3.2", "@react-native-community/netinfo": "11.4.1",
"@shopify/flash-list": "1.7.1", "@shopify/flash-list": "1.7.1",
"@tanstack/query-sync-storage-persister": "^5.51.21", "@tanstack/query-sync-storage-persister": "^5.59.16",
"@tanstack/react-query": "^5.51.23", "@tanstack/react-query": "^5.59.16",
"@tanstack/react-query-persist-client": "^5.51.23", "@tanstack/react-query-persist-client": "^5.59.16",
"array-shuffle": "^3.0.0", "array-shuffle": "^3.0.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.4", "babel-plugin-transform-inline-environment-variables": "^0.4.4",
"expo": "^51.0.26", "expo": "next",
"expo-build-properties": "~0.12.5", "expo-build-properties": "~0.13.1",
"expo-constants": "~16.0.2", "expo-constants": "~17.0.2",
"expo-dev-client": "~4.0.22", "expo-dev-client": "~5.0.0-preview.2",
"expo-file-system": "~17.0.1", "expo-file-system": "~18.0.0",
"expo-font": "~12.0.9", "expo-font": "~13.0.0",
"expo-image-picker": "~15.0.7", "expo-image-picker": "~16.0.0",
"expo-linear-gradient": "~13.0.2", "expo-linear-gradient": "~14.0.1",
"expo-linking": "~6.3.1", "expo-linking": "~7.0.2",
"expo-localization": "~15.0.3", "expo-localization": "~16.0.0",
"expo-navigation-bar": "~3.0.7", "expo-navigation-bar": "~4.0.1",
"expo-router": "3.5.21", "expo-router": "~4.0.0-preview.5",
"expo-screen-orientation": "~7.0.5", "expo-screen-orientation": "~8.0.0",
"expo-secure-store": "~13.0.2", "expo-secure-store": "~14.0.0",
"expo-status-bar": "~1.12.1", "expo-status-bar": "~2.0.0",
"expo-updates": "~0.25.22", "expo-updates": "~0.26.2",
"i18next": "^23.12.2", "i18next": "^23.16.4",
"intl-pluralrules": "^2.0.1", "intl-pluralrules": "^2.0.1",
"moti": "^0.29.0", "moti": "^0.29.0",
"react": "18.3.1", "react": "18.3.1",
"react-i18next": "^15.0.1", "react-i18next": "^15.1.0",
"react-native": "0.74.5", "react-native": "0.76.0",
"react-native-blurhash": "^2.0.3", "react-native-blurhash": "^2.0.3",
"react-native-fast-image": "^8.6.3", "react-native-fast-image": "^8.6.3",
"react-native-mmkv": "^2.12.2", "react-native-mmkv": "^3.1.0",
"react-native-reanimated": "~3.15.0", "react-native-reanimated": "~3.16.1",
"react-native-safe-area-context": "4.10.8", "react-native-safe-area-context": "4.12.0",
"react-native-screens": "3.34.0", "react-native-screens": "4.0.0-beta.14",
"react-native-svg": "15.2.0", "react-native-svg": "15.8.0",
"react-native-uuid": "^2.0.2", "react-native-uuid": "^2.0.2",
"react-native-video": "^6.4.3", "react-native-video": "^6.7.0",
"yoshiki": "1.2.14" "yoshiki": "1.2.14"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.25.2", "@babel/core": "^7.26.0",
"react-native-svg-transformer": "^1.5.0", "react-native-svg-transformer": "^1.5.0",
"typescript": "~5.5.4" "typescript": "~5.6.3"
}, },
"installConfig": { "installConfig": {
"hoistingLimits": "workspaces" "hoistingLimits": "workspaces"

View File

@ -2,7 +2,9 @@
"name": "web", "name": "web",
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"sideEffects": ["./src/polyfill.ts"], "sideEffects": [
"./src/polyfill.ts"
],
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build",
@ -16,45 +18,45 @@
"@kyoo/models": "workspace:^", "@kyoo/models": "workspace:^",
"@kyoo/primitives": "workspace:^", "@kyoo/primitives": "workspace:^",
"@kyoo/ui": "workspace:^", "@kyoo/ui": "workspace:^",
"@material-symbols/svg-400": "^0.22.0", "@material-symbols/svg-400": "^0.25.2",
"@radix-ui/react-dropdown-menu": "^2.1.1", "@radix-ui/react-dropdown-menu": "^2.1.2",
"@radix-ui/react-select": "^2.1.1", "@radix-ui/react-select": "^2.1.2",
"@tanstack/react-query": "^5.51.23", "@tanstack/react-query": "^5.59.16",
"@tanstack/react-query-devtools": "^5.51.23", "@tanstack/react-query-devtools": "^5.59.16",
"array-shuffle": "^3.0.0", "array-shuffle": "^3.0.0",
"expo-image-picker": "~15.0.7", "expo-image-picker": "~15.0.7",
"expo-linear-gradient": "^13.0.2", "expo-linear-gradient": "^13.0.2",
"expo-modules-core": "^1.12.20", "expo-modules-core": "^1.12.26",
"hls.js": "^1.5.14", "hls.js": "^1.5.17",
"i18next": "^23.12.2", "i18next": "^23.16.4",
"jassub": "1.7.15", "jassub": "1.7.17",
"jotai": "^2.9.2", "jotai": "^2.10.1",
"moti": "^0.29.0", "moti": "^0.29.0",
"next": "14.2.5", "next": "15.0.1",
"next-translate": "^2.6.2", "next-translate": "^2.6.2",
"raf": "^3.4.1", "raf": "^3.4.1",
"react": "18.3.1", "react": "18.3.1",
"react-dom": "18.3.1", "react-dom": "18.3.1",
"react-i18next": "^15.0.1", "react-i18next": "^15.1.0",
"react-native-reanimated": "3.15.0", "react-native-reanimated": "3.16.1",
"react-native-svg": "15.2.0", "react-native-svg": "15.8.0",
"react-native-video": "^6.4.3", "react-native-video": "^6.7.0",
"react-native-web": "0.19.12", "react-native-web": "0.19.13",
"react-tooltip": "^5.28.0", "react-tooltip": "^5.28.0",
"solito": "^4.2.2", "solito": "^4.2.2",
"srt-webvtt": "zoriya/srt-webvtt#build", "srt-webvtt": "zoriya/srt-webvtt#build",
"superjson": "^2.2.1", "superjson": "^2.2.1",
"sweetalert2": "^11.12.4", "sweetalert2": "^11.14.4",
"yoshiki": "1.2.14", "yoshiki": "1.2.14",
"zod": "^3.23.8" "zod": "^3.23.8"
}, },
"devDependencies": { "devDependencies": {
"@svgr/webpack": "^8.1.0", "@svgr/webpack": "^8.1.0",
"@types/node": "22.2.0", "@types/node": "22.8.2",
"@types/react-dom": "18.3.0", "@types/react-dom": "18.3.1",
"copy-webpack-plugin": "^12.0.2", "copy-webpack-plugin": "^12.0.2",
"react-native": "0.74.5", "react-native": "0.76.1",
"typescript": "^5.5.4", "typescript": "^5.6.3",
"webpack": "^5.93.0" "webpack": "^5.95.0"
} }
} }

View File

@ -15,10 +15,13 @@
"format": "biome format .", "format": "biome format .",
"format:fix": "biome format . --write" "format:fix": "biome format . --write"
}, },
"workspaces": ["apps/*", "packages/*"], "workspaces": [
"apps/*",
"packages/*"
],
"devDependencies": { "devDependencies": {
"@biomejs/biome": "1.8.3", "@biomejs/biome": "1.9.4",
"typescript": "5.5.4" "typescript": "5.6.3"
}, },
"packageManager": "yarn@3.2.4" "packageManager": "yarn@3.2.4"
} }

View File

@ -5,8 +5,8 @@
"sideEffects": false, "sideEffects": false,
"packageManager": "yarn@3.2.4", "packageManager": "yarn@3.2.4",
"devDependencies": { "devDependencies": {
"react-native-mmkv": "^2.12.2", "react-native-mmkv": "^3.1.0",
"typescript": "^5.5.4" "typescript": "^5.6.3"
}, },
"peerDependencies": { "peerDependencies": {
"@tanstack/react-query": "*", "@tanstack/react-query": "*",

View File

@ -6,7 +6,7 @@
"packageManager": "yarn@3.2.4", "packageManager": "yarn@3.2.4",
"devDependencies": { "devDependencies": {
"@gorhom/portal": "^1.0.14", "@gorhom/portal": "^1.0.14",
"typescript": "^5.5.4" "typescript": "^5.6.3"
}, },
"peerDependencies": { "peerDependencies": {
"@gorhom/portal": "*", "@gorhom/portal": "*",
@ -53,14 +53,14 @@
}, },
"dependencies": { "dependencies": {
"@expo/html-elements": "^0.10.1", "@expo/html-elements": "^0.10.1",
"@tanstack/react-query": "^5.51.23", "@tanstack/react-query": "^5.59.16",
"solito": "^4.2.2" "solito": "^4.2.2"
}, },
"optionalDependencies": { "optionalDependencies": {
"@radix-ui/react-select": "^2.1.1", "@radix-ui/react-select": "^2.1.2",
"blurhash": "^2.0.5", "blurhash": "^2.0.5",
"react-native-blurhash": "^2.0.3", "react-native-blurhash": "^2.0.3",
"react-native-fast-image": "^8.6.3", "react-native-fast-image": "^8.6.3",
"react-native-safe-area-context": "4.10.8" "react-native-safe-area-context": "4.12.0"
} }
} }

View File

@ -13,7 +13,7 @@
"@shopify/flash-list": "^1.7.1", "@shopify/flash-list": "^1.7.1",
"@types/langmap": "^0.0.3", "@types/langmap": "^0.0.3",
"react-native-uuid": "^2.0.2", "react-native-uuid": "^2.0.2",
"typescript": "^5.5.4" "typescript": "^5.6.3"
}, },
"peerDependencies": { "peerDependencies": {
"@gorhom/portal": "*", "@gorhom/portal": "*",
@ -35,9 +35,9 @@
"yoshiki": "*" "yoshiki": "*"
}, },
"optionalDependencies": { "optionalDependencies": {
"@kesha-antonov/react-native-background-downloader": "^3.2.0", "@kesha-antonov/react-native-background-downloader": "^3.2.1",
"expo-file-system": "^17.0.1", "expo-file-system": "^17.0.1",
"expo-router": "^3.5.21" "expo-router": "^3.5.23"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"@kesha-antonov/react-native-background-downloader": { "@kesha-antonov/react-native-background-downloader": {

File diff suppressed because it is too large Load Diff