@nrwl/react-native 15.6.1 → 15.6.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/CHANGELOG.md +1 -1
- package/migrations.json +77 -0
- package/package.json +11 -11
- package/plugins/metro-resolver.js +16 -5
- package/plugins/metro-resolver.js.map +1 -1
- package/src/executors/build-android/build-android.impl.js +2 -3
- package/src/executors/build-android/build-android.impl.js.map +1 -1
- package/src/executors/build-android/build-android.impl.ts +2 -3
- package/src/executors/run-android/run-android.impl.js +2 -3
- package/src/executors/run-android/run-android.impl.js.map +1 -1
- package/src/executors/run-android/run-android.impl.ts +2 -2
- package/src/executors/run-ios/schema.json +8 -2
- package/src/generators/application/application.d.ts +1 -1
- package/src/generators/application/application.js +5 -6
- package/src/generators/application/application.js.map +1 -1
- package/src/generators/application/application.spec.ts +4 -4
- package/src/generators/application/files/app/.ruby-version +1 -0
- package/src/generators/application/files/app/Gemfile.template +6 -0
- package/src/generators/application/files/app/android/app/build.gradle.template +71 -217
- package/src/generators/application/files/app/android/app/src/androidTest/java/com/__lowerCaseName__/DetoxTest.java.template +2 -8
- package/src/generators/application/files/app/android/app/src/debug/java/com/__lowerCaseName__/ReactNativeFlipper.java.template +4 -2
- package/src/generators/application/files/app/android/app/src/main/AndroidManifest.xml.template +3 -3
- package/src/generators/application/files/app/android/app/src/main/java/com/__lowerCaseName__/MainActivity.java.template +13 -26
- package/src/generators/application/files/app/android/app/src/main/java/com/__lowerCaseName__/MainApplication.java.template +19 -48
- package/src/generators/application/files/app/android/app/src/release/java/com/__lowerCaseName__/ReactNativeFlipper.java.template +20 -0
- package/src/generators/application/files/app/android/build.gradle.template +13 -36
- package/src/generators/application/files/app/android/gradle.properties +4 -0
- package/src/generators/application/files/app/android/settings.gradle.template +2 -17
- package/src/generators/application/files/app/ios/Podfile.template +21 -5
- package/src/generators/application/files/app/ios/__className__/AppDelegate.h +2 -4
- package/src/generators/application/files/app/ios/__className__/AppDelegate.mm.template +12 -109
- package/src/generators/application/files/app/ios/__className__/Info.plist.template +2 -2
- package/src/generators/application/files/app/ios/__className__.xcodeproj/project.pbxproj.template +4 -2
- package/src/generators/application/files/app/ios/__className__.xcworkspace/xcshareddata/contents.xcworkspacedata +10 -0
- package/src/generators/init/init.js +8 -7
- package/src/generators/init/init.js.map +1 -1
- package/src/generators/init/lib/gitignore-entries.d.ts +1 -1
- package/src/generators/init/lib/gitignore-entries.js +17 -10
- package/src/generators/init/lib/gitignore-entries.js.map +1 -1
- package/src/generators/upgrade-native/upgrade-native.d.ts +1 -1
- package/src/generators/upgrade-native/upgrade-native.js +7 -9
- package/src/generators/upgrade-native/upgrade-native.js.map +1 -1
- package/src/utils/chmod-android-gradle-files.d.ts +3 -0
- package/src/utils/chmod-android-gradle-files.js +24 -0
- package/src/utils/chmod-android-gradle-files.js.map +1 -0
- package/src/utils/versions.d.ts +14 -14
- package/src/utils/versions.js +14 -14
- package/src/utils/versions.js.map +1 -1
- package/src/generators/application/files/app/android/app/_BUCK.template +0 -55
- package/src/generators/application/files/app/android/app/build_defs.bzl +0 -19
- package/src/generators/application/files/app/android/app/src/main/java/com/__lowerCaseName__/newarchitecture/MainApplicationReactNativeHost.java.template +0 -116
- package/src/generators/application/files/app/android/app/src/main/java/com/__lowerCaseName__/newarchitecture/components/MainComponentsRegistry.java.template +0 -36
- package/src/generators/application/files/app/android/app/src/main/java/com/__lowerCaseName__/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java.template +0 -48
- package/src/generators/application/files/app/android/app/src/main/jni/CMakeLists.txt.template +0 -6
- package/src/generators/application/files/app/android/app/src/main/jni/MainApplicationModuleProvider.cpp +0 -32
- package/src/generators/application/files/app/android/app/src/main/jni/MainApplicationModuleProvider.h +0 -16
- package/src/generators/application/files/app/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp +0 -45
- package/src/generators/application/files/app/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h.template +0 -38
- package/src/generators/application/files/app/android/app/src/main/jni/MainComponentsRegistry.cpp +0 -65
- package/src/generators/application/files/app/android/app/src/main/jni/MainComponentsRegistry.h.template +0 -32
- package/src/generators/application/files/app/android/app/src/main/jni/OnLoad.cpp +0 -11
- package/src/generators/application/files/app/ios/__className__.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/src/utils/chmod-task.d.ts +0 -2
- package/src/utils/chmod-task.js +0 -18
- package/src/utils/chmod-task.js.map +0 -1
|
@@ -2,56 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
buildscript {
|
|
4
4
|
ext {
|
|
5
|
-
buildToolsVersion = "
|
|
5
|
+
buildToolsVersion = "33.0.0"
|
|
6
6
|
minSdkVersion = 21
|
|
7
|
-
compileSdkVersion =
|
|
8
|
-
targetSdkVersion =
|
|
9
|
-
|
|
10
|
-
kotlinVersion = '1.7.10'
|
|
11
|
-
<% } %>
|
|
7
|
+
compileSdkVersion = 33
|
|
8
|
+
targetSdkVersion = 33
|
|
9
|
+
kotlinVersion = "1.7.21"
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
ndkVersion = "24.0.8215888"
|
|
16
|
-
} else {
|
|
17
|
-
// Otherwise we default to the side-by-side NDK version from AGP.
|
|
18
|
-
ndkVersion = "21.4.7075529"
|
|
19
|
-
}
|
|
11
|
+
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
|
|
12
|
+
ndkVersion = "23.1.7779620"
|
|
20
13
|
}
|
|
21
14
|
repositories {
|
|
22
15
|
google()
|
|
23
16
|
mavenCentral()
|
|
24
17
|
}
|
|
25
18
|
dependencies {
|
|
26
|
-
classpath("com.android.tools.build:gradle:7.
|
|
19
|
+
classpath("com.android.tools.build:gradle:7.3.1")
|
|
27
20
|
classpath("com.facebook.react:react-native-gradle-plugin")
|
|
28
|
-
classpath("
|
|
29
|
-
<% if (e2eTestRunner === 'detox') { %>
|
|
30
|
-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
|
31
|
-
<% } %>
|
|
32
|
-
// NOTE: Do not place your application dependencies here; they belong
|
|
33
|
-
// in the individual module build.gradle files
|
|
21
|
+
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
|
|
34
22
|
}
|
|
35
23
|
}
|
|
36
24
|
|
|
37
25
|
allprojects {
|
|
38
26
|
repositories {
|
|
27
|
+
<% if (e2eTestRunner === 'detox') { %>
|
|
39
28
|
maven {
|
|
40
|
-
//
|
|
41
|
-
url("$rootDir/../node_modules/
|
|
42
|
-
}
|
|
43
|
-
maven {
|
|
44
|
-
// Android JSC is installed from npm
|
|
45
|
-
url("$rootDir/../node_modules/jsc-android/dist")
|
|
46
|
-
}
|
|
47
|
-
mavenCentral {
|
|
48
|
-
// We don't want to fetch react-native from Maven Central as there are
|
|
49
|
-
// older versions over there.
|
|
50
|
-
content {
|
|
51
|
-
excludeGroup "com.facebook.react"
|
|
52
|
-
}
|
|
29
|
+
// https://wix.github.io/Detox/docs/introduction/project-setup
|
|
30
|
+
url("$rootDir/../node_modules/detox/Detox-android")
|
|
53
31
|
}
|
|
54
|
-
|
|
55
|
-
maven { url 'https://www.jitpack.io' }
|
|
32
|
+
<% } %>
|
|
56
33
|
}
|
|
57
|
-
}
|
|
34
|
+
}
|
|
@@ -38,3 +38,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
|
|
|
38
38
|
# to write custom TurboModules/Fabric components OR use libraries that
|
|
39
39
|
# are providing them.
|
|
40
40
|
newArchEnabled=false
|
|
41
|
+
|
|
42
|
+
# Use this property to enable or disable the Hermes JS engine.
|
|
43
|
+
# If set to false, you will be using JSC instead.
|
|
44
|
+
hermesEnabled=true
|
|
@@ -1,22 +1,7 @@
|
|
|
1
1
|
rootProject.name = '<%= className %>'
|
|
2
2
|
|
|
3
3
|
include ':react-native-config'
|
|
4
|
-
project(':react-native-config').projectDir = new File(rootProject.projectDir, '
|
|
5
|
-
|
|
6
|
-
<% if (e2eTestRunner === 'detox') { %>
|
|
7
|
-
include ':detox'
|
|
8
|
-
project(':detox').projectDir = new File(rootProject.projectDir, '../node_modules/detox/android/detox')
|
|
9
|
-
<% } %>
|
|
10
|
-
|
|
11
|
-
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle");
|
|
12
|
-
applyNativeModulesSettingsGradle(settings)
|
|
13
|
-
|
|
4
|
+
project(':react-native-config').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-config/android')
|
|
5
|
+
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
|
|
14
6
|
include ':app'
|
|
15
7
|
includeBuild('../node_modules/react-native-gradle-plugin')
|
|
16
|
-
|
|
17
|
-
if (settings.hasProperty("newArchEnabled") && settings.newArchEnabled == "true") {
|
|
18
|
-
include(":ReactAndroid")
|
|
19
|
-
project(":ReactAndroid").projectDir = file('../node_modules/react-native/ReactAndroid')
|
|
20
|
-
include(":ReactAndroid:hermes-engine")
|
|
21
|
-
project(":ReactAndroid:hermes-engine").projectDir = file('../node_modules/react-native/ReactAndroid/hermes-engine')
|
|
22
|
-
}
|
|
@@ -2,8 +2,25 @@ require_relative '<%= offsetFromRoot %>../node_modules/react-native/scripts/reac
|
|
|
2
2
|
require_relative '<%= offsetFromRoot %>../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
3
3
|
require_relative '<%= offsetFromRoot %>../node_modules/@nrwl/react-native/nx_post_install'
|
|
4
4
|
|
|
5
|
-
platform :ios,
|
|
6
|
-
|
|
5
|
+
platform :ios, min_ios_version_supported
|
|
6
|
+
prepare_react_native_project!
|
|
7
|
+
|
|
8
|
+
# If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
|
|
9
|
+
# because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
|
|
10
|
+
#
|
|
11
|
+
# To fix this you can also exclude `react-native-flipper` using a `react-native.config.js`
|
|
12
|
+
# ```js
|
|
13
|
+
# module.exports = {
|
|
14
|
+
# dependencies: {
|
|
15
|
+
# ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
|
|
16
|
+
# ```
|
|
17
|
+
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
|
|
18
|
+
|
|
19
|
+
linkage = ENV['USE_FRAMEWORKS']
|
|
20
|
+
if linkage != nil
|
|
21
|
+
Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
|
|
22
|
+
use_frameworks! :linkage => linkage.to_sym
|
|
23
|
+
end
|
|
7
24
|
|
|
8
25
|
target '<%= className %>' do
|
|
9
26
|
config = use_native_modules!
|
|
@@ -16,14 +33,13 @@ target '<%= className %>' do
|
|
|
16
33
|
# Hermes is now enabled by default. Disable by setting this flag to false.
|
|
17
34
|
# Upcoming versions of React Native may rely on get_default_flags(), but
|
|
18
35
|
# we make it explicit here to aid in the React Native upgrade process.
|
|
19
|
-
|
|
20
|
-
:hermes_enabled => false,
|
|
36
|
+
:hermes_enabled => flags[:hermes_enabled],
|
|
21
37
|
:fabric_enabled => flags[:fabric_enabled],
|
|
22
38
|
# Enables Flipper.
|
|
23
39
|
#
|
|
24
40
|
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
|
25
41
|
# you should disable the next line.
|
|
26
|
-
:flipper_configuration =>
|
|
42
|
+
:flipper_configuration => flipper_config,
|
|
27
43
|
# An absolute path to your application root.
|
|
28
44
|
:app_path => "#{Pod::Config.instance.installation_root}/.."
|
|
29
45
|
)
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
#import <
|
|
1
|
+
#import <RCTAppDelegate.h>
|
|
2
2
|
#import <UIKit/UIKit.h>
|
|
3
3
|
|
|
4
|
-
@interface AppDelegate :
|
|
5
|
-
|
|
6
|
-
@property (nonatomic, strong) UIWindow *window;
|
|
4
|
+
@interface AppDelegate : RCTAppDelegate
|
|
7
5
|
|
|
8
6
|
@end
|
|
@@ -1,85 +1,17 @@
|
|
|
1
1
|
#import "AppDelegate.h"
|
|
2
2
|
|
|
3
|
-
#import <React/RCTBridge.h>
|
|
4
3
|
#import <React/RCTBundleURLProvider.h>
|
|
5
|
-
#import <React/RCTRootView.h>
|
|
6
|
-
|
|
7
|
-
#import <React/RCTAppSetupUtils.h>
|
|
8
|
-
|
|
9
|
-
#if RCT_NEW_ARCH_ENABLED
|
|
10
|
-
#import <React/CoreModulesPlugins.h>
|
|
11
|
-
#import <React/RCTCxxBridgeDelegate.h>
|
|
12
|
-
#import <React/RCTFabricSurfaceHostingProxyRootView.h>
|
|
13
|
-
#import <React/RCTSurfacePresenter.h>
|
|
14
|
-
#import <React/RCTSurfacePresenterBridgeAdapter.h>
|
|
15
|
-
#import <ReactCommon/RCTTurboModuleManager.h>
|
|
16
|
-
|
|
17
|
-
#import <react/config/ReactNativeConfig.h>
|
|
18
|
-
|
|
19
|
-
static NSString *const kRNConcurrentRoot = @"concurrentRoot";
|
|
20
|
-
|
|
21
|
-
@interface AppDelegate () <RCTCxxBridgeDelegate, RCTTurboModuleManagerDelegate> {
|
|
22
|
-
RCTTurboModuleManager *_turboModuleManager;
|
|
23
|
-
RCTSurfacePresenterBridgeAdapter *_bridgeAdapter;
|
|
24
|
-
std::shared_ptr<const facebook::react::ReactNativeConfig> _reactNativeConfig;
|
|
25
|
-
facebook::react::ContextContainer::Shared _contextContainer;
|
|
26
|
-
}
|
|
27
|
-
@end
|
|
28
|
-
#endif
|
|
29
4
|
|
|
30
5
|
@implementation AppDelegate
|
|
31
6
|
|
|
32
7
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
|
33
8
|
{
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
#if RCT_NEW_ARCH_ENABLED
|
|
39
|
-
_contextContainer = std::make_shared<facebook::react::ContextContainer const>();
|
|
40
|
-
_reactNativeConfig = std::make_shared<facebook::react::EmptyReactNativeConfig const>();
|
|
41
|
-
_contextContainer->insert("ReactNativeConfig", _reactNativeConfig);
|
|
42
|
-
_bridgeAdapter = [[RCTSurfacePresenterBridgeAdapter alloc] initWithBridge:bridge contextContainer:_contextContainer];
|
|
43
|
-
bridge.surfacePresenter = _bridgeAdapter.surfacePresenter;
|
|
44
|
-
#endif
|
|
45
|
-
|
|
46
|
-
NSDictionary *initProps = [self prepareInitialProps];
|
|
47
|
-
UIView *rootView = RCTAppSetupDefaultRootView(bridge, @"<%= className %>", initProps);
|
|
48
|
-
|
|
49
|
-
if (@available(iOS 13.0, *)) {
|
|
50
|
-
rootView.backgroundColor = [UIColor systemBackgroundColor];
|
|
51
|
-
} else {
|
|
52
|
-
rootView.backgroundColor = [UIColor whiteColor];
|
|
53
|
-
}
|
|
9
|
+
self.moduleName = @"<%= className %>";
|
|
10
|
+
// You can add your custom initial props in the dictionary below.
|
|
11
|
+
// They will be passed down to the ViewController used by React Native.
|
|
12
|
+
self.initialProps = @{};
|
|
54
13
|
|
|
55
|
-
|
|
56
|
-
UIViewController *rootViewController = [UIViewController new];
|
|
57
|
-
rootViewController.view = rootView;
|
|
58
|
-
self.window.rootViewController = rootViewController;
|
|
59
|
-
[self.window makeKeyAndVisible];
|
|
60
|
-
return YES;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/// This method controls whether the `concurrentRoot`feature of React18 is turned on or off.
|
|
64
|
-
///
|
|
65
|
-
/// @see: https://reactjs.org/blog/2022/03/29/react-v18.html
|
|
66
|
-
/// @note: This requires to be rendering on Fabric (i.e. on the New Architecture).
|
|
67
|
-
/// @return: `true` if the `concurrentRoot` feture is enabled. Otherwise, it returns `false`.
|
|
68
|
-
- (BOOL)concurrentRootEnabled
|
|
69
|
-
{
|
|
70
|
-
// Switch this bool to turn on and off the concurrent root
|
|
71
|
-
return true;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
- (NSDictionary *)prepareInitialProps
|
|
75
|
-
{
|
|
76
|
-
NSMutableDictionary *initProps = [NSMutableDictionary new];
|
|
77
|
-
|
|
78
|
-
#ifdef RCT_NEW_ARCH_ENABLED
|
|
79
|
-
initProps[kRNConcurrentRoot] = @([self concurrentRootEnabled]);
|
|
80
|
-
#endif
|
|
81
|
-
|
|
82
|
-
return initProps;
|
|
14
|
+
return [super application:application didFinishLaunchingWithOptions:launchOptions];
|
|
83
15
|
}
|
|
84
16
|
|
|
85
17
|
- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
|
|
@@ -91,43 +23,14 @@ static NSString *const kRNConcurrentRoot = @"concurrentRoot";
|
|
|
91
23
|
#endif
|
|
92
24
|
}
|
|
93
25
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
_turboModuleManager = [[RCTTurboModuleManager alloc] initWithBridge:bridge
|
|
101
|
-
delegate:self
|
|
102
|
-
jsInvoker:bridge.jsCallInvoker];
|
|
103
|
-
return RCTAppSetupDefaultJsExecutorFactory(bridge, _turboModuleManager);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
#pragma mark RCTTurboModuleManagerDelegate
|
|
107
|
-
|
|
108
|
-
- (Class)getModuleClassFromName:(const char *)name
|
|
109
|
-
{
|
|
110
|
-
return RCTCoreModulesClassProvider(name);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:(const std::string &)name
|
|
114
|
-
jsInvoker:(std::shared_ptr<facebook::react::CallInvoker>)jsInvoker
|
|
115
|
-
{
|
|
116
|
-
return nullptr;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:(const std::string &)name
|
|
120
|
-
initParams:
|
|
121
|
-
(const facebook::react::ObjCTurboModule::InitParams &)params
|
|
122
|
-
{
|
|
123
|
-
return nullptr;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
- (id<RCTTurboModule>)getModuleInstanceFromClass:(Class)moduleClass
|
|
26
|
+
/// This method controls whether the `concurrentRoot`feature of React18 is turned on or off.
|
|
27
|
+
///
|
|
28
|
+
/// @see: https://reactjs.org/blog/2022/03/29/react-v18.html
|
|
29
|
+
/// @note: This requires to be rendering on Fabric (i.e. on the New Architecture).
|
|
30
|
+
/// @return: `true` if the `concurrentRoot` feature is enabled. Otherwise, it returns `false`.
|
|
31
|
+
- (BOOL)concurrentRootEnabled
|
|
127
32
|
{
|
|
128
|
-
return
|
|
33
|
+
return true;
|
|
129
34
|
}
|
|
130
35
|
|
|
131
|
-
#endif
|
|
132
|
-
|
|
133
36
|
@end
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
<key>CFBundlePackageType</key>
|
|
18
18
|
<string>APPL</string>
|
|
19
19
|
<key>CFBundleShortVersionString</key>
|
|
20
|
-
<string
|
|
20
|
+
<string>$(MARKETING_VERSION)</string>
|
|
21
21
|
<key>CFBundleSignature</key>
|
|
22
22
|
<string>????</string>
|
|
23
23
|
<key>CFBundleVersion</key>
|
|
24
|
-
<string
|
|
24
|
+
<string>$(CURRENT_PROJECT_VERSION)</string>
|
|
25
25
|
<key>LSRequiresIPhoneOS</key>
|
|
26
26
|
<true/>
|
|
27
27
|
<key>NSAppTransportSecurity</key>
|
package/src/generators/application/files/app/ios/__className__.xcodeproj/project.pbxproj.template
CHANGED
|
@@ -492,6 +492,7 @@
|
|
|
492
492
|
"$(inherited)",
|
|
493
493
|
"@executable_path/Frameworks",
|
|
494
494
|
);
|
|
495
|
+
MARKETING_VERSION = 1.0;
|
|
495
496
|
OTHER_LDFLAGS = (
|
|
496
497
|
"$(inherited)",
|
|
497
498
|
"-ObjC",
|
|
@@ -517,6 +518,7 @@
|
|
|
517
518
|
"$(inherited)",
|
|
518
519
|
"@executable_path/Frameworks",
|
|
519
520
|
);
|
|
521
|
+
MARKETING_VERSION = 1.0;
|
|
520
522
|
OTHER_LDFLAGS = (
|
|
521
523
|
"$(inherited)",
|
|
522
524
|
"-ObjC",
|
|
@@ -562,7 +564,7 @@
|
|
|
562
564
|
COPY_PHASE_STRIP = NO;
|
|
563
565
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
564
566
|
ENABLE_TESTABILITY = YES;
|
|
565
|
-
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" =
|
|
567
|
+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
|
|
566
568
|
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
567
569
|
GCC_DYNAMIC_NO_PIC = NO;
|
|
568
570
|
GCC_NO_COMMON_BLOCKS = YES;
|
|
@@ -633,7 +635,7 @@
|
|
|
633
635
|
COPY_PHASE_STRIP = YES;
|
|
634
636
|
ENABLE_NS_ASSERTIONS = NO;
|
|
635
637
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
636
|
-
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" =
|
|
638
|
+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
|
|
637
639
|
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
638
640
|
GCC_NO_COMMON_BLOCKS = YES;
|
|
639
641
|
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
@@ -7,7 +7,8 @@ const run_tasks_in_serial_1 = require("@nrwl/workspace/src/utilities/run-tasks-i
|
|
|
7
7
|
const add_babel_inputs_1 = require("@nrwl/js/src/utils/add-babel-inputs");
|
|
8
8
|
const jest_1 = require("@nrwl/jest");
|
|
9
9
|
const detox_1 = require("@nrwl/detox");
|
|
10
|
-
const versions_1 = require("
|
|
10
|
+
const versions_1 = require("@nrwl/react/src/utils/versions");
|
|
11
|
+
const versions_2 = require("../../utils/versions");
|
|
11
12
|
const add_git_ignore_entry_1 = require("./lib/add-git-ignore-entry");
|
|
12
13
|
function reactNativeInitGenerator(host, schema) {
|
|
13
14
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -37,13 +38,13 @@ exports.reactNativeInitGenerator = reactNativeInitGenerator;
|
|
|
37
38
|
function updateDependencies(host) {
|
|
38
39
|
const isPnpm = (0, devkit_1.detectPackageManager)(host.root) === 'pnpm';
|
|
39
40
|
return (0, devkit_1.addDependenciesToPackageJson)(host, {
|
|
40
|
-
react:
|
|
41
|
-
'react-dom':
|
|
42
|
-
'react-native':
|
|
43
|
-
}, Object.assign({ '@nrwl/react-native':
|
|
41
|
+
react: versions_2.reactVersion,
|
|
42
|
+
'react-dom': versions_2.reactDomVersion,
|
|
43
|
+
'react-native': versions_2.reactNativeVersion,
|
|
44
|
+
}, Object.assign({ '@nrwl/react-native': versions_2.nxVersion, '@types/node': versions_2.typesNodeVersion, '@types/react': versions_2.typesReactVersion, '@types/react-native': versions_2.typesReactNativeVersion, '@react-native-community/cli': versions_2.reactNativeCommunityCli, '@react-native-community/cli-platform-android': versions_2.reactNativeCommunityCliAndroid, '@react-native-community/cli-platform-ios': versions_2.reactNativeCommunityCliIos, '@testing-library/react-native': versions_2.testingLibraryReactNativeVersion, '@testing-library/jest-native': versions_2.testingLibraryJestNativeVersion, 'jest-react-native': versions_2.jestReactNativeVersion, metro: versions_2.metroVersion, 'metro-resolver': versions_2.metroVersion, 'metro-babel-register': versions_2.metroVersion, 'metro-react-native-babel-preset': versions_2.metroVersion, 'metro-react-native-babel-transformer': versions_2.metroVersion, 'react-test-renderer': versions_2.reactTestRendererVersion, 'react-native-svg-transformer': versions_2.reactNativeSvgTransformerVersion, 'react-native-svg': versions_2.reactNativeSvgVersion, 'react-native-config': versions_2.reactNativeConfigVersion, '@react-native-async-storage/async-storage': versions_2.reactNativeAsyncStorageAsyncStorageVersion, '@babel/preset-react': versions_1.babelPresetReactVersion }, (isPnpm
|
|
44
45
|
? {
|
|
45
|
-
'metro-config':
|
|
46
|
-
'@babel/runtime':
|
|
46
|
+
'metro-config': versions_2.metroVersion,
|
|
47
|
+
'@babel/runtime': versions_2.babelRuntimeVersion, // @babel/runtime is used by react-native-svg
|
|
47
48
|
}
|
|
48
49
|
: {})));
|
|
49
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.js","sourceRoot":"","sources":["../../../../../../packages/react-native/src/generators/init/init.ts"],"names":[],"mappings":";;;;AAAA,yCAQsB;AAEtB,2FAAqF;AACrF,0EAAqE;
|
|
1
|
+
{"version":3,"file":"init.js","sourceRoot":"","sources":["../../../../../../packages/react-native/src/generators/init/init.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const gitIgnoreEntriesForReactNative = "\n# React Native\n\n# Xcode\n#\nbuild/\n*.pbxuser\n!default.pbxuser\n*.mode1v3\n!default.mode1v3\n*.mode2v3\n!default.mode2v3\n*.perspectivev3\n!default.perspectivev3\nxcuserdata\n*.xccheckout\n*.moved-aside\nDerivedData\n*.hmap\n*.ipa\n*.xcuserstate\
|
|
1
|
+
export declare const gitIgnoreEntriesForReactNative = "\n# React Native\n\n# OSX\n#\n.DS_Store\n\n# Xcode\n#\nbuild/\n*.pbxuser\n!default.pbxuser\n*.mode1v3\n!default.mode1v3\n*.mode2v3\n!default.mode2v3\n*.perspectivev3\n!default.perspectivev3\nxcuserdata\n*.xccheckout\n*.moved-aside\nDerivedData\n*.hmap\n*.ipa\n*.xcuserstate\nios/.xcode.env.local\n\n# Android/IntelliJ\n#\nbuild/\n.idea\n.gradle\nlocal.properties\n*.iml\n*.hprof\n.cxx/\n*.keystore\n!debug.keystore\n\n# node.js\n#\nnode_modules/\nnpm-debug.log\nyarn-error.log\n\n# fastlane\n#\n# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the\n# screenshots whenever they are needed.\n# For more information about the recommended setup visit:\n# https://docs.fastlane.tools/best-practices/source-control/\n\n**/fastlane/report.xml\n**/fastlane/Preview.html\n**/fastlane/screenshots\n**/fastlane/test_output\n\n# Bundle artifact\n*.jsbundle\n\n# Ruby / CocoaPods\n/ios/Pods/\n/vendor/bundle/\n\n# Temporary files created by Metro to check the health of the file watcher\n.metro-health-check*\n\n# testing\n/coverage\n";
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.gitIgnoreEntriesForReactNative = void 0;
|
|
4
|
+
// template from https://github.com/facebook/react-native/blob/main/template/_gitignore
|
|
4
5
|
exports.gitIgnoreEntriesForReactNative = `
|
|
5
6
|
# React Native
|
|
6
7
|
|
|
8
|
+
# OSX
|
|
9
|
+
#
|
|
10
|
+
.DS_Store
|
|
11
|
+
|
|
7
12
|
# Xcode
|
|
8
13
|
#
|
|
9
14
|
build/
|
|
@@ -22,7 +27,7 @@ DerivedData
|
|
|
22
27
|
*.hmap
|
|
23
28
|
*.ipa
|
|
24
29
|
*.xcuserstate
|
|
25
|
-
|
|
30
|
+
ios/.xcode.env.local
|
|
26
31
|
|
|
27
32
|
# Android/IntelliJ
|
|
28
33
|
#
|
|
@@ -32,20 +37,16 @@ build/
|
|
|
32
37
|
local.properties
|
|
33
38
|
*.iml
|
|
34
39
|
*.hprof
|
|
40
|
+
.cxx/
|
|
41
|
+
*.keystore
|
|
42
|
+
!debug.keystore
|
|
35
43
|
|
|
36
44
|
# node.js
|
|
37
45
|
#
|
|
38
|
-
.yarn/
|
|
39
46
|
node_modules/
|
|
40
47
|
npm-debug.log
|
|
41
48
|
yarn-error.log
|
|
42
49
|
|
|
43
|
-
# BUCK
|
|
44
|
-
buck-out/
|
|
45
|
-
\.buckd/
|
|
46
|
-
*.keystore
|
|
47
|
-
!debug.keystore
|
|
48
|
-
|
|
49
50
|
# fastlane
|
|
50
51
|
#
|
|
51
52
|
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
|
|
@@ -62,7 +63,13 @@ buck-out/
|
|
|
62
63
|
*.jsbundle
|
|
63
64
|
|
|
64
65
|
# Ruby / CocoaPods
|
|
65
|
-
|
|
66
|
-
|
|
66
|
+
/ios/Pods/
|
|
67
|
+
/vendor/bundle/
|
|
68
|
+
|
|
69
|
+
# Temporary files created by Metro to check the health of the file watcher
|
|
70
|
+
.metro-health-check*
|
|
71
|
+
|
|
72
|
+
# testing
|
|
73
|
+
/coverage
|
|
67
74
|
`;
|
|
68
75
|
//# sourceMappingURL=gitignore-entries.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gitignore-entries.js","sourceRoot":"","sources":["../../../../../../../packages/react-native/src/generators/init/lib/gitignore-entries.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"gitignore-entries.js","sourceRoot":"","sources":["../../../../../../../packages/react-native/src/generators/init/lib/gitignore-entries.ts"],"names":[],"mappings":";;;AAAA,uFAAuF;AAC1E,QAAA,8BAA8B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqE7C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { UpgradeNativeConfigureSchema } from './schema';
|
|
2
1
|
import { Tree, GeneratorCallback } from '@nrwl/devkit';
|
|
2
|
+
import { UpgradeNativeConfigureSchema } from './schema';
|
|
3
3
|
export declare function reactNativeUpgradeNativeGenerator(host: Tree, schema: UpgradeNativeConfigureSchema): Promise<GeneratorCallback>;
|
|
4
4
|
export default reactNativeUpgradeNativeGenerator;
|
|
5
5
|
export declare const reactNativeUpgradeNativeSchematic: (generatorOptions: UpgradeNativeConfigureSchema) => (tree: any, context: any) => Promise<any>;
|
|
@@ -8,26 +8,24 @@ const tslib_1 = require("tslib");
|
|
|
8
8
|
*/
|
|
9
9
|
const run_tasks_in_serial_1 = require("@nrwl/workspace/src/utilities/run-tasks-in-serial");
|
|
10
10
|
const devkit_1 = require("@nrwl/devkit");
|
|
11
|
-
const
|
|
12
|
-
const create_native_files_1 = require("./lib/create-native-files");
|
|
13
|
-
const fs_extra_1 = require("fs-extra");
|
|
11
|
+
const fs_1 = require("fs");
|
|
14
12
|
const pod_install_task_1 = require("../../utils/pod-install-task");
|
|
15
|
-
const
|
|
13
|
+
const chmod_android_gradle_files_1 = require("../../utils/chmod-android-gradle-files");
|
|
14
|
+
const create_native_files_1 = require("./lib/create-native-files");
|
|
16
15
|
function reactNativeUpgradeNativeGenerator(host, schema) {
|
|
17
16
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
18
17
|
const { projectType, root: appProjectRoot } = (0, devkit_1.readProjectConfiguration)(host, schema.name);
|
|
19
18
|
const iosProjectRoot = (0, devkit_1.joinPathFragments)(host.root, appProjectRoot, 'ios');
|
|
20
19
|
const androidProjectRoot = (0, devkit_1.joinPathFragments)(host.root, appProjectRoot, 'android');
|
|
21
20
|
if (projectType !== 'application' ||
|
|
22
|
-
!(0,
|
|
23
|
-
!(0,
|
|
21
|
+
!(0, fs_1.existsSync)(iosProjectRoot) ||
|
|
22
|
+
!(0, fs_1.existsSync)(androidProjectRoot)) {
|
|
24
23
|
throw new Error(`Could not upgrade React Native code for ${schema.name}`);
|
|
25
24
|
}
|
|
26
25
|
(0, create_native_files_1.createNativeFiles)(host, schema, appProjectRoot);
|
|
27
26
|
const podInstallTask = (0, pod_install_task_1.runPodInstall)(iosProjectRoot, schema.install);
|
|
28
|
-
const chmodTaskGradlew = (0,
|
|
29
|
-
|
|
30
|
-
return (0, run_tasks_in_serial_1.runTasksInSerial)(podInstallTask, chmodTaskGradlew, chmodTaskGradlewBat);
|
|
27
|
+
const chmodTaskGradlew = (0, chmod_android_gradle_files_1.chmodAndroidGradlewFilesTask)(androidProjectRoot);
|
|
28
|
+
return (0, run_tasks_in_serial_1.runTasksInSerial)(podInstallTask, chmodTaskGradlew);
|
|
31
29
|
});
|
|
32
30
|
}
|
|
33
31
|
exports.reactNativeUpgradeNativeGenerator = reactNativeUpgradeNativeGenerator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upgrade-native.js","sourceRoot":"","sources":["../../../../../../packages/react-native/src/generators/upgrade-native/upgrade-native.ts"],"names":[],"mappings":";;;;AAAA;;;GAGG;AACH,2FAAqF;
|
|
1
|
+
{"version":3,"file":"upgrade-native.js","sourceRoot":"","sources":["../../../../../../packages/react-native/src/generators/upgrade-native/upgrade-native.ts"],"names":[],"mappings":";;;;AAAA;;;GAGG;AACH,2FAAqF;AACrF,yCAMsB;AACtB,2BAAgC;AAEhC,mEAA6D;AAC7D,uFAAsF;AAEtF,mEAA8D;AAG9D,SAAsB,iCAAiC,CACrD,IAAU,EACV,MAAoC;;QAEpC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,IAAA,iCAAwB,EACpE,IAAI,EACJ,MAAM,CAAC,IAAI,CACZ,CAAC;QACF,MAAM,cAAc,GAAG,IAAA,0BAAiB,EAAC,IAAI,CAAC,IAAI,EAAE,cAAc,EAAE,KAAK,CAAC,CAAC;QAC3E,MAAM,kBAAkB,GAAG,IAAA,0BAAiB,EAC1C,IAAI,CAAC,IAAI,EACT,cAAc,EACd,SAAS,CACV,CAAC;QAEF,IACE,WAAW,KAAK,aAAa;YAC7B,CAAC,IAAA,eAAU,EAAC,cAAc,CAAC;YAC3B,CAAC,IAAA,eAAU,EAAC,kBAAkB,CAAC,EAC/B;YACA,MAAM,IAAI,KAAK,CAAC,2CAA2C,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;SAC3E;QAED,IAAA,uCAAiB,EAAC,IAAI,EAAE,MAAM,EAAE,cAAc,CAAC,CAAC;QAEhD,MAAM,cAAc,GAAG,IAAA,gCAAa,EAAC,cAAc,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;QACrE,MAAM,gBAAgB,GAAG,IAAA,yDAA4B,EAAC,kBAAkB,CAAC,CAAC;QAE1E,OAAO,IAAA,sCAAgB,EAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;IAC5D,CAAC;CAAA;AA7BD,8EA6BC;AAED,kBAAe,iCAAiC,CAAC;AACpC,QAAA,iCAAiC,GAAG,IAAA,2BAAkB,EACjE,iCAAiC,CAClC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.chmodAndroidGradlewFilesTask = exports.chmodAndroidGradlewFiles = void 0;
|
|
4
|
+
const devkit_1 = require("@nrwl/devkit");
|
|
5
|
+
const fs_1 = require("fs");
|
|
6
|
+
const path_1 = require("path");
|
|
7
|
+
function chmodAndroidGradlewFiles(androidFolder) {
|
|
8
|
+
(0, fs_1.chmodSync)((0, path_1.join)(androidFolder, 'gradlew'), 0o775);
|
|
9
|
+
(0, fs_1.chmodSync)((0, path_1.join)(androidFolder, 'gradlew.bat'), 0o775);
|
|
10
|
+
}
|
|
11
|
+
exports.chmodAndroidGradlewFiles = chmodAndroidGradlewFiles;
|
|
12
|
+
function chmodAndroidGradlewFilesTask(androidFolder) {
|
|
13
|
+
return () => {
|
|
14
|
+
devkit_1.logger.info(`chmod android gradlew files under ${androidFolder}`);
|
|
15
|
+
try {
|
|
16
|
+
chmodAndroidGradlewFiles(androidFolder);
|
|
17
|
+
}
|
|
18
|
+
catch (_a) {
|
|
19
|
+
throw new Error(`chmod failed gradlew file under ${androidFolder}`);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
exports.chmodAndroidGradlewFilesTask = chmodAndroidGradlewFilesTask;
|
|
24
|
+
//# sourceMappingURL=chmod-android-gradle-files.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chmod-android-gradle-files.js","sourceRoot":"","sources":["../../../../../packages/react-native/src/utils/chmod-android-gradle-files.ts"],"names":[],"mappings":";;;AAAA,yCAAyD;AACzD,2BAA+B;AAC/B,+BAA4B;AAE5B,SAAgB,wBAAwB,CAAC,aAAqB;IAC5D,IAAA,cAAS,EAAC,IAAA,WAAI,EAAC,aAAa,EAAE,SAAS,CAAC,EAAE,KAAK,CAAC,CAAC;IACjD,IAAA,cAAS,EAAC,IAAA,WAAI,EAAC,aAAa,EAAE,aAAa,CAAC,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAHD,4DAGC;AAED,SAAgB,4BAA4B,CAC1C,aAAqB;IAErB,OAAO,GAAG,EAAE;QACV,eAAM,CAAC,IAAI,CAAC,qCAAqC,aAAa,EAAE,CAAC,CAAC;QAClE,IAAI;YACF,wBAAwB,CAAC,aAAa,CAAC,CAAC;SACzC;QAAC,WAAM;YACN,MAAM,IAAI,KAAK,CAAC,mCAAmC,aAAa,EAAE,CAAC,CAAC;SACrE;IACH,CAAC,CAAC;AACJ,CAAC;AAXD,oEAWC"}
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export declare const nxVersion: any;
|
|
2
|
-
export declare const reactNativeVersion = "0.
|
|
3
|
-
export declare const typesReactNativeVersion = "0.
|
|
4
|
-
export declare const typesNodeVersion = "
|
|
5
|
-
export declare const metroVersion = "0.
|
|
6
|
-
export declare const reactNativeCommunityCli = "
|
|
7
|
-
export declare const reactNativeCommunityCliIos = "
|
|
8
|
-
export declare const reactNativeCommunityCliAndroid = "
|
|
9
|
-
export declare const reactVersion = "18.
|
|
10
|
-
export declare const reactDomVersion = "18.
|
|
11
|
-
export declare const reactTestRendererVersion = "18.
|
|
2
|
+
export declare const reactNativeVersion = "0.71.1";
|
|
3
|
+
export declare const typesReactNativeVersion = "0.71.0";
|
|
4
|
+
export declare const typesNodeVersion = "18.11.18";
|
|
5
|
+
export declare const metroVersion = "0.74.1";
|
|
6
|
+
export declare const reactNativeCommunityCli = "10.1.3";
|
|
7
|
+
export declare const reactNativeCommunityCliIos = "10.1.1";
|
|
8
|
+
export declare const reactNativeCommunityCliAndroid = "10.1.3";
|
|
9
|
+
export declare const reactVersion = "18.2.0";
|
|
10
|
+
export declare const reactDomVersion = "18.2.0";
|
|
11
|
+
export declare const reactTestRendererVersion = "18.2.0";
|
|
12
12
|
export declare const typesReactVersion = "18.0.26";
|
|
13
|
-
export declare const reactNativeConfigVersion = "1.4.
|
|
13
|
+
export declare const reactNativeConfigVersion = "1.4.12";
|
|
14
14
|
export declare const reactNativeAsyncStorageAsyncStorageVersion = "1.17.11";
|
|
15
15
|
export declare const testingLibraryReactNativeVersion = "11.5.0";
|
|
16
|
-
export declare const testingLibraryJestNativeVersion = "5.
|
|
16
|
+
export declare const testingLibraryJestNativeVersion = "5.4.1";
|
|
17
17
|
export declare const jestReactNativeVersion = "18.0.0";
|
|
18
18
|
export declare const reactNativeSvgTransformerVersion = "1.0.0";
|
|
19
|
-
export declare const reactNativeSvgVersion = "13.
|
|
20
|
-
export declare const babelRuntimeVersion = "7.20.
|
|
19
|
+
export declare const reactNativeSvgVersion = "13.7.0";
|
|
20
|
+
export declare const babelRuntimeVersion = "7.20.7";
|