diff --git a/.github/workflows/native-build.yml b/.github/workflows/native-build.yml index 86330a40..7b1817b7 100644 --- a/.github/workflows/native-build.yml +++ b/.github/workflows/native-build.yml @@ -47,7 +47,7 @@ jobs: - name: Parse Asset URL id: url run: | - ASSET_URL=$(grep -oe 'https?://expo\.io/artifacts/[^ ]+' log.txt) + ASSET_URL=$(grep -oe 'https://expo.dev/artifacts/eas/.*' log.txt) echo The android url is $ASSET_URL echo "assetUrl=$ASSET_URL" >> $GITHUB_OUTPUT @@ -58,11 +58,3 @@ jobs: with: name: kyoo.apk path: ./front/kyoo.apk - - - name: Upload Release Asset - uses: svenstaro/upload-release-action@v2 - with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: ./example-${{ env.GITHUB_REF_SLUG }}.apk - asset_name: example-${{ env.GITHUB_REF_SLUG }}.apk - tag: ${{ github.ref }} diff --git a/front/apps/mobile/package.json b/front/apps/mobile/package.json index e66b3c9c..7bdc83bc 100644 --- a/front/apps/mobile/package.json +++ b/front/apps/mobile/package.json @@ -7,8 +7,8 @@ "android": "expo start --android", "ios": "expo start --ios", "web": "expo start --web", - "build": "eas build --profile production --platform android", - "build:dev": "eas build --profile development --platform android", + "build": "eas build --profile production --platform android --non-interactive", + "build:dev": "eas build --profile development --platform android --non-interactive", "update": "eas update --auto --channel prod" }, "dependencies": { @@ -44,7 +44,7 @@ "react-native-screens": "~3.18.0", "react-native-svg": "13.4.0", "react-native-video": "alpha", - "yoshiki": "0.3.5" + "yoshiki": "0.4.5" }, "devDependencies": { "@babel/core": "^7.19.3", diff --git a/front/apps/web/package.json b/front/apps/web/package.json index ac24b601..ab3d5fce 100644 --- a/front/apps/web/package.json +++ b/front/apps/web/package.json @@ -36,7 +36,7 @@ "react-native-web": "^0.18.10", "solito": "^2.0.5", "superjson": "^1.11.0", - "yoshiki": "0.3.5", + "yoshiki": "0.4.5", "zod": "^3.19.1" }, "devDependencies": { diff --git a/front/packages/primitives/src/themes/theme.tsx b/front/packages/primitives/src/themes/theme.tsx index 3517eadb..04663ea1 100644 --- a/front/packages/primitives/src/themes/theme.tsx +++ b/front/packages/primitives/src/themes/theme.tsx @@ -97,9 +97,9 @@ const selectMode = ( } // eslint-disable-next-line react-hooks/rules-of-hooks - const auto = useAutomaticTheme({ light, dark }); + const auto = useAutomaticTheme("theme", { light, dark }); // eslint-disable-next-line react-hooks/rules-of-hooks - const alternate = useAutomaticTheme({ dark: light, light: dark }); + const alternate = useAutomaticTheme("alternate", { dark: light, light: dark }); return { ...options, ...auto, diff --git a/front/yarn.lock b/front/yarn.lock index f4eda712..9c8b141a 100644 --- a/front/yarn.lock +++ b/front/yarn.lock @@ -10239,7 +10239,7 @@ __metadata: react-native-svg-transformer: ^1.0.0 react-native-video: alpha typescript: ^4.6.3 - yoshiki: 0.3.5 + yoshiki: 0.4.5 languageName: unknown linkType: soft @@ -10631,13 +10631,6 @@ __metadata: languageName: node linkType: hard -"object-hash@npm:^3.0.0": - version: 3.0.0 - resolution: "object-hash@npm:3.0.0" - checksum: 80b4904bb3857c52cc1bfd0b52c0352532ca12ed3b8a6ff06a90cd209dfda1b95cee059a7625eb9da29537027f68ac4619363491eedb2f5d3dddbba97494fd6c - languageName: node - linkType: hard - "object-inspect@npm:^1.12.2, object-inspect@npm:^1.9.0": version: 1.12.2 resolution: "object-inspect@npm:1.12.2" @@ -13971,7 +13964,7 @@ __metadata: superjson: ^1.11.0 typescript: ^4.9.3 webpack: ^5.75.0 - yoshiki: 0.3.5 + yoshiki: 0.4.5 zod: ^3.19.1 languageName: unknown linkType: soft @@ -14317,15 +14310,14 @@ __metadata: languageName: node linkType: hard -"yoshiki@npm:0.3.5": - version: 0.3.5 - resolution: "yoshiki@npm:0.3.5" +"yoshiki@npm:0.4.5": + version: 0.4.5 + resolution: "yoshiki@npm:0.4.5" dependencies: "@types/node": 18.x.x "@types/react": 18.x.x "@types/react-native": ">= 0.70.0" inline-style-prefixer: ^7.0.0 - object-hash: ^3.0.0 peerDependencies: react: "*" react-native: "*" @@ -14335,7 +14327,7 @@ __metadata: optional: true react-native-web: optional: true - checksum: 3ef90cbd97d48ec70f7361ce11ec6e44ba3a55dda95d626f828d57a3f0d52eb871688e32245d974fe5e962ee6037261610add5946852416f2fc37999b7d2a9d2 + checksum: 0b2e6576ab0ddf8730da7b38feaa84943728f3c28e07d7472e080da5a9941513a6624dac529918f0efab2bd4bdaac9e4f3dba002f98253a3e26c6be5b32c4e63 languageName: node linkType: hard