@nx/react-native 23.0.0-beta.23 → 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 (272) 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/dist/src/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes.d.ts +9 -0
  53. package/dist/src/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes.js +136 -0
  54. package/{src → dist/src}/utils/add-jest.d.ts +2 -3
  55. package/{src → dist/src}/utils/add-linting.d.ts +0 -1
  56. package/{src → dist/src}/utils/add-linting.js +2 -2
  57. package/{src → dist/src}/utils/chmod-android-gradle-files.d.ts +0 -1
  58. package/{src → dist/src}/utils/deprecation.d.ts +0 -1
  59. package/{src → dist/src}/utils/ensure-dependencies.d.ts +0 -1
  60. package/dist/src/utils/ensure-dependencies.js +34 -0
  61. package/{src → dist/src}/utils/ensure-node-modules-symlink.d.ts +0 -1
  62. package/{src → dist/src}/utils/find-all-npm-dependencies.d.ts +0 -1
  63. package/{src → dist/src}/utils/get-cli-options.d.ts +0 -1
  64. package/{src → dist/src}/utils/pod-install-task.d.ts +0 -1
  65. package/{src → dist/src}/utils/react-native-project-detection.d.ts +0 -1
  66. package/{src → dist/src}/utils/testing-generators.d.ts +0 -1
  67. package/dist/src/utils/versions.d.ts +33 -0
  68. package/dist/src/utils/versions.js +73 -0
  69. package/dist/typings/svg.d.ts +7 -0
  70. package/executors.json +22 -22
  71. package/generators.json +12 -12
  72. package/migrations.json +48 -36
  73. package/package.json +84 -12
  74. package/index.d.ts.map +0 -1
  75. package/plugin.d.ts.map +0 -1
  76. package/plugins/jest/svg-mock.d.ts +0 -1
  77. package/plugins/jest/svg-mock.d.ts.map +0 -1
  78. package/plugins/metro-resolver.d.ts.map +0 -1
  79. package/plugins/plugin.d.ts.map +0 -1
  80. package/plugins/with-nx-metro.d.ts.map +0 -1
  81. package/src/executors/build-android/build-android.impl.d.ts.map +0 -1
  82. package/src/executors/build-ios/build-ios.impl.d.ts.map +0 -1
  83. package/src/executors/bundle/bundle.impl.d.ts.map +0 -1
  84. package/src/executors/ensure-symlink/ensure-symlink.impl.d.ts.map +0 -1
  85. package/src/executors/pod-install/pod-install.impl.d.ts.map +0 -1
  86. package/src/executors/run-android/run-android.impl.d.ts.map +0 -1
  87. package/src/executors/run-ios/run-ios.impl.d.ts.map +0 -1
  88. package/src/executors/start/lib/is-packager-running.d.ts.map +0 -1
  89. package/src/executors/start/start.impl.d.ts.map +0 -1
  90. package/src/executors/storybook/storybook.impl.d.ts.map +0 -1
  91. package/src/executors/sync-deps/sync-deps.impl.d.ts.map +0 -1
  92. package/src/executors/upgrade/upgrade.impl.d.ts.map +0 -1
  93. package/src/generators/application/application.d.ts.map +0 -1
  94. package/src/generators/application/lib/add-e2e.d.ts.map +0 -1
  95. package/src/generators/application/lib/add-project.d.ts.map +0 -1
  96. package/src/generators/application/lib/create-application-files.d.ts.map +0 -1
  97. package/src/generators/application/lib/normalize-options.d.ts.map +0 -1
  98. package/src/generators/component/component.d.ts.map +0 -1
  99. package/src/generators/component/lib/add-import.d.ts.map +0 -1
  100. package/src/generators/component/lib/normalize-options.d.ts.map +0 -1
  101. package/src/generators/convert-to-inferred/convert-to-inferred.d.ts.map +0 -1
  102. package/src/generators/convert-to-inferred/lib/create-process-options.d.ts.map +0 -1
  103. package/src/generators/convert-to-inferred/lib/post-target-transformer.d.ts.map +0 -1
  104. package/src/generators/convert-to-inferred/lib/process-start-options.d.ts.map +0 -1
  105. package/src/generators/init/init.d.ts.map +0 -1
  106. package/src/generators/init/lib/add-git-ignore-entry.d.ts.map +0 -1
  107. package/src/generators/init/lib/gitignore-entries.d.ts.map +0 -1
  108. package/src/generators/library/lib/normalize-options.d.ts.map +0 -1
  109. package/src/generators/library/library.d.ts.map +0 -1
  110. package/src/generators/web-configuration/lib/normalize-schema.d.ts.map +0 -1
  111. package/src/generators/web-configuration/lib/webpack-targets.d.ts.map +0 -1
  112. package/src/generators/web-configuration/web-configuration.d.ts.map +0 -1
  113. package/src/migrations/update-21-4-0/remove-deprecated-deps.d.ts.map +0 -1
  114. package/src/migrations/update-21-4-0/upgrade-react-native-projects.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}/utils/add-jest.js +0 -0
  265. /package/{src → dist/src}/utils/chmod-android-gradle-files.js +0 -0
  266. /package/{src → dist/src}/utils/deprecation.js +0 -0
  267. /package/{src → dist/src}/utils/ensure-node-modules-symlink.js +0 -0
  268. /package/{src → dist/src}/utils/find-all-npm-dependencies.js +0 -0
  269. /package/{src → dist/src}/utils/get-cli-options.js +0 -0
  270. /package/{src → dist/src}/utils/pod-install-task.js +0 -0
  271. /package/{src → dist/src}/utils/react-native-project-detection.js +0 -0
  272. /package/{src → dist/src}/utils/testing-generators.js +0 -0
