Compare commits

..

7 Commits

Author SHA1 Message Date
Adrian Castro
ac4e5cc6bd fix: temporarily pin openssl pod until new quick crypto release 2024-04-20 03:10:51 +02:00
Jorrin
0820e5b7c7 Update package.json 2024-04-20 00:57:54 +02:00
Jorrin
1e7f3b9dc0 update pnpm to v9 2024-04-20 00:56:12 +02:00
Jorrin
59f27b0397 update node in action 2024-04-20 00:54:06 +02:00
Jorrin
c1e3d91d84 that didnt work 2024-04-20 00:50:03 +02:00
Jorrin
aeeb34db0f weird typescript thing 2024-04-20 00:45:56 +02:00
Jorrin
61076b344f Update tsconfig.json 2024-04-20 00:43:09 +02:00
9 changed files with 128 additions and 108 deletions

View File

@@ -24,14 +24,14 @@ jobs:
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
version: 9
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 21
cache: "pnpm"
node-version: 21
cache: "pnpm"
- name: Set up JDK 17
uses: actions/setup-java@v4
@@ -45,7 +45,7 @@ jobs:
- name: Cache Node Modules
uses: actions/cache@v4
with:
path: '**/node_modules'
path: "**/node_modules"
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Install dependencies
@@ -78,7 +78,7 @@ jobs:
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
version: 9
run_install: false
- name: Install Node.js
@@ -90,7 +90,7 @@ jobs:
- name: Cache Node Modules
uses: actions/cache@v4
with:
path: '**/node_modules'
path: "**/node_modules"
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Install dependencies

View File

@@ -20,7 +20,7 @@ jobs:
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
version: 9
run_install: false
- name: Install Node.js
@@ -41,7 +41,7 @@ jobs:
- name: Cache Node Modules
uses: actions/cache@v4
with:
path: '**/node_modules'
path: "**/node_modules"
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Install dependencies
@@ -69,7 +69,7 @@ jobs:
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
version: 9
run_install: false
- name: Install Node.js
@@ -81,7 +81,7 @@ jobs:
- name: Cache Node Modules
uses: actions/cache@v4
with:
path: '**/node_modules'
path: "**/node_modules"
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Install dependencies

View File

@@ -42,8 +42,8 @@ jobs:
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: false
version: 9
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
@@ -63,7 +63,7 @@ jobs:
- name: Cache Node Modules
uses: actions/cache@v4
with:
path: '**/node_modules'
path: "**/node_modules"
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Install dependencies
@@ -95,7 +95,7 @@ jobs:
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
version: 9
run_install: false
- name: Install Node.js
@@ -107,7 +107,7 @@ jobs:
- name: Cache Node Modules
uses: actions/cache@v4
with:
path: '**/node_modules'
path: "**/node_modules"
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Install dependencies

View File

