Skip to content

Commit

Permalink
Merge branch 'main' into @jfedak/macos-rotation-velocity
Browse files Browse the repository at this point in the history
  • Loading branch information
jfedak authored Feb 8, 2024
2 parents 8954f04 + 2e5df1c commit 54243d9
Show file tree
Hide file tree
Showing 70 changed files with 1,595 additions and 1,294 deletions.
7 changes: 6 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["./tsconfig.json", "./example/tsconfig.json", "./FabricExample/tsconfig.json"]
"project": [
"./tsconfig.json",
"./example/tsconfig.json",
"./FabricExample/tsconfig.json"
]
},
"env": { "browser": true, "node": true, "jest/globals": true },
"plugins": ["jest"],
Expand All @@ -32,6 +36,7 @@
"@typescript-eslint/no-unsafe-call": "warn",
"@typescript-eslint/no-unsafe-assignment": "warn",
"@typescript-eslint/no-unsafe-return": "warn",
"@typescript-eslint/ban-types": "warn",

// common
"@typescript-eslint/explicit-module-boundary-types": "off",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ios-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
run: pod install
- name: Build app
working-directory: ${{ matrix.working-directory }}
run: yarn ios --simulator=\"iPhone 11\" --mode Debug
run: yarn ios --simulator=\"iPhone 14\" --mode Debug --verbose --terminal /bin/zsh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ class MainApplication : Application(), ReactApplication {

override val reactNativeHost: ReactNativeHost =
object : DefaultReactNativeHost(this) {
override fun getPackages(): List<ReactPackage> {
// Packages that cannot be autolinked yet can be added manually here, for example:
// packages.add(new MyReactNativePackage());
return PackageList(this).packages
}
override fun getPackages(): List<ReactPackage> =
PackageList(this).packages.apply {
// Packages that cannot be autolinked yet can be added manually here, for example:
// add(MyReactNativePackage())
}

override fun getJSMainModuleName(): String = "index"

Expand Down
2 changes: 2 additions & 0 deletions FabricExample/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ buildscript {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
}
}

apply plugin: "com.facebook.react.rootproject"
Loading

0 comments on commit 54243d9

Please sign in to comment.