diff --git a/front/apps/mobile/package.json b/front/apps/mobile/package.json index a0f2980e..b3515a8f 100644 --- a/front/apps/mobile/package.json +++ b/front/apps/mobile/package.json @@ -26,7 +26,6 @@ "expo-constants": "~14.4.2", "expo-dev-client": "~2.4.6", "expo-font": "~11.4.0", - "expo-image": "~1.3.2", "expo-linear-gradient": "~12.3.0", "expo-linking": "~5.0.2", "expo-localization": "~14.3.0", @@ -43,6 +42,7 @@ "react-dom": "18.2.0", "react-i18next": "^13.0.3", "react-native": "0.72.3", + "react-native-blurhash": "^1.1.11", "react-native-mmkv": "^2.10.1", "react-native-reanimated": "~3.3.0", "react-native-safe-area-context": "4.6.3", diff --git a/front/apps/web/next.config.js b/front/apps/web/next.config.js index 48c7ed06..abeb7f64 100755 --- a/front/apps/web/next.config.js +++ b/front/apps/web/next.config.js @@ -108,7 +108,6 @@ const nextConfig = { "yoshiki", "@expo/vector-icons", "@expo/html-elements", - "expo-image", "expo-font", "expo-asset", "expo-av", diff --git a/front/apps/web/package.json b/front/apps/web/package.json index 35b4d043..c192166a 100644 --- a/front/apps/web/package.json +++ b/front/apps/web/package.json @@ -17,7 +17,6 @@ "@material-symbols/svg-400": "^0.10.3", "@radix-ui/react-dropdown-menu": "^2.0.5", "@tanstack/react-query": "^4.32.6", - "expo-image": "^1.3.2", "expo-linear-gradient": "^12.4.0", "expo-modules-core": "^1.5.9", "hls.js": "^1.4.10", diff --git a/front/packages/primitives/package.json b/front/packages/primitives/package.json index 4b9015d2..38593da8 100644 --- a/front/packages/primitives/package.json +++ b/front/packages/primitives/package.json @@ -16,6 +16,7 @@ "moti": "*", "react": "*", "react-native": "*", + "react-native-blurhash": "*", "react-native-reanimated": "*", "react-native-svg": "*", "yoshiki": "*" @@ -27,6 +28,9 @@ "@radix-ui/react-dropdown-menu": { "optional": true }, + "react-native-blurhash": { + "optional": true + }, "react-native-web": { "optional": true } @@ -34,7 +38,6 @@ "dependencies": { "@expo/html-elements": "^0.5.1", "@tanstack/react-query": "^4.32.6", - "expo-image": "^1.3.2", "solito": "^4.0.1" } } diff --git a/front/packages/ui/package.json b/front/packages/ui/package.json index 8d7cee72..f2f2f5e2 100644 --- a/front/packages/ui/package.json +++ b/front/packages/ui/package.json @@ -5,8 +5,7 @@ "packageManager": "yarn@3.2.4", "dependencies": { "@kyoo/models": "workspace:^", - "@kyoo/primitives": "workspace:^", - "expo-image": "^1.3.2" + "@kyoo/primitives": "workspace:^" }, "devDependencies": { "@shopify/flash-list": "^1.5.0", diff --git a/front/yarn.lock b/front/yarn.lock index 931875cd..17920d5c 100644 --- a/front/yarn.lock +++ b/front/yarn.lock @@ -2525,7 +2525,6 @@ __metadata: "@gorhom/portal": ^1.0.14 "@tanstack/react-query": ^4.32.6 "@types/react": 18.2.0 - expo-image: ^1.3.2 solito: ^4.0.1 typescript: ^5.1.6 peerDependencies: @@ -2536,6 +2535,7 @@ __metadata: moti: "*" react: "*" react-native: "*" + react-native-blurhash: "*" react-native-reanimated: "*" react-native-svg: "*" yoshiki: "*" @@ -2544,6 +2544,8 @@ __metadata: optional: true "@radix-ui/react-dropdown-menu": optional: true + react-native-blurhash: + optional: true react-native-web: optional: true languageName: unknown @@ -2557,7 +2559,6 @@ __metadata: "@kyoo/primitives": "workspace:^" "@shopify/flash-list": ^1.5.0 "@types/react": 18.2.0 - expo-image: ^1.3.2 react-native-uuid: ^2.0.1 typescript: ^5.1.6 peerDependencies: @@ -7115,24 +7116,6 @@ __metadata: languageName: node linkType: hard -"expo-image@npm:^1.3.2": - version: 1.4.1 - resolution: "expo-image@npm:1.4.1" - peerDependencies: - expo: "*" - checksum: 8eda22cba8ec12f647532b5562913c33adb2e206a4cea426e2d7325c34ab7b3fcb2d1effbf4e0b5df685dfd156e435d4429873a1ceb966e73885944cb6634005 - languageName: node - linkType: hard - -"expo-image@npm:~1.3.2": - version: 1.3.2 - resolution: "expo-image@npm:1.3.2" - peerDependencies: - expo: "*" - checksum: 848cfe17b7d2051c87064c1fb0b646af1d91bf906299e0c8fc3772111cf81d0b2756a27877ef9350aee31a11adf3bf17aa37d71363409eb70e2e8831e255ed7f - languageName: node - linkType: hard - "expo-json-utils@npm:~0.7.0": version: 0.7.1 resolution: "expo-json-utils@npm:0.7.1" @@ -10551,7 +10534,6 @@ __metadata: expo-constants: ~14.4.2 expo-dev-client: ~2.4.6 expo-font: ~11.4.0 - expo-image: ~1.3.2 expo-linear-gradient: ~12.3.0 expo-linking: ~5.0.2 expo-localization: ~14.3.0 @@ -10568,6 +10550,7 @@ __metadata: react-dom: 18.2.0 react-i18next: ^13.0.3 react-native: 0.72.3 + react-native-blurhash: ^1.1.11 react-native-mmkv: ^2.10.1 react-native-reanimated: ~3.3.0 react-native-safe-area-context: 4.6.3 @@ -11875,6 +11858,16 @@ __metadata: languageName: node linkType: hard +"react-native-blurhash@npm:^1.1.11": + version: 1.1.11 + resolution: "react-native-blurhash@npm:1.1.11" + peerDependencies: + react: ">=16.8.1" + react-native: ">=0.60.0-rc.0 <1.0.x" + checksum: 45d78d14faf5aa8410550d0e3c86fa565bc6726cb425c1fd0b856304841c6210d70c9ef2527e3b82692cc5da51afcdc43643469518ee9a5bd0696a96cdefc524 + languageName: node + linkType: hard + "react-native-mmkv@npm:^2.10.1": version: 2.10.1 resolution: "react-native-mmkv@npm:2.10.1" @@ -14239,7 +14232,6 @@ __metadata: copy-webpack-plugin: ^11.0.0 eslint: ^8.46.0 eslint-config-next: 13.4.13 - expo-image: ^1.3.2 expo-linear-gradient: ^12.4.0 expo-modules-core: ^1.5.9 hls.js: ^1.4.10