@nx/react-native 23.0.0-beta.24 → 23.0.0-beta.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. package/{index.d.ts → dist/index.d.ts} +0 -1
  2. package/{plugin.d.ts → dist/plugin.d.ts} +0 -1
  3. package/dist/plugins/jest/svg-mock.d.ts +1 -0
  4. package/{plugins → dist/plugins}/jest/svg-mock.js +2 -0
  5. package/{plugins → dist/plugins}/metro-resolver.d.ts +0 -1
  6. package/{plugins → dist/plugins}/plugin.d.ts +0 -1
  7. package/{plugins → dist/plugins}/with-nx-metro.d.ts +0 -1
  8. package/dist/readme-template.md +18 -0
  9. package/{src → dist/src}/executors/build-android/build-android.impl.d.ts +0 -1
  10. package/{src → dist/src}/executors/build-ios/build-ios.impl.d.ts +0 -1
  11. package/{src → dist/src}/executors/bundle/bundle.impl.d.ts +0 -1
  12. package/{src → dist/src}/executors/ensure-symlink/ensure-symlink.impl.d.ts +0 -1
  13. package/{src → dist/src}/executors/pod-install/pod-install.impl.d.ts +0 -1
  14. package/{src → dist/src}/executors/run-android/run-android.impl.d.ts +0 -1
  15. package/{src → dist/src}/executors/run-ios/run-ios.impl.d.ts +0 -1
  16. package/{src → dist/src}/executors/start/lib/is-packager-running.d.ts +0 -1
  17. package/{src → dist/src}/executors/start/start.impl.d.ts +0 -1
  18. package/{src → dist/src}/executors/storybook/storybook.impl.d.ts +0 -1
  19. package/{src → dist/src}/executors/sync-deps/sync-deps.impl.d.ts +0 -1
  20. package/{src → dist/src}/executors/upgrade/upgrade.impl.d.ts +0 -1
  21. package/{src → dist/src}/generators/application/application.d.ts +0 -1
  22. package/{src → dist/src}/generators/application/application.js +2 -0
  23. package/{src → dist/src}/generators/application/lib/add-e2e.d.ts +0 -1
  24. package/{src → dist/src}/generators/application/lib/add-e2e.js +3 -3
  25. package/{src → dist/src}/generators/application/lib/add-project.d.ts +0 -1
  26. package/{src → dist/src}/generators/application/lib/create-application-files.d.ts +0 -1
  27. package/{src → dist/src}/generators/application/lib/normalize-options.d.ts +0 -1
  28. package/{src → dist/src}/generators/component/component.d.ts +0 -1
  29. package/{src → dist/src}/generators/component/component.js +2 -0
  30. package/{src → dist/src}/generators/component/lib/add-import.d.ts +0 -1
  31. package/{src → dist/src}/generators/component/lib/normalize-options.d.ts +0 -1
  32. package/{src → dist/src}/generators/convert-to-inferred/convert-to-inferred.d.ts +0 -1
  33. package/{src → dist/src}/generators/convert-to-inferred/convert-to-inferred.js +2 -0
  34. package/{src → dist/src}/generators/convert-to-inferred/lib/create-process-options.d.ts +0 -1
  35. package/{src → dist/src}/generators/convert-to-inferred/lib/post-target-transformer.d.ts +0 -1
  36. package/{src → dist/src}/generators/convert-to-inferred/lib/process-start-options.d.ts +0 -1
  37. package/{src → dist/src}/generators/init/init.d.ts +0 -1
  38. package/{src → dist/src}/generators/init/init.js +6 -4
  39. package/{src → dist/src}/generators/init/lib/add-git-ignore-entry.d.ts +0 -1
  40. package/{src → dist/src}/generators/init/lib/gitignore-entries.d.ts +0 -1
  41. package/{src → dist/src}/generators/init/schema.d.ts +1 -1
  42. package/{src → dist/src}/generators/init/schema.json +1 -1
  43. package/{src → dist/src}/generators/library/lib/normalize-options.d.ts +0 -1
  44. package/{src → dist/src}/generators/library/library.d.ts +0 -1
  45. package/{src → dist/src}/generators/library/library.js +6 -4
  46. package/{src → dist/src}/generators/web-configuration/lib/normalize-schema.d.ts +0 -1
  47. package/{src → dist/src}/generators/web-configuration/lib/webpack-targets.d.ts +0 -1
  48. package/{src → dist/src}/generators/web-configuration/web-configuration.d.ts +0 -1
  49. package/{src → dist/src}/generators/web-configuration/web-configuration.js +7 -39
  50. package/{src → dist/src}/migrations/update-21-4-0/remove-deprecated-deps.d.ts +0 -1
  51. package/{src → dist/src}/migrations/update-21-4-0/upgrade-react-native-projects.d.ts +0 -1
  52. package/{src → dist/src}/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes.d.ts +0 -1
  53. package/{src → dist/src}/utils/add-jest.d.ts +0 -1
  54. package/{src → dist/src}/utils/add-linting.d.ts +0 -1
  55. package/{src → dist/src}/utils/add-linting.js +2 -2
  56. package/{src → dist/src}/utils/chmod-android-gradle-files.d.ts +0 -1
  57. package/{src → dist/src}/utils/deprecation.d.ts +0 -1
  58. package/{src → dist/src}/utils/ensure-dependencies.d.ts +0 -1
  59. package/dist/src/utils/ensure-dependencies.js +34 -0
  60. package/{src → dist/src}/utils/ensure-node-modules-symlink.d.ts +0 -1
  61. package/{src → dist/src}/utils/find-all-npm-dependencies.d.ts +0 -1
  62. package/{src → dist/src}/utils/get-cli-options.d.ts +0 -1
  63. package/{src → dist/src}/utils/pod-install-task.d.ts +0 -1
  64. package/{src → dist/src}/utils/react-native-project-detection.d.ts +0 -1
  65. package/{src → dist/src}/utils/testing-generators.d.ts +0 -1
  66. package/dist/src/utils/versions.d.ts +33 -0
  67. package/dist/src/utils/versions.js +73 -0
  68. package/dist/typings/svg.d.ts +7 -0
  69. package/executors.json +22 -22
  70. package/generators.json +12 -12
  71. package/migrations.json +44 -38
  72. package/package.json +84 -13
  73. package/index.d.ts.map +0 -1
  74. package/plugin.d.ts.map +0 -1
  75. package/plugins/jest/svg-mock.d.ts +0 -1
  76. package/plugins/jest/svg-mock.d.ts.map +0 -1
  77. package/plugins/metro-resolver.d.ts.map +0 -1
  78. package/plugins/plugin.d.ts.map +0 -1
  79. package/plugins/with-nx-metro.d.ts.map +0 -1
  80. package/src/executors/build-android/build-android.impl.d.ts.map +0 -1
  81. package/src/executors/build-ios/build-ios.impl.d.ts.map +0 -1
  82. package/src/executors/bundle/bundle.impl.d.ts.map +0 -1
  83. package/src/executors/ensure-symlink/ensure-symlink.impl.d.ts.map +0 -1
  84. package/src/executors/pod-install/pod-install.impl.d.ts.map +0 -1
  85. package/src/executors/run-android/run-android.impl.d.ts.map +0 -1
  86. package/src/executors/run-ios/run-ios.impl.d.ts.map +0 -1
  87. package/src/executors/start/lib/is-packager-running.d.ts.map +0 -1
  88. package/src/executors/start/start.impl.d.ts.map +0 -1
  89. package/src/executors/storybook/storybook.impl.d.ts.map +0 -1
  90. package/src/executors/sync-deps/sync-deps.impl.d.ts.map +0 -1
  91. package/src/executors/upgrade/upgrade.impl.d.ts.map +0 -1
  92. package/src/generators/application/application.d.ts.map +0 -1
  93. package/src/generators/application/lib/add-e2e.d.ts.map +0 -1
  94. package/src/generators/application/lib/add-project.d.ts.map +0 -1
  95. package/src/generators/application/lib/create-application-files.d.ts.map +0 -1
  96. package/src/generators/application/lib/normalize-options.d.ts.map +0 -1
  97. package/src/generators/component/component.d.ts.map +0 -1
  98. package/src/generators/component/lib/add-import.d.ts.map +0 -1
  99. package/src/generators/component/lib/normalize-options.d.ts.map +0 -1
  100. package/src/generators/convert-to-inferred/convert-to-inferred.d.ts.map +0 -1
  101. package/src/generators/convert-to-inferred/lib/create-process-options.d.ts.map +0 -1
  102. package/src/generators/convert-to-inferred/lib/post-target-transformer.d.ts.map +0 -1
  103. package/src/generators/convert-to-inferred/lib/process-start-options.d.ts.map +0 -1
  104. package/src/generators/init/init.d.ts.map +0 -1
  105. package/src/generators/init/lib/add-git-ignore-entry.d.ts.map +0 -1
  106. package/src/generators/init/lib/gitignore-entries.d.ts.map +0 -1
  107. package/src/generators/library/lib/normalize-options.d.ts.map +0 -1
  108. package/src/generators/library/library.d.ts.map +0 -1
  109. package/src/generators/web-configuration/lib/normalize-schema.d.ts.map +0 -1
  110. package/src/generators/web-configuration/lib/webpack-targets.d.ts.map +0 -1
  111. package/src/generators/web-configuration/web-configuration.d.ts.map +0 -1
  112. package/src/migrations/update-21-4-0/remove-deprecated-deps.d.ts.map +0 -1
  113. package/src/migrations/update-21-4-0/upgrade-react-native-projects.d.ts.map +0 -1
  114. package/src/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes.d.ts.map +0 -1
  115. package/src/utils/add-jest.d.ts.map +0 -1
  116. package/src/utils/add-linting.d.ts.map +0 -1
  117. package/src/utils/chmod-android-gradle-files.d.ts.map +0 -1
  118. package/src/utils/deprecation.d.ts.map +0 -1
  119. package/src/utils/ensure-dependencies.d.ts.map +0 -1
  120. package/src/utils/ensure-dependencies.js +0 -33
  121. package/src/utils/ensure-node-modules-symlink.d.ts.map +0 -1
  122. package/src/utils/find-all-npm-dependencies.d.ts.map +0 -1
  123. package/src/utils/get-cli-options.d.ts.map +0 -1
  124. package/src/utils/pod-install-task.d.ts.map +0 -1
  125. package/src/utils/react-native-project-detection.d.ts.map +0 -1
  126. package/src/utils/testing-generators.d.ts.map +0 -1
  127. package/src/utils/versions.d.ts +0 -21
  128. package/src/utils/versions.d.ts.map +0 -1
  129. package/src/utils/versions.js +0 -23
  130. /package/{LICENSE → dist/LICENSE} +0 -0
  131. /package/{index.js → dist/index.js} +0 -0
  132. /package/{plugin.js → dist/plugin.js} +0 -0
  133. /package/{plugins → dist/plugins}/metro-resolver.js +0 -0
  134. /package/{plugins → dist/plugins}/plugin.js +0 -0
  135. /package/{plugins → dist/plugins}/with-nx-metro.js +0 -0
  136. /package/{src → dist/src}/executors/build-android/build-android.impl.js +0 -0
  137. /package/{src → dist/src}/executors/build-android/schema.d.ts +0 -0
  138. /package/{src → dist/src}/executors/build-android/schema.json +0 -0
  139. /package/{src → dist/src}/executors/build-ios/build-ios.impl.js +0 -0
  140. /package/{src → dist/src}/executors/build-ios/schema.d.ts +0 -0
  141. /package/{src → dist/src}/executors/build-ios/schema.json +0 -0
  142. /package/{src → dist/src}/executors/bundle/bundle.impl.js +0 -0
  143. /package/{src → dist/src}/executors/bundle/schema.d.ts +0 -0
  144. /package/{src → dist/src}/executors/bundle/schema.json +0 -0
  145. /package/{src → dist/src}/executors/ensure-symlink/ensure-symlink.impl.js +0 -0
  146. /package/{src → dist/src}/executors/ensure-symlink/schema.json +0 -0
  147. /package/{src → dist/src}/executors/pod-install/pod-install.impl.js +0 -0
  148. /package/{src → dist/src}/executors/pod-install/schema.d.ts +0 -0
  149. /package/{src → dist/src}/executors/pod-install/schema.json +0 -0
  150. /package/{src → dist/src}/executors/run-android/run-android.impl.js +0 -0
  151. /package/{src → dist/src}/executors/run-android/schema.d.ts +0 -0
  152. /package/{src → dist/src}/executors/run-android/schema.json +0 -0
  153. /package/{src → dist/src}/executors/run-ios/run-ios.impl.js +0 -0
  154. /package/{src → dist/src}/executors/run-ios/schema.d.ts +0 -0
  155. /package/{src → dist/src}/executors/run-ios/schema.json +0 -0
  156. /package/{src → dist/src}/executors/start/lib/is-packager-running.js +0 -0
  157. /package/{src → dist/src}/executors/start/schema.d.ts +0 -0
  158. /package/{src → dist/src}/executors/start/schema.json +0 -0
  159. /package/{src → dist/src}/executors/start/start.impl.js +0 -0
  160. /package/{src → dist/src}/executors/storybook/schema.d.ts +0 -0
  161. /package/{src → dist/src}/executors/storybook/schema.json +0 -0
  162. /package/{src → dist/src}/executors/storybook/storybook.impl.js +0 -0
  163. /package/{src → dist/src}/executors/sync-deps/schema.d.ts +0 -0
  164. /package/{src → dist/src}/executors/sync-deps/schema.json +0 -0
  165. /package/{src → dist/src}/executors/sync-deps/sync-deps.impl.js +0 -0
  166. /package/{src → dist/src}/executors/upgrade/schema.d.ts +0 -0
  167. /package/{src → dist/src}/executors/upgrade/schema.json +0 -0
  168. /package/{src → dist/src}/executors/upgrade/upgrade.impl.js +0 -0
  169. /package/{src → dist/src}/generators/application/files/app/.babelrc.js.template +0 -0
  170. /package/{src → dist/src}/generators/application/files/app/Gemfile.template +0 -0
  171. /package/{src → dist/src}/generators/application/files/app/android/app/build.gradle.template +0 -0
  172. /package/{src → dist/src}/generators/application/files/app/android/app/debug.keystore +0 -0
  173. /package/{src → dist/src}/generators/application/files/app/android/app/proguard-rules.pro +0 -0
  174. /package/{src → dist/src}/generators/application/files/app/android/app/src/debug/AndroidManifest.xml.template +0 -0
  175. /package/{src → dist/src}/generators/application/files/app/android/app/src/main/AndroidManifest.xml.template +0 -0
  176. /package/{src → dist/src}/generators/application/files/app/android/app/src/main/java/com/__lowerCaseName__/MainActivity.kt.template +0 -0
  177. /package/{src → dist/src}/generators/application/files/app/android/app/src/main/java/com/__lowerCaseName__/MainApplication.kt.template +0 -0
  178. /package/{src → dist/src}/generators/application/files/app/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -0
  179. /package/{src → dist/src}/generators/application/files/app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  180. /package/{src → dist/src}/generators/application/files/app/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  181. /package/{src → dist/src}/generators/application/files/app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  182. /package/{src → dist/src}/generators/application/files/app/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  183. /package/{src → dist/src}/generators/application/files/app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  184. /package/{src → dist/src}/generators/application/files/app/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  185. /package/{src → dist/src}/generators/application/files/app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  186. /package/{src → dist/src}/generators/application/files/app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  187. /package/{src → dist/src}/generators/application/files/app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  188. /package/{src → dist/src}/generators/application/files/app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  189. /package/{src → dist/src}/generators/application/files/app/android/app/src/main/res/values/strings.xml.template +0 -0
  190. /package/{src → dist/src}/generators/application/files/app/android/app/src/main/res/values/styles.xml +0 -0
  191. /package/{src → dist/src}/generators/application/files/app/android/build.gradle.template +0 -0
  192. /package/{src → dist/src}/generators/application/files/app/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  193. /package/{src → dist/src}/generators/application/files/app/android/gradle/wrapper/gradle-wrapper.properties +0 -0
  194. /package/{src → dist/src}/generators/application/files/app/android/gradle.properties +0 -0
  195. /package/{src → dist/src}/generators/application/files/app/android/gradlew.bat +0 -0
  196. /package/{src → dist/src}/generators/application/files/app/android/gradlew.template +0 -0
  197. /package/{src → dist/src}/generators/application/files/app/android/settings.gradle.template +0 -0
  198. /package/{src → dist/src}/generators/application/files/app/app.json.template +0 -0
  199. /package/{src → dist/src}/generators/application/files/app/ios/.xcode.env.template +0 -0
  200. /package/{src → dist/src}/generators/application/files/app/ios/Podfile.template +0 -0
  201. /package/{src → dist/src}/generators/application/files/app/ios/__className__/AppDelegate.swift.template +0 -0
  202. /package/{src → dist/src}/generators/application/files/app/ios/__className__/Images.xcassets/AppIcon.appiconset/Contents.json +0 -0
  203. /package/{src → dist/src}/generators/application/files/app/ios/__className__/Images.xcassets/Contents.json +0 -0
  204. /package/{src → dist/src}/generators/application/files/app/ios/__className__/Info.plist.template +0 -0
  205. /package/{src → dist/src}/generators/application/files/app/ios/__className__/LaunchScreen.storyboard.template +0 -0
  206. /package/{src → dist/src}/generators/application/files/app/ios/__className__/PrivacyInfo.xcprivacy +0 -0
  207. /package/{src → dist/src}/generators/application/files/app/ios/__className__.xcodeproj/project.pbxproj.template +0 -0
  208. /package/{src → dist/src}/generators/application/files/app/ios/__className__.xcodeproj/xcshareddata/xcschemes/__className__.xcscheme.template +0 -0
  209. /package/{src → dist/src}/generators/application/files/app/ios/__className__.xcworkspace/contents.xcworkspacedata +0 -0
  210. /package/{src → dist/src}/generators/application/files/app/metro.config.js.template +0 -0
  211. /package/{src → dist/src}/generators/application/files/app/package.json.template +0 -0
  212. /package/{src → dist/src}/generators/application/files/app/src/app/App.spec.tsx.template +0 -0
  213. /package/{src → dist/src}/generators/application/files/app/src/main.tsx.template +0 -0
  214. /package/{src → dist/src}/generators/application/files/app/tsconfig.app.json.template +0 -0
  215. /package/{src → dist/src}/generators/application/files/app/tsconfig.json.template +0 -0
  216. /package/{src → dist/src}/generators/application/files/nx-welcome/claimed/src/app/App.tsx.template +0 -0
  217. /package/{src → dist/src}/generators/application/files/nx-welcome/not-configured/src/app/App.tsx.template +0 -0
  218. /package/{src → dist/src}/generators/application/files/nx-welcome/unclaimed/src/app/App.tsx.template +0 -0
  219. /package/{src → dist/src}/generators/application/lib/add-project.js +0 -0
  220. /package/{src → dist/src}/generators/application/lib/create-application-files.js +0 -0
  221. /package/{src → dist/src}/generators/application/lib/normalize-options.js +0 -0
  222. /package/{src → dist/src}/generators/application/schema.d.ts +0 -0
  223. /package/{src → dist/src}/generators/application/schema.json +0 -0
  224. /package/{src → dist/src}/generators/component/files/js/__fileName__.__ext__ +0 -0
  225. /package/{src → dist/src}/generators/component/files/js/__fileName__.spec.__ext__ +0 -0
  226. /package/{src → dist/src}/generators/component/files/ts/__fileName__.__ext__ +0 -0
  227. /package/{src → dist/src}/generators/component/files/ts/__fileName__.spec.__ext__ +0 -0
  228. /package/{src → dist/src}/generators/component/lib/add-import.js +0 -0
  229. /package/{src → dist/src}/generators/component/lib/normalize-options.js +0 -0
  230. /package/{src → dist/src}/generators/component/schema.d.ts +0 -0
  231. /package/{src → dist/src}/generators/component/schema.json +0 -0
  232. /package/{src → dist/src}/generators/convert-to-inferred/lib/create-process-options.js +0 -0
  233. /package/{src → dist/src}/generators/convert-to-inferred/lib/post-target-transformer.js +0 -0
  234. /package/{src → dist/src}/generators/convert-to-inferred/lib/process-start-options.js +0 -0
  235. /package/{src → dist/src}/generators/convert-to-inferred/schema.json +0 -0
  236. /package/{src → dist/src}/generators/init/lib/add-git-ignore-entry.js +0 -0
  237. /package/{src → dist/src}/generators/init/lib/gitignore-entries.js +0 -0
  238. /package/{src → dist/src}/generators/library/files/lib/.babelrc.js.template +0 -0
  239. /package/{src → dist/src}/generators/library/files/lib/README.md +0 -0
  240. /package/{src → dist/src}/generators/library/files/lib/src/index.ts.template +0 -0
  241. /package/{src → dist/src}/generators/library/files/lib/tsconfig.json.template +0 -0
  242. /package/{src → dist/src}/generators/library/files/lib/tsconfig.lib.json.template +0 -0
  243. /package/{src → dist/src}/generators/library/lib/normalize-options.js +0 -0
  244. /package/{src → dist/src}/generators/library/schema.d.ts +0 -0
  245. /package/{src → dist/src}/generators/library/schema.json +0 -0
  246. /package/{src → dist/src}/generators/web-configuration/files/base-vite/.babelrc.js.template +0 -0
  247. /package/{src → dist/src}/generators/web-configuration/files/base-vite/index.html__tmpl__ +0 -0
  248. /package/{src → dist/src}/generators/web-configuration/files/base-vite/public/favicon.ico +0 -0
  249. /package/{src → dist/src}/generators/web-configuration/files/base-vite/src/assets/.gitkeep +0 -0
  250. /package/{src → dist/src}/generators/web-configuration/files/base-vite/src/main-web.tsx__tmpl__ +0 -0
  251. /package/{src → dist/src}/generators/web-configuration/files/base-vite/vite.config.mts__tmpl__ +0 -0
  252. /package/{src → dist/src}/generators/web-configuration/files/base-webpack/.babelrc.js.template +0 -0
  253. /package/{src → dist/src}/generators/web-configuration/files/base-webpack/src/assets/.gitkeep +0 -0
  254. /package/{src → dist/src}/generators/web-configuration/files/base-webpack/src/favicon.ico +0 -0
  255. /package/{src → dist/src}/generators/web-configuration/files/base-webpack/src/index.html__tmpl__ +0 -0
  256. /package/{src → dist/src}/generators/web-configuration/files/base-webpack/src/main-web.tsx__tmpl__ +0 -0
  257. /package/{src → dist/src}/generators/web-configuration/files/base-webpack/webpack.config.js__tmpl__ +0 -0
  258. /package/{src → dist/src}/generators/web-configuration/lib/normalize-schema.js +0 -0
  259. /package/{src → dist/src}/generators/web-configuration/lib/webpack-targets.js +0 -0
  260. /package/{src → dist/src}/generators/web-configuration/schema.d.ts +0 -0
  261. /package/{src → dist/src}/generators/web-configuration/schema.json +0 -0
  262. /package/{src → dist/src}/migrations/update-21-4-0/remove-deprecated-deps.js +0 -0
  263. /package/{src → dist/src}/migrations/update-21-4-0/upgrade-react-native-projects.js +0 -0
  264. /package/{src → dist/src}/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes.js +0 -0
  265. /package/{src → dist/src}/utils/add-jest.js +0 -0
  266. /package/{src → dist/src}/utils/chmod-android-gradle-files.js +0 -0
  267. /package/{src → dist/src}/utils/deprecation.js +0 -0
  268. /package/{src → dist/src}/utils/ensure-node-modules-symlink.js +0 -0
  269. /package/{src → dist/src}/utils/find-all-npm-dependencies.js +0 -0
  270. /package/{src → dist/src}/utils/get-cli-options.js +0 -0
  271. /package/{src → dist/src}/utils/pod-install-task.js +0 -0
  272. /package/{src → dist/src}/utils/react-native-project-detection.js +0 -0
  273. /package/{src → dist/src}/utils/testing-generators.js +0 -0