@@ -0,0 +1,136 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = migrateCreateNodesV2ToCreateNodes;
4
+ exports.rewriteCreateNodesV2Imports = rewriteCreateNodesV2Imports;
5
+ const devkit_1 = require("@nx/devkit");
6
+ const TS_EXTENSIONS = ['.ts', '.tsx', '.cts', '.mts'];
7
+ const DEPRECATED_NAME = 'createNodesV2';
8
+ const CANONICAL_NAME = 'createNodes';
9
+ // Module specifiers from which `@nx/react-native` publicly exposes `createNodesV2`.
10
+ // A named import or re-export of `createNodesV2` from one of these is rewritten
11
+ // to the canonical `createNodes` export.
12
+ const TARGET_SPECIFIERS = new Set([
13
+ '@nx/react-native/plugin',
14
+ ]);
15
+ let ts;
16
+ async function migrateCreateNodesV2ToCreateNodes(tree) {
17
+ let touchedCount = 0;
18
+ (0, devkit_1.visitNotIgnoredFiles)(tree, '.', (filePath) => {
19
+ if (!TS_EXTENSIONS.some((ext) => filePath.endsWith(ext))) {
20
+ return;
21
+ }
22
+ const original = tree.read(filePath, 'utf-8');
23
+ if (!original || !original.includes(DEPRECATED_NAME)) {
24
+ return;
25
+ }
26
+ const updated = rewriteCreateNodesV2Imports(original, TARGET_SPECIFIERS);
27
+ if (updated !== original) {
28
+ tree.write(filePath, updated);
29
+ touchedCount += 1;
30
+ }
31
+ });
32
+ if (touchedCount > 0) {
33
+ devkit_1.logger.info(`Renamed \`${DEPRECATED_NAME}\` imports to \`${CANONICAL_NAME}\` in ${touchedCount} file(s).`);
34
+ }
35
+ await (0, devkit_1.formatFiles)(tree);
36
+ }
37
+ /**
38
+ * Rewrites named imports and re-exports of `createNodesV2` to `createNodes`
39
+ * when they come from one of the given module specifiers. Only the named
40
+ * bindings are touched — the module specifier, the `import`/`export` keyword,
41
+ * any `type` modifier, and any default import are left untouched.
42
+ */
43
+ function rewriteCreateNodesV2Imports(source, specifiers) {
44
+ ts ??= (0, devkit_1.ensurePackage)('typescript', '*');
45
+ const sourceFile = ts.createSourceFile('tmp.ts', source, ts.ScriptTarget.Latest,
46
+ /* setParentNodes */ true, ts.ScriptKind.TSX);
47
+ const changes = [];
48
+ for (const stmt of sourceFile.statements) {
49
+ if (ts.isImportDeclaration(stmt)) {
50
+ collectImportRewrite(sourceFile, stmt, specifiers, changes);
51
+ }
52
+ else if (ts.isExportDeclaration(stmt)) {
53
+ collectExportRewrite(sourceFile, stmt, specifiers, changes);
54
+ }
55
+ }
56
+ return changes.length > 0 ? (0, devkit_1.applyChangesToString)(source, changes) : source;
57
+ }
58
+ function isTargetSpecifier(node, specifiers) {
59
+ return ts.isStringLiteral(node) && specifiers.has(node.text);
60
+ }
61
+ function collectImportRewrite(sourceFile, stmt, specifiers, changes) {
62
+ if (!isTargetSpecifier(stmt.moduleSpecifier, specifiers)) {
63
+ return;
64
+ }
65
+ const namedBindings = stmt.importClause?.namedBindings;
66
+ // Only `import { ... }` carries renameable named bindings. `import x`,
67
+ // `import * as ns`, and side-effect imports reference the module wholesale
68
+ // and keep working through the `createNodesV2` runtime alias, so we leave
69
+ // them be. A mixed `import def, { createNodesV2 }` still has its named
70
+ // bindings rewritten below — the default binding is untouched.
71
+ if (!namedBindings || !ts.isNamedImports(namedBindings)) {
72
+ return;
73
+ }
74
+ rewriteNamedBindings(sourceFile, namedBindings, changes);
75
+ }
76
+ function collectExportRewrite(sourceFile, stmt, specifiers, changes) {
77
+ if (!stmt.moduleSpecifier ||
78
+ !isTargetSpecifier(stmt.moduleSpecifier, specifiers)) {
79
+ return;
80
+ }
81
+ // `export { ... } from '...'` can be rewritten; `export * from '...'` has no
82
+ // named bindings to rename.
83
+ if (!stmt.exportClause || !ts.isNamedExports(stmt.exportClause)) {
84
+ return;
85
+ }
86
+ rewriteNamedBindings(sourceFile, stmt.exportClause, changes);
87
+ }
88
+ /**
89
+ * Re-renders the `{ ... }` of a named import/export, renaming any
90
+ * `createNodesV2` specifier to `createNodes`. If renaming would collide with a
91
+ * `createNodes` that is already present (e.g. `{ createNodes, createNodesV2 }`),
92
+ * the duplicate is dropped. Returns without recording a change when the binding
93
+ * list contains no `createNodesV2`.
94
+ */
95
+ function rewriteNamedBindings(sourceFile, namedBindings, changes) {
96
+ const elements = namedBindings.elements;
97
+ const hasDeprecated = elements.some((el) => (el.propertyName ?? el.name).text === DEPRECATED_NAME);
98
+ if (!hasDeprecated) {
99
+ return;
100
+ }
101
+ const seen = new Set();
102
+ const rendered = [];
103
+ for (const el of elements) {
104
+ const text = renderSpecifier(el);
105
+ if (!seen.has(text)) {
106
+ seen.add(text);
107
+ rendered.push(text);
108
+ }
109
+ }
110
+ const start = namedBindings.getStart(sourceFile);
111
+ changes.push({
112
+ type: devkit_1.ChangeType.Delete,
113
+ start,
114
+ length: namedBindings.getEnd() - start,
115
+ }, {
116
+ type: devkit_1.ChangeType.Insert,
117
+ index: start,
118
+ text: `{ ${rendered.join(', ')} }`,
119
+ });
120
+ }
121
+ function renderSpecifier(el) {
122
+ const typePrefix = el.isTypeOnly ? 'type ' : '';
123
+ const rename = (name) => name === DEPRECATED_NAME ? CANONICAL_NAME : name;
124
+ // `{ name }` — no alias, so the local binding follows the rename.
125
+ if (!el.propertyName) {
126
+ return `${typePrefix}${rename(el.name.text)}`;
127
+ }
128
+ // `{ propertyName as name }` — only the imported (left) side is renamed; the
129
+ // local alias is preserved. A now-redundant alias such as
130
+ // `createNodesV2 as createNodes` collapses to `createNodes`.
131
+ const canonicalImported = rename(el.propertyName.text);
132
+ const localName = el.name.text;
133
+ return canonicalImported === localName
134
+ ? `${typePrefix}${localName}`
135
+ : `${typePrefix}${canonicalImported} as ${localName}`;
136
+ }
@@ -1,3 +1,2 @@
1
- import { Tree } from '@nx/devkit';
2
- export declare function addJest(host: Tree, unitTestRunner: 'jest' | 'none', projectName: string, appProjectRoot: string, js: boolean, skipPackageJson: boolean, addPlugin: boolean, runtimeTsconfigFileName: string): Promise<() => void>;
3
- //# sourceMappingURL=add-jest.d.ts.map
1
+ import { GeneratorCallback, Tree } from '@nx/devkit';
2
+ export declare function addJest(host: Tree, unitTestRunner: 'jest' | 'none', projectName: string, appProjectRoot: string, js: boolean, skipPackageJson: boolean, addPlugin: boolean, runtimeTsconfigFileName: string): Promise<GeneratorCallback>;
@@ -13,4 +13,3 @@ interface NormalizedSchema {
13
13
  }
