Skip to content

Commit e53e8f0

Browse files
authored
chore: upgrade dependencies (#886)
1 parent a7a9209 commit e53e8f0

File tree

5 files changed

+37
-30
lines changed

5 files changed

+37
-30
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export const FALLBACK_BOB_VERSION = '0.40.13';
22
export const FALLBACK_NITRO_MODULES_VERSION = '0.28.1';
3-
export const SUPPORTED_REACT_NATIVE_VERSION = '0.81.0';
3+
export const SUPPORTED_REACT_NATIVE_VERSION = '0.81.1';

packages/create-react-native-library/src/exampleApp/generateExampleApp.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const FILES_TO_DELETE = [
2222

2323
const PACKAGES_TO_REMOVE = [
2424
'@react-native/eslint-config',
25+
'@react-native/new-app-screen',
2526
'@tsconfig/react-native',
2627
'@types/jest',
2728
'@types/react-test-renderer',
@@ -36,9 +37,9 @@ const PACKAGES_TO_REMOVE = [
3637
];
3738

3839
const PACKAGES_TO_ADD_WEB = {
39-
'@expo/metro-runtime': '~3.2.1',
40-
'react-dom': '18.2.0',
41-
'react-native-web': '~0.18.10',
40+
'@expo/metro-runtime': '~5.0.4',
41+
'react-dom': '19.1.0',
42+
'react-native-web': '~0.21.1',
4243
};
4344

4445
export default async function generateExampleApp({

packages/create-react-native-library/templates/common/$.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
runs-on: macos-latest
126126

127127
env:
128-
XCODE_VERSION: 16.2
128+
XCODE_VERSION: 16.3
129129
TURBO_CACHE_DIR: .turbo/ios
130130
RCT_USE_RN_DEP: 1
131131
RCT_USE_PREBUILT_RNCORE: 1

packages/create-react-native-library/templates/common/$package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -72,40 +72,40 @@
7272
"registry": "https://registry.npmjs.org/"
7373
},
7474
"devDependencies": {
75-
"@commitlint/config-conventional": "^19.6.0",
76-
"@eslint/compat": "^1.2.7",
77-
"@eslint/eslintrc": "^3.3.0",
78-
"@eslint/js": "^9.22.0",
79-
"@evilmartians/lefthook": "^1.5.0",
75+
"@commitlint/config-conventional": "^19.8.1",
76+
"@eslint/compat": "^1.3.2",
77+
"@eslint/eslintrc": "^3.3.1",
78+
"@eslint/js": "^9.35.0",
79+
"@evilmartians/lefthook": "^1.12.3",
8080
<% if (example === 'vanilla' && (project.moduleConfig === 'turbo-modules' || project.viewConfig === 'fabric-view')) { -%>
81-
"@react-native-community/cli": "15.0.0-alpha.2",
81+
"@react-native-community/cli": "20.0.1",
8282
<% } -%>
83-
"@react-native/eslint-config": "^0.78.0",
84-
"@react-native/babel-preset": "0.78.2",
85-
"@release-it/conventional-changelog": "^9.0.2",
86-
"@types/jest": "^29.5.5",
87-
"@types/react": "^19.0.12",
88-
"commitlint": "^19.6.1",
89-
"del-cli": "^5.1.0",
90-
"eslint": "^9.22.0",
91-
"eslint-config-prettier": "^10.1.1",
92-
"eslint-plugin-prettier": "^5.2.3",
83+
"@react-native/babel-preset": "0.81.1",
84+
"@react-native/eslint-config": "^0.81.1",
85+
"@release-it/conventional-changelog": "^10.0.1",
86+
"@types/jest": "^29.5.14",
87+
"@types/react": "^19.1.12",
88+
"commitlint": "^19.8.1",
89+
"del-cli": "^6.0.0",
90+
"eslint": "^9.35.0",
91+
"eslint-config-prettier": "^10.1.8",
92+
"eslint-plugin-prettier": "^5.5.4",
9393
"jest": "^29.7.0",
9494
<% if (project.moduleConfig === 'nitro-modules' || project.viewConfig === 'nitro-view') { -%>
9595
"nitro-codegen": "^<%- versions.nitro %>",
9696
<% } -%>
97-
"prettier": "^3.0.3",
98-
"react": "19.0.0",
99-
"react-native": "0.78.1",
97+
"prettier": "^3.6.2",
98+
"react": "19.1.0",
99+
"react-native": "0.81.1",
100100
"react-native-builder-bob": "^<%- versions.bob %>",
101101
<% if (project.moduleConfig === 'nitro-modules' || project.viewConfig === 'nitro-view') { -%>
102102
"react-native-nitro-modules": "^<%- versions.nitro %>",
103103
<% } -%>
104-
"release-it": "^17.10.0",
104+
"release-it": "^19.0.4",
105105
<% if (example !== 'expo') { -%>
106-
"turbo": "^1.10.7",
106+
"turbo": "^2.5.6",
107107
<% } -%>
108-
"typescript": "^5.8.3"
108+
"typescript": "^5.9.2"
109109
},
110110
"peerDependencies": {
111111
"react": "*",

packages/create-react-native-library/templates/native-common-example/turbo.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"$schema": "https://turbo.build/schema.json",
3-
"pipeline": {
3+
"globalDependencies": [".nvmrc", ".yarnrc.yml"],
4+
"globalEnv": ["NODE_ENV"],
5+
"tasks": {
46
<% if (example !== 'expo') { -%>
57
"build:android": {
6-
"env": ["ORG_GRADLE_PROJECT_newArchEnabled"],
8+
"env": ["ANDROID_HOME", "ORG_GRADLE_PROJECT_newArchEnabled"],
79
"inputs": [
810
"package.json",
911
"android",
@@ -19,7 +21,11 @@
1921
"outputs": []
2022
},
2123
"build:ios": {
22-
"env": ["RCT_NEW_ARCH_ENABLED", "RCT_USE_RN_DEP", "RCT_USE_PREBUILT_RNCORE"],
24+
"env": [
25+
"RCT_NEW_ARCH_ENABLED",
26+
"RCT_USE_RN_DEP",
27+
"RCT_USE_PREBUILT_RNCORE"
28+
],
2329
"inputs": [
2430
"package.json",
2531
"*.podspec",

0 commit comments

Comments
 (0)