Skip to content
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
2 changes: 1 addition & 1 deletion packages/create-react-native-library/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const FALLBACK_BOB_VERSION = '0.40.13';
export const FALLBACK_NITRO_MODULES_VERSION = '0.28.1';
export const SUPPORTED_REACT_NATIVE_VERSION = '0.81.0';
export const SUPPORTED_REACT_NATIVE_VERSION = '0.81.1';
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const FILES_TO_DELETE = [

const PACKAGES_TO_REMOVE = [
'@react-native/eslint-config',
'@react-native/new-app-screen',
'@tsconfig/react-native',
'@types/jest',
'@types/react-test-renderer',
Expand All @@ -36,9 +37,9 @@ const PACKAGES_TO_REMOVE = [
];

const PACKAGES_TO_ADD_WEB = {
'@expo/metro-runtime': '~3.2.1',
'react-dom': '18.2.0',
'react-native-web': '~0.18.10',
'@expo/metro-runtime': '~5.0.4',
'react-dom': '19.1.0',
'react-native-web': '~0.21.1',
};

export default async function generateExampleApp({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
runs-on: macos-latest

env:
XCODE_VERSION: 16.2
XCODE_VERSION: 16.3
TURBO_CACHE_DIR: .turbo/ios
RCT_USE_RN_DEP: 1
RCT_USE_PREBUILT_RNCORE: 1
Expand Down
44 changes: 22 additions & 22 deletions packages/create-react-native-library/templates/common/$package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,40 +72,40 @@
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@commitlint/config-conventional": "^19.6.0",
"@eslint/compat": "^1.2.7",
"@eslint/eslintrc": "^3.3.0",
"@eslint/js": "^9.22.0",
"@evilmartians/lefthook": "^1.5.0",
"@commitlint/config-conventional": "^19.8.1",
"@eslint/compat": "^1.3.2",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.35.0",
"@evilmartians/lefthook": "^1.12.3",
<% if (example === 'vanilla' && (project.moduleConfig === 'turbo-modules' || project.viewConfig === 'fabric-view')) { -%>
"@react-native-community/cli": "15.0.0-alpha.2",
"@react-native-community/cli": "20.0.1",
<% } -%>
"@react-native/eslint-config": "^0.78.0",
"@react-native/babel-preset": "0.78.2",
"@release-it/conventional-changelog": "^9.0.2",
"@types/jest": "^29.5.5",
"@types/react": "^19.0.12",
"commitlint": "^19.6.1",
"del-cli": "^5.1.0",
"eslint": "^9.22.0",
"eslint-config-prettier": "^10.1.1",
"eslint-plugin-prettier": "^5.2.3",
"@react-native/babel-preset": "0.81.1",
"@react-native/eslint-config": "^0.81.1",
"@release-it/conventional-changelog": "^10.0.1",
"@types/jest": "^29.5.14",
"@types/react": "^19.1.12",
"commitlint": "^19.8.1",
"del-cli": "^6.0.0",
"eslint": "^9.35.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"jest": "^29.7.0",
<% if (project.moduleConfig === 'nitro-modules' || project.viewConfig === 'nitro-view') { -%>
"nitro-codegen": "^<%- versions.nitro %>",
<% } -%>
"prettier": "^3.0.3",
"react": "19.0.0",
"react-native": "0.78.1",
"prettier": "^3.6.2",
"react": "19.1.0",
"react-native": "0.81.1",
"react-native-builder-bob": "^<%- versions.bob %>",
<% if (project.moduleConfig === 'nitro-modules' || project.viewConfig === 'nitro-view') { -%>
"react-native-nitro-modules": "^<%- versions.nitro %>",
<% } -%>
"release-it": "^17.10.0",
"release-it": "^19.0.4",
<% if (example !== 'expo') { -%>
"turbo": "^1.10.7",
"turbo": "^2.5.6",
<% } -%>
"typescript": "^5.8.3"
"typescript": "^5.9.2"
},
"peerDependencies": {
"react": "*",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"globalDependencies": [".nvmrc", ".yarnrc.yml"],
"globalEnv": ["NODE_ENV"],
"tasks": {
<% if (example !== 'expo') { -%>
"build:android": {
"env": ["ORG_GRADLE_PROJECT_newArchEnabled"],
"env": ["ANDROID_HOME", "ORG_GRADLE_PROJECT_newArchEnabled"],
"inputs": [
"package.json",
"android",
Expand All @@ -19,7 +21,11 @@
"outputs": []
},
"build:ios": {
"env": ["RCT_NEW_ARCH_ENABLED", "RCT_USE_RN_DEP", "RCT_USE_PREBUILT_RNCORE"],
"env": [
"RCT_NEW_ARCH_ENABLED",
"RCT_USE_RN_DEP",
"RCT_USE_PREBUILT_RNCORE"
],
"inputs": [
"package.json",
"*.podspec",
Expand Down
Loading