14
14
  export declare function addLinting(host: Tree, options: NormalizedSchema): Promise<GeneratorCallback>;
15
15
  export {};
16
- //# sourceMappingURL=add-linting.d.ts.map
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.addLinting = addLinting;
4
4
  const eslint_1 = require("@nx/eslint");
5
5
  const devkit_1 = require("@nx/devkit");
6
- const lint_1 = require("@nx/react/src/utils/lint");
6
+ const react_1 = require("@nx/react");
7
7
  const internal_1 = require("@nx/eslint/internal");
8
8
  async function addLinting(host, options) {
9
9
  if (options.linter === 'none') {
@@ -70,7 +70,7 @@ async function addLinting(host, options) {
70
70
  ]);
71
71
  }
72
72
  if (!options.skipPackageJson) {
73
- const installTask = (0, devkit_1.addDependenciesToPackageJson)(host, lint_1.extraEslintDependencies.dependencies, lint_1.extraEslintDependencies.devDependencies);
73
+ const installTask = (0, devkit_1.addDependenciesToPackageJson)(host, react_1.extraEslintDependencies.dependencies, react_1.extraEslintDependencies.devDependencies, undefined, true);
74
74
  tasks.push(installTask);
75
75
  }
76
76
  return (0, devkit_1.runTasksInSerial)(...tasks);