@@ -7,4 +7,3 @@
7
7
  * @param projectRoot path of app project root
8
8
  */
9
9
  export declare function ensureNodeModulesSymlink(workspaceRoot: string, projectRoot: string): void;
10
- //# sourceMappingURL=ensure-node-modules-symlink.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import { ProjectGraph } from '@nx/devkit';
2
2
  export declare function findAllNpmDependencies(graph: ProjectGraph, projectName: string, list?: string[], seen?: Set<string>): string[];
3
- //# sourceMappingURL=find-all-npm-dependencies.d.ts.map
@@ -6,4 +6,3 @@
6
6
  * @returns options that can be passed to the React Native CLI
7
7
  */
8
8
  export declare function getCliOptions<T>(options: T, optionKeysToIgnore?: string[], optionKeysInCamelName?: string[]): string[];
9
- //# sourceMappingURL=get-cli-options.d.ts.map
@@ -16,4 +16,3 @@ export declare function podInstall(iosDirectory: string, options?: {
16
16
  deployment?: boolean;
17
17
  useBundler?: boolean;
18
18
  }): void;
19
- //# sourceMappingURL=pod-install-task.d.ts.map
@@ -12,4 +12,3 @@ export declare function isReactNativeProject(tree: Tree, projectRoot: string): P
12
12
  * Gets all React Native projects in the workspace
