Skip to content

chore: bump all dependencies #470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions template/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ local.properties
.cxx/
*.keystore
!debug.keystore
.kotlin/

# node.js
#
Expand Down
28 changes: 0 additions & 28 deletions template/.prettierrc.js

This file was deleted.

3 changes: 3 additions & 0 deletions template/.prettierrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
singleQuote: true,
};
1 change: 0 additions & 1 deletion template/.yarnrc.yml

This file was deleted.

1 change: 1 addition & 0 deletions template/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ ruby ">= 2.6.10"
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
gem 'xcodeproj', '< 1.26.0'
gem 'concurrent-ruby', '< 1.3.4'
4 changes: 1 addition & 3 deletions template/__mocks__/TestAppWrapper.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import { queryClient, storage } from '@/App';
import { QueryClientProvider } from '@tanstack/react-query';
import { type PropsWithChildren } from 'react';
import { GestureHandlerRootView } from 'react-native-gesture-handler';

import { ThemeProvider } from '@/theme';

import '@/translations';

import { queryClient, storage } from '@/App';

function TestAppWrapper({ children }: PropsWithChildren) {
return (
<GestureHandlerRootView>
Expand Down
23 changes: 12 additions & 11 deletions template/__mocks__/getAssetsContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,25 @@ import type { AssetType } from '@/theme/assets/getAssetsContext';

jest.mock('@/theme/assets/getAssetsContext', () =>
jest.fn((type: AssetType) => {
const context = (key: string) => {
const testIcon = 'mocked-icon-uri'; // Simulated URI for icons
const testImage = 'test-image-uri'; // Simulated URI for images

const context = () => {
if (type === 'images') {
return jest.mock('@/theme/assets/images/tom.png');
}
if (type === 'icons') {
return jest.mock('@/theme/assets/icons/send.svg');
return {
default: () => testImage,
};
}
return key;
return {
default: () => testIcon,
};
};

context.keys = () => {
if (type === 'images') {
return ['images/tom.png'];
}
if (type === 'icons') {
return ['icons/send.svg'];
return [testImage];
}
return [];
return [testIcon];
};

return context;
Expand Down
2 changes: 0 additions & 2 deletions template/__mocks__/libs/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
import '@testing-library/react-native/extend-expect';
// LOCAL
import './react-native-reanimated';
import './react-native-safe-area-context';
1 change: 1 addition & 0 deletions template/_gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ local.properties
.cxx/
*.keystore
!debug.keystore
.kotlin/

# node.js
#
Expand Down
4 changes: 2 additions & 2 deletions template/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ def enableProguardInReleaseBuilds = false
* The preferred build flavor of JavaScriptCore (JSC)
*
* For example, to use the international variant, you can use:
* `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
* `def jscFlavor = io.github.react-native-community:jsc-android-intl:2026004.+`
*
* The international variant includes ICU i18n library and necessary data
* allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
* give correct results when using with locales other than en-US. Note that
* this variant is about 6MiB larger per architecture than default.
*/
def jscFlavor = 'org.webkit:android-jsc:+'
def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+'

android {
ndkVersion rootProject.ext.ndkVersion
Expand Down
6 changes: 3 additions & 3 deletions template/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ buildscript {
buildToolsVersion = "35.0.0"
minSdkVersion = 24
compileSdkVersion = 35
targetSdkVersion = 34
ndkVersion = "26.1.10909125"
kotlinVersion = "1.9.24"
targetSdkVersion = 35
ndkVersion = "27.1.12297006"
kotlinVersion = "2.0.21"
}
repositories {
google()
Expand Down
2 changes: 1 addition & 1 deletion template/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
3 changes: 1 addition & 2 deletions template/android/gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ done
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down
Loading
Loading