Install tvos package

This commit is contained in:
Zoe Roux 2023-01-09 02:19:48 +09:00
parent bf73f0ce5c
commit 249d87bda3
No known key found for this signature in database
GPG Key ID: B2AB52A2636E5C46
5 changed files with 640 additions and 367 deletions

View File

@ -34,11 +34,13 @@
"expo-updates": "~0.15.6", "expo-updates": "~0.15.6",
"i18next": "^22.0.6", "i18next": "^22.0.6",
"intl-pluralrules": "^1.3.1", "intl-pluralrules": "^1.3.1",
"metro": "^0.73.1",
"metro-resolver": "^0.73.1",
"moti": "^0.21.0", "moti": "^0.21.0",
"react": "18.1.0", "react": "18.1.0",
"react-dom": "18.1.0", "react-dom": "18.1.0",
"react-i18next": "^12.0.0", "react-i18next": "^12.0.0",
"react-native": "0.70.5", "react-native": "npm:react-native-tvos@latest",
"react-native-reanimated": "~2.12.0", "react-native-reanimated": "~2.12.0",
"react-native-safe-area-context": "4.4.1", "react-native-safe-area-context": "4.4.1",
"react-native-screens": "~3.18.0", "react-native-screens": "~3.18.0",
@ -53,6 +55,10 @@
"react-native-svg-transformer": "^1.0.0", "react-native-svg-transformer": "^1.0.0",
"typescript": "^4.6.3" "typescript": "^4.6.3"
}, },
"overrides": {
"metro": "^0.73.1",
"metro-resolver": "^0.73.1"
},
"installConfig": { "installConfig": {
"hoistingLimits": "workspaces" "hoistingLimits": "workspaces"
}, },

View File

@ -37,5 +37,9 @@
"prettier-plugin-jsdoc": "^0.4.2", "prettier-plugin-jsdoc": "^0.4.2",
"typescript": "4.9.3" "typescript": "4.9.3"
}, },
"resolutions": {
"metro": "^0.73.1",
"metro-resolver": "^0.73.1"
},
"packageManager": "yarn@3.2.4" "packageManager": "yarn@3.2.4"
} }

View File

@ -0,0 +1,21 @@
/*
* Kyoo - A portable and vast media library solution.
* Copyright (c) Kyoo.
*
* See AUTHORS.md and LICENSE file in the project root for full license information.
*
* Kyoo is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* Kyoo is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Kyoo. If not, see <https://www.gnu.org/licenses/>.
*/
import "react-native/tvos-types.d";

View File

@ -25,6 +25,11 @@ declare module "react-native" {
interface ViewProps { interface ViewProps {
dataSet?: Record<string, string>; dataSet?: Record<string, string>;
} }
interface PressableStateCallbackType {
readonly hovered?: boolean;
readonly focused?: boolean;
}
} }
declare module "react" { declare module "react" {

File diff suppressed because it is too large Load Diff