mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
chore: update deps 2026-04-13 (#1897)
This commit is contained in:
committed by
GitHub
parent
7bec3ed76f
commit
bd11540d2a
+36
-11
@@ -1,15 +1,7 @@
|
||||
# General Node.js
|
||||
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files
|
||||
|
||||
# dependencies
|
||||
node_modules/
|
||||
.expo/
|
||||
dist/
|
||||
npm-debug.*
|
||||
*.jks
|
||||
*.p8
|
||||
*.p12
|
||||
*.key
|
||||
*.mobileprovision
|
||||
*.orig.*
|
||||
web-build/
|
||||
|
||||
# Yarn 4.x
|
||||
.pnp.*
|
||||
@@ -20,6 +12,39 @@ web-build/
|
||||
!.yarn/sdks
|
||||
!.yarn/versions
|
||||
|
||||
# Expo
|
||||
.expo/
|
||||
dist/
|
||||
web-build/
|
||||
expo-env.d.ts
|
||||
|
||||
# Native
|
||||
.kotlin/
|
||||
*.orig.*
|
||||
*.jks
|
||||
*.p8
|
||||
*.p12
|
||||
*.key
|
||||
*.mobileprovision
|
||||
|
||||
# Metro
|
||||
.metro-health-check*
|
||||
|
||||
# debug
|
||||
npm-debug.*
|
||||
yarn-debug.*
|
||||
yarn-error.*
|
||||
|
||||
# macOS
|
||||
.DS_Store
|
||||
*.pem
|
||||
|
||||
# local env files
|
||||
.env*.local
|
||||
|
||||
# typescript
|
||||
*.tsbuildinfo
|
||||
|
||||
# generated native folders
|
||||
/ios
|
||||
/android
|
||||
|
||||
@@ -6,23 +6,22 @@
|
||||
"orientation": "portrait",
|
||||
"icon": "./assets/icon.png",
|
||||
"userInterfaceStyle": "light",
|
||||
"newArchEnabled": true,
|
||||
"splash": {
|
||||
"image": "./assets/splash.png",
|
||||
"image": "./assets/splash-icon.png",
|
||||
"resizeMode": "contain",
|
||||
"backgroundColor": "#ffffff"
|
||||
},
|
||||
"updates": {
|
||||
"fallbackToCacheTimeout": 0
|
||||
},
|
||||
"assetBundlePatterns": ["**/*"],
|
||||
"ios": {
|
||||
"supportsTablet": true
|
||||
},
|
||||
"android": {
|
||||
"adaptiveIcon": {
|
||||
"foregroundImage": "./assets/adaptive-icon.png",
|
||||
"backgroundColor": "#FFFFFF"
|
||||
}
|
||||
"backgroundColor": "#ffffff"
|
||||
},
|
||||
"edgeToEdgeEnabled": true,
|
||||
"predictiveBackGestureEnabled": false
|
||||
},
|
||||
"web": {
|
||||
"favicon": "./assets/favicon.png"
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 46 KiB |
@@ -3,7 +3,14 @@ import tseslint from 'typescript-eslint';
|
||||
|
||||
export default [
|
||||
{
|
||||
ignores: ['node_modules/**', 'jest-setup.ts'],
|
||||
ignores: [
|
||||
'node_modules/**',
|
||||
'.expo/**',
|
||||
'dist/**',
|
||||
'web-build/**',
|
||||
'expo-env.d.ts',
|
||||
'jest-setup.ts',
|
||||
],
|
||||
},
|
||||
...tseslint.configs.recommended,
|
||||
{
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
import { registerRootComponent } from 'expo';
|
||||
|
||||
import App from './App';
|
||||
|
||||
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
|
||||
// It also ensures that whether you load the app in Expo Go or in a native build,
|
||||
// the environment is set up appropriately
|
||||
registerRootComponent(App);
|
||||
+13
-11
@@ -1,36 +1,38 @@
|
||||
{
|
||||
"main": "node_modules/expo/AppEntry.js",
|
||||
"name": "rntl-example-basic",
|
||||
"version": "1.0.0",
|
||||
"main": "index.ts",
|
||||
"scripts": {
|
||||
"start": "expo start",
|
||||
"android": "expo start --android",
|
||||
"ios": "expo start --ios",
|
||||
"web": "expo start --web",
|
||||
"eject": "expo eject",
|
||||
"test": "jest",
|
||||
"lint": "eslint .",
|
||||
"typecheck": "tsc --noEmit"
|
||||
"typecheck": "tsc --noEmit",
|
||||
"validate": "yarn expo install --check && yarn lint && yarn typecheck && yarn test --watchman=false"
|
||||
},
|
||||
"dependencies": {
|
||||
"expo": "^54.0.32",
|
||||
"expo": "~54.0.33",
|
||||
"expo-status-bar": "~3.0.9",
|
||||
"react": "19.1.0",
|
||||
"react-dom": "19.1.0",
|
||||
"react-native": "0.81.5",
|
||||
"react-native-safe-area-context": "^5.6.2",
|
||||
"react-native-web": "^0.21.0"
|
||||
"react-native-web": "^0.21.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.24.0",
|
||||
"@babel/core": "^7.29.0",
|
||||
"@testing-library/react-native": "^14.0.0-beta.0",
|
||||
"@types/jest": "^29.5.12",
|
||||
"@types/react": "~19.1.10",
|
||||
"eslint": "9.39.2",
|
||||
"eslint-plugin-testing-library": "^7.1.1",
|
||||
"jest": "^29.7.0",
|
||||
"eslint": "^10.2.0",
|
||||
"eslint-plugin-testing-library": "^7.16.2",
|
||||
"jest": "~29.7.0",
|
||||
"test-renderer": "0.14.0",
|
||||
"typescript": "~5.9.2",
|
||||
"typescript-eslint": "^8.0.0"
|
||||
"typescript-eslint": "^8.58.1"
|
||||
},
|
||||
"private": true,
|
||||
"packageManager": "yarn@4.0.1"
|
||||
"packageManager": "yarn@4.11.0"
|
||||
}
|
||||
|
||||
+437
-279
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user