@nrwl/react-native 15.9.0-beta.1 → 15.9.0-beta.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrwl/react-native",
3
- "version": "15.9.0-beta.1",
3
+ "version": "15.9.0-beta.3",
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": [
@@ -25,13 +25,13 @@
25
25
  "main": "index.js",
26
26
  "types": "index.d.ts",
27
27
  "dependencies": {
28
- "@nrwl/detox": "15.9.0-beta.1",
29
- "@nrwl/devkit": "15.9.0-beta.1",
30
- "@nrwl/jest": "15.9.0-beta.1",
31
- "@nrwl/js": "15.9.0-beta.1",
32
- "@nrwl/linter": "15.9.0-beta.1",
33
- "@nrwl/react": "15.9.0-beta.1",
34
- "@nrwl/workspace": "15.9.0-beta.1",
28
+ "@nrwl/detox": "15.9.0-beta.3",
29
+ "@nrwl/devkit": "15.9.0-beta.3",
30
+ "@nrwl/jest": "15.9.0-beta.3",
31
+ "@nrwl/js": "15.9.0-beta.3",
32
+ "@nrwl/linter": "15.9.0-beta.3",
33
+ "@nrwl/react": "15.9.0-beta.3",
34
+ "@nrwl/workspace": "15.9.0-beta.3",
35
35
  "chalk": "^4.1.0",
36
36
  "enhanced-resolve": "^5.8.3",
37
37
  "fs-extra": "^11.1.0",
@@ -53,5 +53,5 @@
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
- "gitHead": "0ef06e4af7c17cf84717a2941f82f3e41e5c2c89"
56
+ "gitHead": "4b41eb7028bac3d95e5e75087288d944824ed500"
57
57
  }
@@ -53,8 +53,7 @@
53
53
  "install": {
54
54
  "type": "boolean",
55
55
  "description": "Runs `pod install` for native modules before building iOS app.",
56
- "default": true,
57
- "x-priority": "internal"
56
+ "default": false
58
57
  },
59
58
  "sync": {
60
59
  "type": "boolean",
@@ -1,6 +1,5 @@
1
1
  require_relative '<%= offsetFromRoot %>../node_modules/react-native/scripts/react_native_pods'
2
2
  require_relative '<%= offsetFromRoot %>../node_modules/@react-native-community/cli-platform-ios/native_modules'
3
- require_relative '<%= offsetFromRoot %>../node_modules/@nrwl/react-native/nx_post_install'
4
3
 
5
4
  platform :ios, min_ios_version_supported
6
5
  prepare_react_native_project!
@@ -57,6 +56,5 @@ target '<%= className %>' do
57
56
  :mac_catalyst_enabled => false
58
57
  )
59
58
  __apply_Xcode_12_5_M1_post_install_workaround(installer)
60
- nx_post_install(installer)
61
59
  end
62
60
  end
@@ -9,6 +9,7 @@
9
9
  "react-native": "*",
10
10
  "react-native-config": "*",
11
11
  "react-native-svg": "*",
12
+ "metro-config": "*",
12
13
  "@react-native-async-storage/async-storage": "*"
13
14
  }
14
15
  }
@@ -1,15 +0,0 @@
1
- def nx_post_install (installer)
2
- Pod::UI.info("[Nx] Updating build settings to support custom port")
3
- installer.pods_project.targets.each do |target|
4
- if ['React', 'React-Core'].include?(target.name)
5
- target.build_configurations.each do |build_configuration|
6
- if build_configuration.name == 'Debug'
7
- gcc_preprocessor_defs = build_configuration.build_settings['GCC_PREPROCESSOR_DEFINITIONS']
8
- gcc_preprocessor_defs ||= %w($(inherited) COCOAPODS=1 DEBUG=1)
9
- gcc_preprocessor_defs << 'RCT_METRO_PORT=${RCT_METRO_PORT}' unless gcc_preprocessor_defs.include?('RCT_METRO_PORT')
10
- build_configuration.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = gcc_preprocessor_defs
11
- end
12
- end
13
- end
14
- end
15
- end