@@ -4,90 +4,99 @@ import { version } from "./package.json";
import withRemoveiOSNotificationEntitlement from "./src/plugins/withRemoveiOSNotificationEntitlement";
const defineConfig = (): ExpoConfig => ({
name: "movie-web",
slug: "mw-mobile",
scheme: "movieweb",
version,
icon: "./assets/images/icon.png",
userInterfaceStyle: "automatic",
splash: {
image: "./assets/images/splash.png",
resizeMode: "contain",
backgroundColor: "#000000",
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ["**/*"],
ios: {
bundleIdentifier: "dev.movieweb.app",
supportsTablet: true,
requireFullScreen: true,
infoPlist: {
CFBundleName: "movie-web",
NSPhotoLibraryUsageDescription:
"This app saves videos to the photo library.",
NSAppTransportSecurity: {
NSAllowsArbitraryLoads: true,
},
},
},
android: {
package: "dev.movieweb.app",
permissions: ["WRITE_SETTINGS"],
},
web: {
favicon: "./assets/images/favicon.png",
bundler: "metro",
},
experiments: {
tsconfigPaths: true,
typedRoutes: true,
},
plugins: [
"expo-router",
[withRemoveiOSNotificationEntitlement as unknown as string],
[
"expo-screen-orientation",
{
initialOrientation: "PORTRAIT_UP",
},
],
[
"expo-build-properties",
{
android: {
minSdkVersion: 24,
packagingOptions: {
pickFirst: [
"lib/x86/libcrypto.so",
"lib/x86_64/libcrypto.so",
"lib/armeabi-v7a/libcrypto.so",
"lib/arm64-v8a/libcrypto.so",
],
},
},
},
],
[
"expo-alternate-app-icons",
[
"./assets/images/main.png",
"./assets/images/blue.png",
"./assets/images/gray.png",
"./assets/images/red.png",
"./assets/images/teal.png",
],
],
[
"expo-media-library",
{
photosPermission: "Allow $(PRODUCT_NAME) to access your photos.",
savePhotosPermission: "Allow $(PRODUCT_NAME) to save photos.",
isAccessMediaLocationEnabled: true,
},
],
],
name: "movie-web",
slug: "mw-mobile",
scheme: "movieweb",
version,
icon: "./assets/images/icon.png",
userInterfaceStyle: "automatic",
splash: {
image: "./assets/images/splash.png",
resizeMode: "contain",
backgroundColor: "#000000",
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ["**/*"],
ios: {
bundleIdentifier: "dev.movieweb.app",
supportsTablet: true,
requireFullScreen: true,
infoPlist: {
CFBundleName: "movie-web",
NSPhotoLibraryUsageDescription:
"This app saves videos to the photo library.",
NSAppTransportSecurity: {
NSAllowsArbitraryLoads: true,
},
},
},
android: {
package: "dev.movieweb.app",
permissions: ["WRITE_SETTINGS"],
},
web: {
favicon: "./assets/images/favicon.png",
bundler: "metro",
},
experiments: {
tsconfigPaths: true,
typedRoutes: true,
},
plugins: [
"expo-router",
[withRemoveiOSNotificationEntitlement as unknown as string],
[
"expo-screen-orientation",
{
initialOrientation: "PORTRAIT_UP",
},
],
[
"expo-build-properties",
{
android: {
minSdkVersion: 24,
packagingOptions: {
pickFirst: [
"lib/x86/libcrypto.so",
"lib/x86_64/libcrypto.so",
"lib/armeabi-v7a/libcrypto.so",
"lib/arm64-v8a/libcrypto.so",
],
},
},
},
],
[
"expo-alternate-app-icons",
[
"./assets/images/main.png",
"./assets/images/blue.png",
"./assets/images/gray.png",
"./assets/images/red.png",
"./assets/images/teal.png",
],
],
[
"expo-media-library",
{
photosPermission: "Allow $(PRODUCT_NAME) to access your photos.",
savePhotosPermission: "Allow $(PRODUCT_NAME) to save photos.",
isAccessMediaLocationEnabled: true,
},
],
[
"expo-pod-pinner",
{
"targetName": "movieweb",
"pods": [
{ "OpenSSL-Universal": "1.1.2200" }
]
}
]
],
});
export default defineConfig;

View File

@@ -50,6 +50,7 @@
"expo-media-library": "~15.9.1",
"expo-navigation-bar": "^2.8.1",
"expo-network": "~5.8.0",
"expo-pod-pinner": "^1.0.1",
"expo-router": "~3.4.8",
"expo-screen-orientation": "~6.4.1",
"expo-splash-screen": "~0.26.4",

View File

@@ -1,7 +1,6 @@
{
"extends": ["@movie-web/tsconfig/base.json"],
"compilerOptions": {
"incremental": true,
"allowJs": true,
"baseUrl": ".",
"paths": {

View File

@@ -4,7 +4,7 @@
"engines": {
"node": ">=20.11.0"
},
"packageManager": "pnpm@8.15.0",
"packageManager": "pnpm@9.0.4",
"scripts": {
"build": "turbo build",
"clean": "git clean -xdf node_modules",

7
pnpm-lock.yaml generated
View File

@@ -122,6 +122,9 @@ importers:
expo-network:
specifier: ~5.8.0
version: 5.8.0(expo@50.0.14)
expo-pod-pinner:
specifier: ^1.0.1
version: 1.0.1
expo-router:
specifier: ~3.4.8
version: 3.4.8(expo-constants@15.4.5)(expo-linking@6.2.2)(expo-modules-autolinking@1.10.3)(expo-status-bar@1.11.1)(expo@50.0.14)(react-dom@18.2.0)(react-native-reanimated@3.6.2)(react-native-safe-area-context@4.8.2)(react-native-screens@3.29.0)(react-native@0.73.6)(react@18.2.0)
@@ -7981,6 +7984,10 @@ packages:
expo: 50.0.14(@babel/core@7.23.9)(@react-native/babel-preset@0.73.21)
dev: false
/expo-pod-pinner@1.0.1:
resolution: {integrity: sha512-UeyCRXrI13tjb+rtQkjBjgs+eS1KntAgTRnLoawFdMp8s1T2bOcm9P4cIrFlLHt9aZBLLMdHra1TY6LiMI3+kw==}
dev: false
/expo-router@3.4.8(expo-constants@15.4.5)(expo-linking@6.2.2)(expo-modules-autolinking@1.10.3)(expo-status-bar@1.11.1)(expo@50.0.14)(react-dom@18.2.0)(react-native-reanimated@3.6.2)(react-native-safe-area-context@4.8.2)(react-native-screens@3.29.0)(react-native@0.73.6)(react@18.2.0):
resolution: {integrity: sha512-fOOAWHH4LSPjPFtIZbApxdTNU8xSS8qKvhZ7PfWNMfx9510J1R1Ce/nwENPzcRLHRuVofDsSAEBfi4kV03fJwg==}
peerDependencies:

View File

@@ -4,10 +4,14 @@ description: "Common setup steps for Actions"
runs:
using: composite
steps:
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 9
run_install: false
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 21
cache: "pnpm"
- shell: bash