diff --git a/packages/create-react-native-library/templates/common/$package.json b/packages/create-react-native-library/templates/common/$package.json index 1424c13e1..5cf2ca060 100644 --- a/packages/create-react-native-library/templates/common/$package.json +++ b/packages/create-react-native-library/templates/common/$package.json @@ -61,29 +61,28 @@ "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@evilmartians/lefthook": "^1.5.0", - "@react-native/eslint-config": "^0.72.2", + "@react-native/eslint-config": "^0.73.1", "@release-it/conventional-changelog": "^5.0.0", - "@types/jest": "^28.1.2", - "@types/react": "~17.0.21", - "@types/react-native": "0.70.0", + "@types/jest": "^29.5.5", + "@types/react": "^18.2.44", "commitlint": "^17.0.2", - "del-cli": "^5.0.0", - "eslint": "^8.4.1", - "eslint-config-prettier": "^8.5.0", - "eslint-plugin-prettier": "^4.0.0", - "jest": "^28.1.1", - "prettier": "^2.0.5", + "del-cli": "^5.1.0", + "eslint": "^8.51.0", + "eslint-config-prettier": "^9.0.0", + "eslint-plugin-prettier": "^5.0.1", + "jest": "^29.7.0", + "prettier": "^3.0.3", "react": "17.0.2", - "react-native": "0.70.0", + "react-native": "0.73.0", "react-native-builder-bob": "^<%- bob.version %>", "release-it": "^15.0.0", <% if (example === 'native') { -%> "turbo": "^1.10.7", <% } -%> - "typescript": "^5.0.2" + "typescript": "^5.2.2" }, "resolutions": { - "@types/react": "17.0.21" + "@types/react": "^18.2.44" }, "peerDependencies": { "react": "*", diff --git a/packages/create-react-native-library/templates/native-common/{%- project.identifier %}.podspec b/packages/create-react-native-library/templates/native-common/{%- project.identifier %}.podspec index b31f339e2..0672ca4d5 100644 --- a/packages/create-react-native-library/templates/native-common/{%- project.identifier %}.podspec +++ b/packages/create-react-native-library/templates/native-common/{%- project.identifier %}.podspec @@ -11,7 +11,7 @@ Pod::Spec.new do |s| s.license = package["license"] s.authors = package["author"] - s.platforms = { :ios => "11.0" } + s.platforms = { :ios => min_ios_version_supported } s.source = { :git => "<%- repo -%>.git", :tag => "#{s.version}" } <% if (project.cpp) { -%>