13
13
  */
14
14
  export declare function getAllReactNativeProjects(tree: Tree, projects: Map<string, any>): Promise<string[]>;
15
- //# sourceMappingURL=react-native-project-detection.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Tree } from '@nx/devkit';
2
2
  export declare function createApp(tree: Tree, appName: string): Promise<void>;
3
3
  export declare function createLib(tree: Tree, libName: string): Promise<void>;
4
- //# sourceMappingURL=testing-generators.d.ts.map
@@ -0,0 +1,33 @@
1
+ import { type Tree } from '@nx/devkit';
2
+ export declare const nxVersion: any;
3
+ export declare const minSupportedReactNativeVersion = "0.83.0";
4
+ export declare function assertSupportedReactNativeVersion(tree: Tree): void;
5
+ export declare const reactNativeVersion = "~0.84.1";
6
+ export declare const reactNativeBabelPresetVersion = "~0.84.1";
7
+ export declare const reactNativeMetroConfigVersion = "~0.84.1";
8
+ export declare const metroVersion = "~0.83.0";
9
+ export declare const reactNativeCommunityCliVersion = "~20.1.0";
10
+ export declare const reactNativeCommunityCliPlatformAndroidVersion = "~20.1.0";
11
+ export declare const reactNativeCommunityCliPlatformIosVersion = "~20.1.0";
12
+ export declare const typesNodeVersion = "^22.0.0";
13
+ export declare const reactNativeWebVersion = "~0.21.0";
14
+ export declare const reactVersion = "^19.2.0";
15
+ export declare const reactDomVersion = "^19.2.0";
16
+ export declare const typesReactVersion = "^19.2.0";
17
+ export declare const typesReactDomVersion = "^19.2.0";
18
+ export declare const testingLibraryReactNativeVersion = "~13.2.0";
19
+ export declare const reactTestRendererVersion = "^19.2.0";
20
+ export declare const reactNativeSvgTransformerVersion = "~1.5.1";
21
+ export declare const reactNativeSvgVersion = "~15.15.0";
22
+ export declare const reactNativeSvgWebVersion = "~1.0.9";
23
+ export declare const babelRuntimeVersion = "~7.27.6";
24
+ export type ReactNativeVersions = {
25
+ reactNativeVersion: string;
26
+ reactNativeBabelPresetVersion: string;
27
+ reactNativeMetroConfigVersion: string;
28
+ metroVersion: string;
29
+ reactNativeCommunityCliVersion: string;
30
+ reactNativeCommunityCliPlatformAndroidVersion: string;
31
+ reactNativeCommunityCliPlatformIosVersion: string;
32
+ };
33
+ export declare function versions(tree: Tree): ReactNativeVersions;
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.babelRuntimeVersion = exports.reactNativeSvgWebVersion = exports.reactNativeSvgVersion = exports.reactNativeSvgTransformerVersion = exports.reactTestRendererVersion = exports.testingLibraryReactNativeVersion = exports.typesReactDomVersion = exports.typesReactVersion = exports.reactDomVersion = exports.reactVersion = exports.reactNativeWebVersion = exports.typesNodeVersion = exports.reactNativeCommunityCliPlatformIosVersion = exports.reactNativeCommunityCliPlatformAndroidVersion = exports.reactNativeCommunityCliVersion = exports.metroVersion = exports.reactNativeMetroConfigVersion = exports.reactNativeBabelPresetVersion = exports.reactNativeVersion = exports.minSupportedReactNativeVersion = exports.nxVersion = void 0;
4
+ exports.assertSupportedReactNativeVersion = assertSupportedReactNativeVersion;
5
+ exports.versions = versions;
6
+ const path_1 = require("path");
7
+ const internal_1 = require("@nx/devkit/internal");
8
+ const semver_1 = require("semver");
9
+ exports.nxVersion = require((0, path_1.join)('@nx/react-native', 'package.json')).version;
10
+ // React Native's tiered support policy lists 0.85 and 0.84 as Active and 0.83 as
11
+ // End-of-Cycle. The plugin supports the 0.83–0.84 window for now (0.85 is a
12
+ // follow-up — it relocated its Jest preset to @react-native/jest-preset, which
13
+ // needs a separate generator change). Below 0.83 generators throw via
14
+ // assertSupportedReactNativeVersion.
15
+ exports.minSupportedReactNativeVersion = '0.83.0';
16
+ function assertSupportedReactNativeVersion(tree) {
17
+ (0, internal_1.assertSupportedPackageVersion)(tree, 'react-native', exports.minSupportedReactNativeVersion);
18
+ }
19
+ // Fresh-install constants point at the latest supported minor (0.84, Active line).
20
+ exports.reactNativeVersion = '~0.84.1';
21
+ exports.reactNativeBabelPresetVersion = '~0.84.1';
22
+ exports.reactNativeMetroConfigVersion = '~0.84.1';
23
+ exports.metroVersion = '~0.83.0';
24
+ exports.reactNativeCommunityCliVersion = '~20.1.0';
25
+ exports.reactNativeCommunityCliPlatformAndroidVersion = '~20.1.0';
26
+ exports.reactNativeCommunityCliPlatformIosVersion = '~20.1.0';
27
+ // Stable across the supported RN minors (0.83 and 0.84 both ship React 19.2).
28
+ exports.typesNodeVersion = '^22.0.0';
29
+ exports.reactNativeWebVersion = '~0.21.0';
30
+ exports.reactVersion = '^19.2.0';
31
+ exports.reactDomVersion = '^19.2.0';
32
+ exports.typesReactVersion = '^19.2.0';
33
+ exports.typesReactDomVersion = '^19.2.0';
34
+ exports.testingLibraryReactNativeVersion = '~13.2.0';
35
+ exports.reactTestRendererVersion = '^19.2.0';
36
+ exports.reactNativeSvgTransformerVersion = '~1.5.1';
37
+ exports.reactNativeSvgVersion = '~15.15.0';
38
+ exports.reactNativeSvgWebVersion = '~1.0.9';
39
+ exports.babelRuntimeVersion = '~7.27.6';
40
+ // latestVersions reuses the top-level exports so `import { reactNativeVersion }`
41
+ // stays valid for the fresh-install path while versions(tree).reactNativeVersion
42
+ // is the route-aware value.
43
+ const latestVersions = {
44
+ reactNativeVersion: exports.reactNativeVersion,
45
+ reactNativeBabelPresetVersion: exports.reactNativeBabelPresetVersion,
46
+ reactNativeMetroConfigVersion: exports.reactNativeMetroConfigVersion,
47
+ metroVersion: exports.metroVersion,
48
+ reactNativeCommunityCliVersion: exports.reactNativeCommunityCliVersion,
49
+ reactNativeCommunityCliPlatformAndroidVersion: exports.reactNativeCommunityCliPlatformAndroidVersion,
50
+ reactNativeCommunityCliPlatformIosVersion: exports.reactNativeCommunityCliPlatformIosVersion,
51
+ };
52
+ // Keyed by React Native MINOR — RN is on the 0.x line, so the major is always 0.
53
+ // 0.84 is the default (latestVersions); 0.83 is the one older supported lane.
54
+ const versionMap = {
55
+ 83: {
56
+ reactNativeVersion: '~0.83.9',
57
+ reactNativeBabelPresetVersion: '~0.83.9',
58
+ reactNativeMetroConfigVersion: '~0.83.9',
59
+ metroVersion: '~0.83.0',
60
+ reactNativeCommunityCliVersion: '~20.0.0',
61
+ reactNativeCommunityCliPlatformAndroidVersion: '~20.0.0',
62
+ reactNativeCommunityCliPlatformIosVersion: '~20.0.0',
63
+ },
64
+ };
65
+ // Returns the install constants for the detected RN minor. Above the highest
66
+ // known minor (or when RN isn't installed) falls through to latest — no throw.
67
+ function versions(tree) {
68
+ const installedReactNativeVersion = (0, internal_1.getDeclaredPackageVersion)(tree, 'react-native');
69
+ if (!installedReactNativeVersion) {
70
+ return latestVersions;
71
+ }
72
+ return versionMap[(0, semver_1.minor)(installedReactNativeVersion)] ?? latestVersions;
73
+ }
@@ -0,0 +1,7 @@
1
+ // from https://github.com/kristerkari/react-native-svg-transformer#using-typescript
2
+ declare module '*.svg' {
3
+ import React from 'react';
4
+ import { SvgProps } from 'react-native-svg';
5
+ const content: React.FC<SvgProps>;
6
+ export default content;
7
+ }
package/executors.json CHANGED
@@ -1,58 +1,58 @@
1
1
  {
2
2
  "executors": {
3
3
  "run-android": {
4
- "implementation": "./src/executors/run-android/run-android.impl",
5
- "schema": "./src/executors/run-android/schema.json",
4
+ "implementation": "./dist/src/executors/run-android/run-android.impl",
5
+ "schema": "./dist/src/executors/run-android/schema.json",
6
6
  "description": "Runs Android application."
7
7
  },
8
8
  "run-ios": {
9
- "implementation": "./src/executors/run-ios/run-ios.impl",
10
- "schema": "./src/executors/run-ios/schema.json",
9
+ "implementation": "./dist/src/executors/run-ios/run-ios.impl",
10
+ "schema": "./dist/src/executors/run-ios/schema.json",
11
11
  "description": "Runs iOS application."
12
12
  },
13
13
  "bundle": {
14
- "implementation": "./src/executors/bundle/bundle.impl",
15
- "schema": "./src/executors/bundle/schema.json",
14
+ "implementation": "./dist/src/executors/bundle/bundle.impl",
15
+ "schema": "./dist/src/executors/bundle/schema.json",
16
16
  "description": "Builds the JavaScript bundle for offline use."
17
17
  },
18
18
  "build-android": {
19
- "implementation": "./src/executors/build-android/build-android.impl",
20
- "schema": "./src/executors/build-android/schema.json",
19
+ "implementation": "./dist/src/executors/build-android/build-android.impl",
20
+ "schema": "./dist/src/executors/build-android/schema.json",
21
21
  "description": "Release Build for Android."
22
22
  },
23
23
  "build-ios": {
24
- "implementation": "./src/executors/build-ios/build-ios.impl",
25
- "schema": "./src/executors/build-ios/schema.json",
24
+ "implementation": "./dist/src/executors/build-ios/build-ios.impl",
25
+ "schema": "./dist/src/executors/build-ios/schema.json",
26
26
  "description": "Build iOS app"
27
27
  },
28
28
  "start": {
29
- "implementation": "./src/executors/start/start.impl",
30
- "schema": "./src/executors/start/schema.json",
29
+ "implementation": "./dist/src/executors/start/start.impl",
30
+ "schema": "./dist/src/executors/start/schema.json",
31
31
  "description": "Starts the Javascript server that communicates with connected devices."
32
32
  },
33
33
  "sync-deps": {
34
- "implementation": "./src/executors/sync-deps/sync-deps.impl",
35
- "schema": "./src/executors/sync-deps/schema.json",
34
+ "implementation": "./dist/src/executors/sync-deps/sync-deps.impl",
35
+ "schema": "./dist/src/executors/sync-deps/schema.json",
36
36
  "description": "Syncs dependencies to `package.json` (required for autolinking)."
37
37
  },
38
38
  "ensure-symlink": {
39
- "implementation": "./src/executors/ensure-symlink/ensure-symlink.impl",
40
- "schema": "./src/executors/ensure-symlink//schema.json",
39
+ "implementation": "./dist/src/executors/ensure-symlink/ensure-symlink.impl",
40
+ "schema": "./dist/src/executors/ensure-symlink//schema.json",
41
41
  "description": "Ensure workspace `node_modules` is symlink under app's `node_modules` folder."
42
42
  },
43
43
  "storybook": {
44
- "implementation": "./src/executors/storybook/storybook.impl",
45
- "schema": "./src/executors/storybook/schema.json",
44
+ "implementation": "./dist/src/executors/storybook/storybook.impl",
45
+ "schema": "./dist/src/executors/storybook/schema.json",
46
46
  "description": "Serve React Native Storybook."
47
47
  },
48
48
  "pod-install": {
49
- "implementation": "./src/executors/pod-install/pod-install.impl",
50
- "schema": "./src/executors/pod-install/schema.json",
49
+ "implementation": "./dist/src/executors/pod-install/pod-install.impl",
50
+ "schema": "./dist/src/executors/pod-install/schema.json",
51
51
  "description": "Run `pod install` in the `ios` directory."
52
52
  },
53
53
  "upgrade": {
54
- "implementation": "./src/executors/upgrade/upgrade.impl",
55
- "schema": "./src/executors/upgrade/schema.json",
54
+ "implementation": "./dist/src/executors/upgrade/upgrade.impl",
55
+ "schema": "./dist/src/executors/upgrade/schema.json",
56
56
  "description": "upgrade executor"
57
57
  }
58
58
  }
package/generators.json CHANGED
@@ -4,39 +4,39 @@
4
4
  "extends": ["@nx/workspace"],
5
5
  "generators": {
6
6
  "init": {
7
- "factory": "./src/generators/init/init#reactNativeInitGeneratorInternal",
8
- "schema": "./src/generators/init/schema.json",
7
+ "factory": "./dist/src/generators/init/init#reactNativeInitGeneratorInternal",
8
+ "schema": "./dist/src/generators/init/schema.json",
9
9
  "description": "Initialize the `@nx/react-native` plugin.",
10
10
  "hidden": true
11
11
  },
12
12
  "application": {
13
- "factory": "./src/generators/application/application#reactNativeApplicationGeneratorInternal",
14
- "schema": "./src/generators/application/schema.json",
13
+ "factory": "./dist/src/generators/application/application#reactNativeApplicationGeneratorInternal",
14
+ "schema": "./dist/src/generators/application/schema.json",
15
15
  "aliases": ["app"],
16
16
  "x-type": "application",
17
17
  "description": "Create a React Native application."
18
18
  },
19
19
  "library": {
20
- "factory": "./src/generators/library/library#reactNativeLibraryGeneratorInternal",
21
- "schema": "./src/generators/library/schema.json",
20
+ "factory": "./dist/src/generators/library/library#reactNativeLibraryGeneratorInternal",
21
+ "schema": "./dist/src/generators/library/schema.json",
22
22
  "aliases": ["lib"],
23
23
  "x-type": "library",
24
24
  "description": "Create a React Native library."
25
25
  },
26
26
  "component": {
27
- "factory": "./src/generators/component/component",
28
- "schema": "./src/generators/component/schema.json",
27
+ "factory": "./dist/src/generators/component/component",
28
+ "schema": "./dist/src/generators/component/schema.json",
29
29
  "description": "Create a React Native component.",
30
30
  "aliases": ["c"]
31
31
  },
32
32
  "web-configuration": {
33
- "factory": "./src/generators/web-configuration/web-configuration#webConfigurationGenerator",
34
- "schema": "./src/generators/web-configuration/schema.json",
33
+ "factory": "./dist/src/generators/web-configuration/web-configuration#webConfigurationGenerator",
34
+ "schema": "./dist/src/generators/web-configuration/schema.json",
35
35
  "description": "Set up web configuration for a React Native app"
36
36
  },
37
37
  "convert-to-inferred": {
38
- "factory": "./src/generators/convert-to-inferred/convert-to-inferred",
39
- "schema": "./src/generators/convert-to-inferred/schema.json",
38
+ "factory": "./dist/src/generators/convert-to-inferred/convert-to-inferred",
39
+ "schema": "./dist/src/generators/convert-to-inferred/schema.json",
40
40
  "description": "Convert existing React Native project(s) using `@nx/react-native:*` executors to use `@nx/react-native/plugin`. Defaults to migrating all projects. Pass '--project' to migrate only one target."
41
41
  }
42
42
  }
package/migrations.json CHANGED
@@ -1,147 +1,153 @@
1
1
  {
2
2
  "generators": {
3
3
  "update-21-4-0-remove-deprecated-deps": {
4
+ "requires": {
5
+ "react-native": ">=0.76.0 <0.79.0"
6
+ },
4
7
  "version": "21.4.0-beta.0",
5
8
  "cli": "nx",
6
9
  "description": "Remove deprecated dependencies from package.json",
7
- "factory": "./src/migrations/update-21-4-0/remove-deprecated-deps"
10
+ "factory": "./dist/src/migrations/update-21-4-0/remove-deprecated-deps"
8
11
  },
9
12
  "update-21-4-0-upgrade-react-native-projects": {
10
13
  "version": "21.4.0-beta.0",
11
14
  "cli": "nx",
12
15
  "description": "Run nx upgrade for each React Native project",
13
- "factory": "./src/migrations/update-21-4-0/upgrade-react-native-projects"
16
+ "factory": "./dist/src/migrations/update-21-4-0/upgrade-react-native-projects"
14
17
  },
15
18
  "update-23-0-0-migrate-create-nodes-v2-import": {
16
19
  "version": "23.0.0-beta.24",
17
20
  "description": "Rename imports of `createNodesV2` from `@nx/react-native/plugin` to the canonical `createNodes` export.",
18
- "implementation": "./src/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes",
19
- "documentation": "./src/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes.md"
21
+ "implementation": "./dist/src/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes",
22
+ "documentation": "./dist/src/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes.md"
20
23
  }
21
24
  },
22
25
  "packageJsonUpdates": {
23
- "20.3.0": {
24
- "version": "20.3.0-beta.0",
26
+ "21.4.0": {
27
+ "version": "21.4.0-beta.0",
25
28
  "packages": {
26
29
  "react-native": {
27
- "version": "~0.76.3",
30
+ "version": "~0.79.3",
28
31
  "alwaysAddToPackageJson": false
29
32
  },
30
33
  "@react-native-community/cli": {
31
- "version": "~15.0.1",
34
+ "version": "~18.0.0",
32
35
  "alwaysAddToPackageJson": true
33
36
  },
34
37
  "@react-native-community/cli-platform-android": {
35
- "version": "~15.0.1",
38
+ "version": "~18.0.0",
36
39
  "alwaysAddToPackageJson": true
37
40
  },
38
41
  "@react-native-community/cli-platform-ios": {
39
- "version": "~15.0.1",
42
+ "version": "~18.0.0",
40
43
  "alwaysAddToPackageJson": true
41
44
  },
42
45
  "@react-native/babel-preset": {
43
- "version": "~0.76.3",
46
+ "version": "~0.79.3",
44
47
  "alwaysAddToPackageJson": false
45
48
  },
46
49
  "@react-native/metro-config": {
47
- "version": "~0.76.3",
50
+ "version": "~0.79.3",
48
51
  "alwaysAddToPackageJson": false
49
52
  },
50
53
  "react-native-web": {
51
- "version": "~0.19.13",
54
+ "version": "~0.20.0",
52
55
  "alwaysAddToPackageJson": false
53
56
  },
54
57
  "react": {
55
- "version": "~18.3.1",
58
+ "version": "19.0.0",
56
59
  "alwaysAddToPackageJson": false
57
60
  },
58
61
  "react-dom": {
59
- "version": "~18.3.1",
62
+ "version": "19.0.0",
60
63
  "alwaysAddToPackageJson": false
61
64
  },
62
65
  "react-test-renderer": {
63
- "version": "~18.3.1",
66
+ "version": "~19.0.0",
64
67
  "alwaysAddToPackageJson": false
65
68
  },
66
69
  "@types/react": {
67
- "version": "~18.3.12",
70
+ "version": "~19.0.10",
68
71
  "alwaysAddToPackageJson": false
69
72
  },
70
73
  "@types/react-dom": {
71
- "version": "~18.3.1",
74
+ "version": "~19.0.6",
72
75
  "alwaysAddToPackageJson": false
73
76
  },
74
77
  "@testing-library/react-native": {
75
- "version": "~12.9.0",
78
+ "version": "~13.2.0",
76
79
  "alwaysAddToPackageJson": false
77
80
  },
78
81
  "react-native-svg-transformer": {
79
- "version": "~1.5.0",
82
+ "version": "~1.5.1",
80
83
  "alwaysAddToPackageJson": false
81
84
  },
82
85
  "react-native-svg": {
83
- "version": "~15.8.0",
86
+ "version": "~15.11.2",
84
87
  "alwaysAddToPackageJson": false
85
88
  },
86
89
  "react-native-svg-web": {
87
90
  "version": "~1.0.9",
88
- "addToPackageJson": "devDependencies"
91
+ "alwaysAddToPackageJson": false
89
92
  },
90
93
  "@babel/runtime": {
91
- "version": "~7.26.0",
94
+ "version": "~7.27.6",
92
95
  "alwaysAddToPackageJson": false
93
96
  }
94
97
  }
95
98
  },
96
- "21.4.0": {
97
- "version": "21.4.0-beta.0",
99
+ "23.0.0": {
100
+ "version": "23.0.0-beta.25",
101
+ "requires": {
102
+ "react-native": ">=0.83.0 <0.84.0"
103
+ },
98
104
  "packages": {
99
105
  "react-native": {
100
- "version": "~0.79.3",
106
+ "version": "~0.84.1",
101
107
  "alwaysAddToPackageJson": false
102
108
  },
103
109
  "@react-native-community/cli": {
104
- "version": "~18.0.0",
110
+ "version": "~20.1.0",
105
111
  "alwaysAddToPackageJson": true
106
112
  },
107
113
  "@react-native-community/cli-platform-android": {
108
- "version": "~18.0.0",
114
+ "version": "~20.1.0",
109
115
  "alwaysAddToPackageJson": true
110
116
  },
111
117
  "@react-native-community/cli-platform-ios": {
112
- "version": "~18.0.0",
118
+ "version": "~20.1.0",
113
119
  "alwaysAddToPackageJson": true
114
120
  },
115
121
  "@react-native/babel-preset": {
116
- "version": "~0.79.3",
122
+ "version": "~0.84.1",
117
123
  "alwaysAddToPackageJson": false
118
124
  },
119
125
  "@react-native/metro-config": {
120
- "version": "~0.79.3",
126
+ "version": "~0.84.1",
121
127
  "alwaysAddToPackageJson": false
122
128
  },
123
129
  "react-native-web": {
124
- "version": "~0.20.0",
130
+ "version": "~0.21.0",
125
131
  "alwaysAddToPackageJson": false
126
132
  },
127
133
  "react": {
128
- "version": "19.0.0",
134
+ "version": "^19.2.0",
129
135
  "alwaysAddToPackageJson": false
130
136
  },
131
137
  "react-dom": {
132
- "version": "19.0.0",
138
+ "version": "^19.2.0",
133
139
  "alwaysAddToPackageJson": false
134
140
  },
135
141
  "react-test-renderer": {
136
- "version": "~19.0.0",
142
+ "version": "^19.2.0",
137
143
  "alwaysAddToPackageJson": false
138
144
  },
139
145
  "@types/react": {
140
- "version": "~19.0.10",
146
+ "version": "^19.2.0",
141
147
  "alwaysAddToPackageJson": false
142
148
  },
143
149
  "@types/react-dom": {
144
- "version": "~19.0.6",
150
+ "version": "^19.2.0",
145
151
  "alwaysAddToPackageJson": false
146
152
  },
147
153
  "@testing-library/react-native": {
@@ -153,7 +159,7 @@
153
159
  "alwaysAddToPackageJson": false
154
160
  },
155
161
  "react-native-svg": {
156
- "version": "~15.11.2",
162
+ "version": "~15.15.0",
157
163
  "alwaysAddToPackageJson": false
158
164
  },
159
165
  "react-native-svg-web": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/react-native",
3
- "version": "23.0.0-beta.24",
3
+ "version": "23.0.0-beta.25",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for React Native contains generators for managing React Native applications and libraries within an Nx workspace. It provides: \n\n-Integration with libraries such as Jest, Detox, and Storybook.\n-Scaffolding for creating buildable libraries that can be published to npm.\n-Utilities for automatic workspace refactoring.",
6
6
  "keywords": [
@@ -23,41 +23,112 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "author": "Victor Savkin",
26
- "main": "./index.js",
26
+ "main": "./dist/index.js",
27
27
  "type": "commonjs",
28
- "types": "index.d.ts",
28
+ "types": "./dist/index.d.ts",
29
+ "files": [
30
+ "dist",
31
+ "!dist/tsconfig.tsbuildinfo",
32
+ "typings",
33
+ "migrations.json",
34
+ "executors.json",
35
+ "generators.json"
36
+ ],
37
+ "typesVersions": {
38
+ "*": {
39
+ "plugin": [
40
+ "dist/plugin.d.ts"
41
+ ],
42
+ "plugins/with-nx-metro": [
43
+ "dist/plugins/with-nx-metro.d.ts"
44
+ ],
45
+ "plugins/metro-resolver": [
46
+ "dist/plugins/metro-resolver.d.ts"
47
+ ],
48
+ "plugins/jest/svg-mock": [
49
+ "dist/plugins/jest/svg-mock.d.ts"
50
+ ],
51
+ "typings/*.d.ts": [
52
+ "dist/typings/*.d.ts"
53
+ ]
54
+ }
55
+ },
29
56
  "dependencies": {
30
- "@nx/devkit": "23.0.0-beta.24",
31
- "@nx/js": "23.0.0-beta.24",
32
- "@nx/eslint": "23.0.0-beta.24",
33
- "@nx/react": "23.0.0-beta.24",
34
- "@nx/webpack": "23.0.0-beta.24",
35
57
  "ajv": "^8.0.0",
36
58
  "enhanced-resolve": "^5.8.3",
37
59
  "ignore": "^7.0.5",
38
60
  "picocolors": "^1.1.0",
61
+ "semver": "^7.6.3",
39
62
  "tinyglobby": "^0.2.12",
40
63
  "tsconfig-paths": "^4.1.2",
41
- "tslib": "^2.3.0"
64
+ "tslib": "^2.3.0",
65
+ "@nx/eslint": "23.0.0-beta.25",
66
+ "@nx/devkit": "23.0.0-beta.25",
67
+ "@nx/js": "23.0.0-beta.25",
68
+ "@nx/react": "23.0.0-beta.25",
69
+ "@nx/webpack": "23.0.0-beta.25"
42
70
  },
43
71
  "peerDependencies": {
72
+ "react-native": ">=0.83.0 <0.85.0",
44
73
  "metro-config": ">= 0.82.0",
45
74
  "metro-resolver": ">= 0.82.0"
46
75
  },
76
+ "peerDependenciesMeta": {
77
+ "react-native": {
78
+ "optional": true
79
+ }
80
+ },
47
81
  "devDependencies": {
48
- "nx": "23.0.0-beta.24"
82
+ "nx": "23.0.0-beta.25"
49
83
  },
50
84
  "optionalDependencies": {
51
- "@nx/detox": "23.0.0-beta.24",
52
- "@nx/rollup": "23.0.0-beta.24"
85
+ "@nx/rollup": "23.0.0-beta.25",
86
+ "@nx/detox": "23.0.0-beta.25"
53
87
  },
54
88
  "executors": "./executors.json",
55
89
  "ng-update": {
56
90
  "requirements": {},
57
- "migrations": "./migrations.json"
91
+ "migrations": "./migrations.json",
92
+ "supportsOptionalUpdates": true
58
93
  },
59
94
  "generators": "./generators.json",
60
95
  "publishConfig": {
61
96
  "access": "public"
97
+ },
98
+ "exports": {
99
+ ".": {
100
+ "@nx/nx-source": "./index.ts",
101
+ "types": "./dist/index.d.ts",
102
+ "default": "./dist/index.js"
103
+ },
104
+ "./package.json": "./package.json",
105
+ "./migrations.json": "./migrations.json",
106
+ "./generators.json": "./generators.json",
107
+ "./executors.json": "./executors.json",
108
+ "./plugin": {
109
+ "@nx/nx-source": "./plugin.ts",
110
+ "types": "./dist/plugin.d.ts",
111
+ "default": "./dist/plugin.js"
112
+ },
113
+ "./plugins/with-nx-metro": {
114
+ "@nx/nx-source": "./plugins/with-nx-metro.ts",
115
+ "types": "./dist/plugins/with-nx-metro.d.ts",
116
+ "default": "./dist/plugins/with-nx-metro.js"
117
+ },
118
+ "./plugins/metro-resolver": {
119
+ "@nx/nx-source": "./plugins/metro-resolver.ts",
120
+ "types": "./dist/plugins/metro-resolver.d.ts",
121
+ "default": "./dist/plugins/metro-resolver.js"
122
+ },
123
+ "./plugins/jest/svg-mock": {
124
+ "@nx/nx-source": "./plugins/jest/svg-mock.ts",
125
+ "types": "./dist/plugins/jest/svg-mock.d.ts",
126
+ "default": "./dist/plugins/jest/svg-mock.js"
127
+ },
128
+ "./typings/*.d.ts": {
129
+ "@nx/nx-source": "./typings/*.d.ts",
130
+ "types": "./dist/typings/*.d.ts",
131
+ "default": "./dist/typings/*.d.ts"
132
+ }
62
133
  }
63
134
  }
package/index.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/react-native/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAC3F,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC"}
package/plugin.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../packages/react-native/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,aAAa,EACb,wBAAwB,GACzB,MAAM,kBAAkB,CAAC"}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=svg-mock.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"svg-mock.d.ts","sourceRoot":"","sources":["../../../../../packages/react-native/plugins/jest/svg-mock.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"metro-resolver.d.ts","sourceRoot":"","sources":["../../../../packages/react-native/plugins/metro-resolver.ts"],"names":[],"mappings":"AAkCA,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,MAAM,EAAE,EACpB,qBAAqB,GAAE,MAAM,EAAO,EACpC,UAAU,GAAE,MAAM,EAAO,IAGvB,UAAU,GAAG,EACb,gBAAgB,MAAM,EACtB,UAAU,MAAM,GAAG,IAAI,SAwC1B"}