@@ -1,4 +1,3 @@
1
1
  import { GeneratorCallback } from '@nx/devkit';
2
2
  export declare function chmodAndroidGradlewFiles(androidFolder: string): void;
3
3
  export declare function chmodAndroidGradlewFilesTask(androidFolder: string): GeneratorCallback;
4
- //# sourceMappingURL=chmod-android-gradle-files.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export declare function warnReactNativeExecutorDeprecation(executorName: string): void;
2
2
  export declare function warnReactNativeExecutorGenerating(): void;
3
- //# sourceMappingURL=deprecation.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import { GeneratorCallback, Tree } from '@nx/devkit';
2
2
  export declare function ensureDependencies(tree: Tree, unitTestRunner?: 'jest' | 'none'): GeneratorCallback;
3
- //# sourceMappingURL=ensure-dependencies.d.ts.map
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ensureDependencies = ensureDependencies;
4
+ const devkit_1 = require("@nx/devkit");
5
+ const internal_1 = require("@nx/react/internal");
6
+ const versions_1 = require("./versions");
7
+ function ensureDependencies(tree, unitTestRunner) {
8
+ const isPnpm = (0, devkit_1.detectPackageManager)(tree.root) === 'pnpm';
9
+ const rnVersions = (0, versions_1.versions)(tree);
10
+ return (0, devkit_1.addDependenciesToPackageJson)(tree, {}, {
11
+ '@types/node': versions_1.typesNodeVersion,
12
+ '@types/react': versions_1.typesReactVersion,
13
+ '@react-native/babel-preset': rnVersions.reactNativeBabelPresetVersion,
14
+ '@react-native/metro-config': rnVersions.reactNativeMetroConfigVersion,
15
+ '@react-native-community/cli': rnVersions.reactNativeCommunityCliVersion,
16
+ '@react-native-community/cli-platform-android': rnVersions.reactNativeCommunityCliPlatformAndroidVersion,
17
+ '@react-native-community/cli-platform-ios': rnVersions.reactNativeCommunityCliPlatformIosVersion,
18
+ 'react-native-svg-transformer': versions_1.reactNativeSvgTransformerVersion,
19
+ 'react-native-svg': versions_1.reactNativeSvgVersion,
20
+ '@babel/preset-react': internal_1.babelPresetReactVersion,
21
+ '@babel/core': internal_1.babelCoreVersion,
22
+ ...(unitTestRunner === 'jest'
23
+ ? {
24
+ '@testing-library/react-native': versions_1.testingLibraryReactNativeVersion,
25
+ 'react-test-renderer': versions_1.reactTestRendererVersion,
26
+ }
27
+ : {}),
28
+ ...(isPnpm
29
+ ? {
30
+ '@babel/runtime': versions_1.babelRuntimeVersion, // @babel/runtime is used by react-native-svg
31
+ }
32
+ : {}),
33
+ }, undefined, true);
34
+ }
@@ -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
  }