@nrwl/react-native 14.4.2 → 14.5.0-beta.0
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 +57 -0
- package/package.json +11 -11
- package/src/generators/application/files/app/android/app/build.gradle.template +12 -12
- package/src/generators/application/files/app/android/app/src/main/AndroidManifest.xml.template +1 -2
- package/src/generators/application/files/app/android/app/src/main/java/com/__lowerCaseName__/MainActivity.java.template +9 -1
- package/src/generators/application/files/app/android/app/src/main/java/com/__lowerCaseName__/newarchitecture/MainApplicationReactNativeHost.java.template +2 -2
- package/src/generators/application/files/app/android/app/src/main/jni/Android.mk.template +2 -3
- package/src/generators/application/files/app/android/build.gradle.template +3 -3
- package/src/generators/application/files/app/android/settings.gradle.template +2 -0
- package/src/generators/application/files/app/ios/.xcode.env.template +12 -0
- package/src/generators/application/files/app/ios/Podfile.template +1 -1
- package/src/generators/application/files/app/ios/__className__/AppDelegate.mm.template +26 -1
- package/src/generators/application/files/app/ios/__className__.xcodeproj/project.pbxproj.template +9 -5
- package/src/generators/init/lib/gitignore-entries.d.ts +1 -1
- package/src/generators/init/lib/gitignore-entries.js +5 -3
- package/src/generators/init/lib/gitignore-entries.js.map +1 -1
- package/src/utils/versions.d.ts +9 -9
- package/src/utils/versions.js +9 -9
- package/src/utils/versions.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# [14.5.0-beta.0](https://github.com/nrwl/nx/compare/14.4.2...14.5.0-beta.0) (2022-07-11)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @nrwl/react-native
|
package/migrations.json
CHANGED
|
@@ -675,6 +675,63 @@
|
|
|
675
675
|
"alwaysAddToPackageJson": false
|
|
676
676
|
}
|
|
677
677
|
}
|
|
678
|
+
},
|
|
679
|
+
"14.4.3": {
|
|
680
|
+
"version": "14.4.3-beta.0",
|
|
681
|
+
"packages": {
|
|
682
|
+
"metro": {
|
|
683
|
+
"version": "0.71.2",
|
|
684
|
+
"alwaysAddToPackageJson": false
|
|
685
|
+
},
|
|
686
|
+
"metro-resolver": {
|
|
687
|
+
"version": "0.71.2",
|
|
688
|
+
"alwaysAddToPackageJson": false
|
|
689
|
+
},
|
|
690
|
+
"metro-babel-register": {
|
|
691
|
+
"version": "0.71.2",
|
|
692
|
+
"alwaysAddToPackageJson": false
|
|
693
|
+
},
|
|
694
|
+
"metro-config": {
|
|
695
|
+
"version": "0.71.2",
|
|
696
|
+
"alwaysAddToPackageJson": false
|
|
697
|
+
},
|
|
698
|
+
"metro-react-native-babel-preset": {
|
|
699
|
+
"version": "0.71.2",
|
|
700
|
+
"alwaysAddToPackageJson": false
|
|
701
|
+
},
|
|
702
|
+
"@react-native-community/cli": {
|
|
703
|
+
"version": "8.0.2",
|
|
704
|
+
"alwaysAddToPackageJson": false
|
|
705
|
+
},
|
|
706
|
+
"@react-native-community/cli-platform-android": {
|
|
707
|
+
"version": "8.0.2",
|
|
708
|
+
"alwaysAddToPackageJson": false
|
|
709
|
+
},
|
|
710
|
+
"@react-native-community/cli-platform-ios": {
|
|
711
|
+
"version": "8.0.2",
|
|
712
|
+
"alwaysAddToPackageJson": false
|
|
713
|
+
},
|
|
714
|
+
"react-native": {
|
|
715
|
+
"version": "0.69.1",
|
|
716
|
+
"alwaysAddToPackageJson": false
|
|
717
|
+
},
|
|
718
|
+
"@types/react-native": {
|
|
719
|
+
"version": "0.69.2",
|
|
720
|
+
"alwaysAddToPackageJson": false
|
|
721
|
+
},
|
|
722
|
+
"@react-native-async-storage/async-storage": {
|
|
723
|
+
"version": "1.17.7",
|
|
724
|
+
"alwaysAddToPackageJson": false
|
|
725
|
+
},
|
|
726
|
+
"@testing-library/react-native": {
|
|
727
|
+
"version": "7.2.0",
|
|
728
|
+
"alwaysAddToPackageJson": false
|
|
729
|
+
},
|
|
730
|
+
"@babel/runtime": {
|
|
731
|
+
"version": "7.18.6",
|
|
732
|
+
"alwaysAddToPackageJson": false
|
|
733
|
+
}
|
|
734
|
+
}
|
|
678
735
|
}
|
|
679
736
|
}
|
|
680
737
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/react-native",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.5.0-beta.0",
|
|
4
4
|
"description": "React Native brings React's declarative UI framework to iOS and Android. With React Native, you use native UI controls and have full access to the native platform.\n\nThe Nx Plugin for React Native contains generators for managing React Native applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Detox, and Storybook.\n\n- Scaffolding for creating buildable libraries that can be published to npm.\n\n- Utilities for automatic workspace refactoring.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Monorepo",
|
|
@@ -24,23 +24,23 @@
|
|
|
24
24
|
"main": "index.js",
|
|
25
25
|
"types": "index.d.ts",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@nrwl/detox": "14.
|
|
28
|
-
"@nrwl/devkit": "14.
|
|
29
|
-
"@nrwl/jest": "14.
|
|
30
|
-
"@nrwl/linter": "14.
|
|
31
|
-
"@nrwl/react": "14.
|
|
32
|
-
"@nrwl/storybook": "14.
|
|
33
|
-
"@nrwl/workspace": "14.
|
|
27
|
+
"@nrwl/detox": "14.5.0-beta.0",
|
|
28
|
+
"@nrwl/devkit": "14.5.0-beta.0",
|
|
29
|
+
"@nrwl/jest": "14.5.0-beta.0",
|
|
30
|
+
"@nrwl/linter": "14.5.0-beta.0",
|
|
31
|
+
"@nrwl/react": "14.5.0-beta.0",
|
|
32
|
+
"@nrwl/storybook": "14.5.0-beta.0",
|
|
33
|
+
"@nrwl/workspace": "14.5.0-beta.0",
|
|
34
34
|
"chalk": "^4.1.0",
|
|
35
35
|
"enhanced-resolve": "^5.8.3",
|
|
36
36
|
"fs-extra": "^10.1.0",
|
|
37
37
|
"ignore": "^5.0.4",
|
|
38
|
-
"metro-resolver": "^0.71.
|
|
38
|
+
"metro-resolver": "^0.71.2",
|
|
39
39
|
"node-fetch": "^2.6.7",
|
|
40
40
|
"tsconfig-paths": "^3.9.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"react-native": "^0.
|
|
43
|
+
"react-native": "^0.69.1"
|
|
44
44
|
},
|
|
45
45
|
"builders": "./executors.json",
|
|
46
46
|
"ng-update": {
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
},
|
|
50
50
|
"schematics": "./generators.json",
|
|
51
51
|
"typings": "./index.d.ts",
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "438ea6cdfed60dc0f7f358e967650f004f2e7c42"
|
|
53
53
|
}
|
|
@@ -2,7 +2,6 @@ apply plugin: "com.android.application"
|
|
|
2
2
|
apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle"
|
|
3
3
|
|
|
4
4
|
import com.android.build.OutputFile
|
|
5
|
-
import org.apache.tools.ant.taskdefs.condition.Os
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
|
|
@@ -160,16 +159,13 @@ android {
|
|
|
160
159
|
"GENERATED_SRC_DIR=$buildDir/generated/source",
|
|
161
160
|
"PROJECT_BUILD_DIR=$buildDir",
|
|
162
161
|
"REACT_ANDROID_DIR=$rootDir/../node_modules/react-native/ReactAndroid",
|
|
163
|
-
"REACT_ANDROID_BUILD_DIR=$rootDir/../node_modules/react-native/ReactAndroid/build"
|
|
162
|
+
"REACT_ANDROID_BUILD_DIR=$rootDir/../node_modules/react-native/ReactAndroid/build",
|
|
163
|
+
"NODE_MODULES_DIR=$rootDir/../node_modules"
|
|
164
164
|
cFlags "-Wall", "-Werror", "-fexceptions", "-frtti", "-DWITH_INSPECTOR=1"
|
|
165
165
|
cppFlags "-std=c++17"
|
|
166
166
|
// Make sure this target name is the same you specify inside the
|
|
167
167
|
// src/main/jni/Android.mk file for the `LOCAL_MODULE` variable.
|
|
168
168
|
targets "<%= lowerCaseName %>_appmodules"
|
|
169
|
-
// Fix for windows limit on number of character in file paths and in command lines
|
|
170
|
-
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
|
|
171
|
-
arguments "NDK_APP_SHORT_COMMANDS=true"
|
|
172
|
-
}
|
|
173
169
|
}
|
|
174
170
|
}
|
|
175
171
|
if (!enableSeparateBuildPerCPUArchitecture) {
|
|
@@ -246,8 +242,7 @@ android {
|
|
|
246
242
|
// see https://reactnative.dev/docs/signed-apk-android.
|
|
247
243
|
signingConfig signingConfigs.debug
|
|
248
244
|
minifyEnabled enableProguardInReleaseBuilds
|
|
249
|
-
|
|
250
|
-
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
245
|
+
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
|
251
246
|
<% if (e2eTestRunner === 'detox') { %>
|
|
252
247
|
// Detox-specific additions to pro-guard
|
|
253
248
|
proguardFile "${rootProject.projectDir}/../node_modules/detox/android/detox/proguard-rules-app.pro"
|
|
@@ -295,9 +290,10 @@ dependencies {
|
|
|
295
290
|
}
|
|
296
291
|
|
|
297
292
|
if (enableHermes) {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
293
|
+
//noinspection GradleDynamicVersion
|
|
294
|
+
implementation("com.facebook.react:hermes-engine:+") { // From node_modules
|
|
295
|
+
exclude group:'com.facebook.fbjni'
|
|
296
|
+
}
|
|
301
297
|
} else {
|
|
302
298
|
implementation jscFlavor
|
|
303
299
|
}
|
|
@@ -314,7 +310,11 @@ if (isNewArchitectureEnabled()) {
|
|
|
314
310
|
configurations.all {
|
|
315
311
|
resolutionStrategy.dependencySubstitution {
|
|
316
312
|
substitute(module("com.facebook.react:react-native"))
|
|
317
|
-
.using(project(":ReactAndroid"))
|
|
313
|
+
.using(project(":ReactAndroid"))
|
|
314
|
+
.because("On New Architecture we're building React Native from source")
|
|
315
|
+
substitute(module("com.facebook.react:hermes-engine"))
|
|
316
|
+
.using(project(":ReactAndroid:hermes-engine"))
|
|
317
|
+
.because("On New Architecture we're building Hermes from source")
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
}
|
package/src/generators/application/files/app/android/app/src/main/AndroidManifest.xml.template
CHANGED
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
android:icon="@mipmap/ic_launcher"
|
|
10
10
|
android:roundIcon="@mipmap/ic_launcher_round"
|
|
11
11
|
android:allowBackup="false"
|
|
12
|
-
android:theme="@style/AppTheme"
|
|
13
|
-
android:networkSecurityConfig="@xml/network_security_config">
|
|
12
|
+
android:theme="@style/AppTheme">
|
|
14
13
|
<activity
|
|
15
14
|
android:name=".MainActivity"
|
|
16
15
|
android:label="@string/app_name"
|
|
@@ -17,7 +17,8 @@ public class MainActivity extends ReactActivity {
|
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Returns the instance of the {@link ReactActivityDelegate}. There the RootView is created and
|
|
20
|
-
* you can specify the
|
|
20
|
+
* you can specify the renderer you wish to use - the new renderer (Fabric) or the old renderer
|
|
21
|
+
* (Paper).
|
|
21
22
|
*/
|
|
22
23
|
@Override
|
|
23
24
|
protected ReactActivityDelegate createReactActivityDelegate() {
|
|
@@ -36,5 +37,12 @@ public class MainActivity extends ReactActivity {
|
|
|
36
37
|
reactRootView.setIsFabric(BuildConfig.IS_NEW_ARCHITECTURE_ENABLED);
|
|
37
38
|
return reactRootView;
|
|
38
39
|
}
|
|
40
|
+
|
|
41
|
+
@Override
|
|
42
|
+
protected boolean isConcurrentRootEnabled() {
|
|
43
|
+
// If you opted-in for the New Architecture, we enable Concurrent Root (i.e. React 18).
|
|
44
|
+
// More on this on https://reactjs.org/blog/2022/03/29/react-v18.html
|
|
45
|
+
return BuildConfig.IS_NEW_ARCHITECTURE_ENABLED;
|
|
46
|
+
}
|
|
39
47
|
}
|
|
40
48
|
}
|
|
@@ -16,8 +16,8 @@ import com.facebook.react.bridge.ReactApplicationContext;
|
|
|
16
16
|
import com.facebook.react.bridge.UIManager;
|
|
17
17
|
import com.facebook.react.fabric.ComponentFactory;
|
|
18
18
|
import com.facebook.react.fabric.CoreComponentsRegistry;
|
|
19
|
-
import com.facebook.react.fabric.EmptyReactNativeConfig;
|
|
20
19
|
import com.facebook.react.fabric.FabricJSIModuleProvider;
|
|
20
|
+
import com.facebook.react.fabric.ReactNativeConfig;
|
|
21
21
|
import com.facebook.react.uimanager.ViewManagerRegistry;
|
|
22
22
|
import com.<%= lowerCaseName %>.BuildConfig;
|
|
23
23
|
import com.<%= lowerCaseName %>.newarchitecture.components.MainComponentsRegistry;
|
|
@@ -105,7 +105,7 @@ public class MainApplicationReactNativeHost extends ReactNativeHost {
|
|
|
105
105
|
return new FabricJSIModuleProvider(
|
|
106
106
|
reactApplicationContext,
|
|
107
107
|
componentFactory,
|
|
108
|
-
|
|
108
|
+
ReactNativeConfig.DEFAULT_CONFIG,
|
|
109
109
|
viewManagerRegistry);
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -17,7 +17,7 @@ LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
|
|
17
17
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
|
18
18
|
|
|
19
19
|
# If you wish to add a custom TurboModule or Fabric component in your app you
|
|
20
|
-
# will have to uncomment those lines to include the generated source
|
|
20
|
+
# will have to uncomment those lines to include the generated source
|
|
21
21
|
# files from the codegen (placed in $(GENERATED_SRC_DIR)/codegen/jni)
|
|
22
22
|
#
|
|
23
23
|
# LOCAL_C_INCLUDES += $(GENERATED_SRC_DIR)/codegen/jni
|
|
@@ -28,8 +28,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
|
|
28
28
|
LOCAL_SHARED_LIBRARIES := \
|
|
29
29
|
libfabricjni \
|
|
30
30
|
libfbjni \
|
|
31
|
-
|
|
32
|
-
libfolly_json \
|
|
31
|
+
libfolly_runtime \
|
|
33
32
|
libglog \
|
|
34
33
|
libjsi \
|
|
35
34
|
libreact_codegen_rncore \
|
|
@@ -9,7 +9,7 @@ buildscript {
|
|
|
9
9
|
compileSdkVersion = 31
|
|
10
10
|
targetSdkVersion = 31
|
|
11
11
|
<% if (e2eTestRunner === 'detox') { %>
|
|
12
|
-
kotlinVersion = '1.
|
|
12
|
+
kotlinVersion = '1.7.0'
|
|
13
13
|
<% } %>
|
|
14
14
|
|
|
15
15
|
if (System.properties['os.arch'] == "aarch64") {
|
|
@@ -25,9 +25,9 @@ buildscript {
|
|
|
25
25
|
mavenCentral()
|
|
26
26
|
}
|
|
27
27
|
dependencies {
|
|
28
|
-
classpath("com.android.tools.build:gradle:7.
|
|
28
|
+
classpath("com.android.tools.build:gradle:7.1.1")
|
|
29
29
|
classpath("com.facebook.react:react-native-gradle-plugin")
|
|
30
|
-
classpath("de.undercouch:gradle-download-task:
|
|
30
|
+
classpath("de.undercouch:gradle-download-task:5.0.1")
|
|
31
31
|
<% if (e2eTestRunner === 'detox') { %>
|
|
32
32
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
|
33
33
|
<% } %>
|
|
@@ -17,4 +17,6 @@ includeBuild('../node_modules/react-native-gradle-plugin')
|
|
|
17
17
|
if (settings.hasProperty("newArchEnabled") && settings.newArchEnabled == "true") {
|
|
18
18
|
include(":ReactAndroid")
|
|
19
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')
|
|
20
22
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# This `.xcode.env` file is versioned and is used to source the environment
|
|
2
|
+
# used when running script phases inside Xcode.
|
|
3
|
+
# To customize your local environment, you can create an `.xcode.env.local`
|
|
4
|
+
# file that is not versioned.
|
|
5
|
+
|
|
6
|
+
# NODE_BINARY variable contains the PATH to the node executable.
|
|
7
|
+
#
|
|
8
|
+
# Customize the NODE_BINARY variable here.
|
|
9
|
+
# For example, to use nvm with brew, add the following line
|
|
10
|
+
# . "$(brew --prefix nvm)/nvm.sh" --no-use
|
|
11
|
+
export NODE_BINARY=$(command -v node)
|
|
12
|
+
export ENTRY_FILE=$(PROJECT_DIR)/../<%= entryFile %>
|
|
@@ -2,7 +2,7 @@ require_relative '../node_modules/react-native/scripts/react_native_pods'
|
|
|
2
2
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
3
3
|
require_relative '../node_modules/@nrwl/react-native/nx_post_install'
|
|
4
4
|
|
|
5
|
-
platform :ios, '
|
|
5
|
+
platform :ios, '12.4'
|
|
6
6
|
install! 'cocoapods', :deterministic_uuids => false
|
|
7
7
|
|
|
8
8
|
target '<%= className %>' do
|
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
|
|
17
17
|
#import <react/config/ReactNativeConfig.h>
|
|
18
18
|
|
|
19
|
+
static NSString *const kRNConcurrentRoot = @"concurrentRoot";
|
|
20
|
+
|
|
19
21
|
@interface AppDelegate () <RCTCxxBridgeDelegate, RCTTurboModuleManagerDelegate> {
|
|
20
22
|
RCTTurboModuleManager *_turboModuleManager;
|
|
21
23
|
RCTSurfacePresenterBridgeAdapter *_bridgeAdapter;
|
|
@@ -41,7 +43,8 @@
|
|
|
41
43
|
bridge.surfacePresenter = _bridgeAdapter.surfacePresenter;
|
|
42
44
|
#endif
|
|
43
45
|
|
|
44
|
-
|
|
46
|
+
NSDictionary *initProps = [self prepareInitialProps];
|
|
47
|
+
UIView *rootView = RCTAppSetupDefaultRootView(bridge, @"<%= className %>", initProps);
|
|
45
48
|
|
|
46
49
|
if (@available(iOS 13.0, *)) {
|
|
47
50
|
rootView.backgroundColor = [UIColor systemBackgroundColor];
|
|
@@ -57,6 +60,28 @@
|
|
|
57
60
|
return YES;
|
|
58
61
|
}
|
|
59
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;
|
|
83
|
+
}
|
|
84
|
+
|
|
60
85
|
- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
|
|
61
86
|
{
|
|
62
87
|
#if DEBUG
|
package/src/generators/application/files/app/ios/__className__.xcodeproj/project.pbxproj.template
CHANGED
|
@@ -256,13 +256,15 @@
|
|
|
256
256
|
files = (
|
|
257
257
|
);
|
|
258
258
|
inputPaths = (
|
|
259
|
+
"$(SRCROOT)/.xcode.env.local",
|
|
260
|
+
"$(SRCROOT)/.xcode.env",
|
|
259
261
|
);
|
|
260
262
|
name = "Bundle React Native code and images";
|
|
261
263
|
outputPaths = (
|
|
262
264
|
);
|
|
263
265
|
runOnlyForDeploymentPostprocessing = 0;
|
|
264
266
|
shellPath = /bin/sh;
|
|
265
|
-
shellScript = "set -e\n\
|
|
267
|
+
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"../node_modules/react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../node_modules/react-native/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
|
|
266
268
|
};
|
|
267
269
|
00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
|
|
268
270
|
isa = PBXShellScriptBuildPhase;
|
|
@@ -436,7 +438,7 @@
|
|
|
436
438
|
"$(inherited)",
|
|
437
439
|
);
|
|
438
440
|
INFOPLIST_FILE = <%= className %>Tests/Info.plist;
|
|
439
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
441
|
+
IPHONEOS_DEPLOYMENT_TARGET = 12.4;
|
|
440
442
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
441
443
|
"$(inherited)",
|
|
442
444
|
"@executable_path/Frameworks",
|
|
@@ -460,7 +462,7 @@
|
|
|
460
462
|
BUNDLE_LOADER = "$(TEST_HOST)";
|
|
461
463
|
COPY_PHASE_STRIP = NO;
|
|
462
464
|
INFOPLIST_FILE = <%= className %>Tests/Info.plist;
|
|
463
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
465
|
+
IPHONEOS_DEPLOYMENT_TARGET = 12.4;
|
|
464
466
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
465
467
|
"$(inherited)",
|
|
466
468
|
"@executable_path/Frameworks",
|
|
@@ -576,7 +578,7 @@
|
|
|
576
578
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
577
579
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
578
580
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
579
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
581
|
+
IPHONEOS_DEPLOYMENT_TARGET = 12.4;
|
|
580
582
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
581
583
|
/usr/lib/swift,
|
|
582
584
|
"$(inherited)",
|
|
@@ -594,6 +596,7 @@
|
|
|
594
596
|
"-DFOLLY_MOBILE=1",
|
|
595
597
|
"-DFOLLY_USE_LIBCPP=1",
|
|
596
598
|
);
|
|
599
|
+
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
|
|
597
600
|
SDKROOT = iphoneos;
|
|
598
601
|
};
|
|
599
602
|
name = Debug;
|
|
@@ -640,7 +643,7 @@
|
|
|
640
643
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
641
644
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
642
645
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
643
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
646
|
+
IPHONEOS_DEPLOYMENT_TARGET = 12.4;
|
|
644
647
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
645
648
|
/usr/lib/swift,
|
|
646
649
|
"$(inherited)",
|
|
@@ -657,6 +660,7 @@
|
|
|
657
660
|
"-DFOLLY_MOBILE=1",
|
|
658
661
|
"-DFOLLY_USE_LIBCPP=1",
|
|
659
662
|
);
|
|
663
|
+
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
|
|
660
664
|
SDKROOT = iphoneos;
|
|
661
665
|
VALIDATE_PRODUCT = YES;
|
|
662
666
|
};
|
|
@@ -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\n\n# Android/IntelliJ\n#\nbuild/\n.idea\n.gradle\nlocal.properties\n*.iml\n*.hprof\n\n# node.js\n#\nnode_modules/\nnpm-debug.log\nyarn-error.log\n\n# BUCK\nbuck-out/\n.buckd/\n*.keystore\n!debug.keystore\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
|
|
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\n**/ios/.xcode.env.local\n\n# Android/IntelliJ\n#\nbuild/\n.idea\n.gradle\nlocal.properties\n*.iml\n*.hprof\n\n# node.js\n#\nnode_modules/\nnpm-debug.log\nyarn-error.log\n\n# BUCK\nbuck-out/\n.buckd/\n*.keystore\n!debug.keystore\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";
|
|
@@ -22,6 +22,7 @@ DerivedData
|
|
|
22
22
|
*.hmap
|
|
23
23
|
*.ipa
|
|
24
24
|
*.xcuserstate
|
|
25
|
+
**/ios/.xcode.env.local
|
|
25
26
|
|
|
26
27
|
# Android/IntelliJ
|
|
27
28
|
#
|
|
@@ -51,9 +52,10 @@ buck-out/
|
|
|
51
52
|
# For more information about the recommended setup visit:
|
|
52
53
|
# https://docs.fastlane.tools/best-practices/source-control/
|
|
53
54
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
**/fastlane/report.xml
|
|
56
|
+
**/fastlane/Preview.html
|
|
57
|
+
**/fastlane/screenshots
|
|
58
|
+
**/fastlane/test_output
|
|
57
59
|
|
|
58
60
|
# Bundle artifact
|
|
59
61
|
*.jsbundle
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gitignore-entries.js","sourceRoot":"","sources":["../../../../../../../packages/react-native/src/generators/init/lib/gitignore-entries.ts"],"names":[],"mappings":";;;AAAa,QAAA,8BAA8B,GAAG
|
|
1
|
+
{"version":3,"file":"gitignore-entries.js","sourceRoot":"","sources":["../../../../../../../packages/react-native/src/generators/init/lib/gitignore-entries.ts"],"names":[],"mappings":";;;AAAa,QAAA,8BAA8B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8D7C,CAAC"}
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export declare const nxVersion: any;
|
|
2
|
-
export declare const reactNativeVersion = "0.
|
|
3
|
-
export declare const typesReactNativeVersion = "0.
|
|
2
|
+
export declare const reactNativeVersion = "0.69.1";
|
|
3
|
+
export declare const typesReactNativeVersion = "0.69.2";
|
|
4
4
|
export declare const typesNodeVersion = "16.11.7";
|
|
5
|
-
export declare const metroVersion = "0.71.
|
|
6
|
-
export declare const reactNativeCommunityCli = "
|
|
7
|
-
export declare const reactNativeCommunityCliIos = "
|
|
8
|
-
export declare const reactNativeCommunityCliAndroid = "
|
|
5
|
+
export declare const metroVersion = "0.71.2";
|
|
6
|
+
export declare const reactNativeCommunityCli = "8.0.2";
|
|
7
|
+
export declare const reactNativeCommunityCliIos = "8.0.2";
|
|
8
|
+
export declare const reactNativeCommunityCliAndroid = "8.0.2";
|
|
9
9
|
export declare const reactNativeConfigVersion = "1.4.6";
|
|
10
|
-
export declare const reactNativeAsyncStorageAsyncStorageVersion = "1.17.
|
|
11
|
-
export declare const testingLibraryReactNativeVersion = "
|
|
10
|
+
export declare const reactNativeAsyncStorageAsyncStorageVersion = "1.17.7";
|
|
11
|
+
export declare const testingLibraryReactNativeVersion = "10.1.1";
|
|
12
12
|
export declare const testingLibraryJestNativeVersion = "4.0.5";
|
|
13
13
|
export declare const jestReactNativeVersion = "18.0.0";
|
|
14
14
|
export declare const reactNativeSvgTransformerVersion = "1.0.0";
|
|
15
15
|
export declare const reactNativeSvgVersion = "12.3.0";
|
|
16
|
-
export declare const babelRuntimeVersion = "7.18.
|
|
16
|
+
export declare const babelRuntimeVersion = "7.18.6";
|
package/src/utils/versions.js
CHANGED
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.babelRuntimeVersion = exports.reactNativeSvgVersion = exports.reactNativeSvgTransformerVersion = exports.jestReactNativeVersion = exports.testingLibraryJestNativeVersion = exports.testingLibraryReactNativeVersion = exports.reactNativeAsyncStorageAsyncStorageVersion = exports.reactNativeConfigVersion = exports.reactNativeCommunityCliAndroid = exports.reactNativeCommunityCliIos = exports.reactNativeCommunityCli = exports.metroVersion = exports.typesNodeVersion = exports.typesReactNativeVersion = exports.reactNativeVersion = exports.nxVersion = void 0;
|
|
4
4
|
exports.nxVersion = require('../../package.json').version;
|
|
5
|
-
exports.reactNativeVersion = '0.
|
|
6
|
-
exports.typesReactNativeVersion = '0.
|
|
5
|
+
exports.reactNativeVersion = '0.69.1';
|
|
6
|
+
exports.typesReactNativeVersion = '0.69.2';
|
|
7
7
|
exports.typesNodeVersion = '16.11.7';
|
|
8
|
-
exports.metroVersion = '0.71.
|
|
9
|
-
exports.reactNativeCommunityCli = '
|
|
10
|
-
exports.reactNativeCommunityCliIos = '
|
|
11
|
-
exports.reactNativeCommunityCliAndroid = '
|
|
8
|
+
exports.metroVersion = '0.71.2';
|
|
9
|
+
exports.reactNativeCommunityCli = '8.0.2';
|
|
10
|
+
exports.reactNativeCommunityCliIos = '8.0.2';
|
|
11
|
+
exports.reactNativeCommunityCliAndroid = '8.0.2';
|
|
12
12
|
exports.reactNativeConfigVersion = '1.4.6';
|
|
13
|
-
exports.reactNativeAsyncStorageAsyncStorageVersion = '1.17.
|
|
14
|
-
exports.testingLibraryReactNativeVersion = '
|
|
13
|
+
exports.reactNativeAsyncStorageAsyncStorageVersion = '1.17.7';
|
|
14
|
+
exports.testingLibraryReactNativeVersion = '10.1.1';
|
|
15
15
|
exports.testingLibraryJestNativeVersion = '4.0.5';
|
|
16
16
|
exports.jestReactNativeVersion = '18.0.0';
|
|
17
17
|
exports.reactNativeSvgTransformerVersion = '1.0.0';
|
|
18
18
|
exports.reactNativeSvgVersion = '12.3.0';
|
|
19
|
-
exports.babelRuntimeVersion = '7.18.
|
|
19
|
+
exports.babelRuntimeVersion = '7.18.6';
|
|
20
20
|
//# sourceMappingURL=versions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/react-native/src/utils/versions.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC;AAElD,QAAA,kBAAkB,GAAG,QAAQ,CAAC;AAC9B,QAAA,uBAAuB,GAAG,QAAQ,CAAC;AAEnC,QAAA,gBAAgB,GAAG,SAAS,CAAC;AAE7B,QAAA,YAAY,GAAG,QAAQ,CAAC;AAExB,QAAA,uBAAuB,GAAG,OAAO,CAAC;AAClC,QAAA,0BAA0B,GAAG,OAAO,CAAC;AACrC,QAAA,8BAA8B,GAAG,OAAO,CAAC;AAEzC,QAAA,wBAAwB,GAAG,OAAO,CAAC;AACnC,QAAA,0CAA0C,GAAG,QAAQ,CAAC;AAEtD,QAAA,gCAAgC,GAAG,
|
|
1
|
+
{"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/react-native/src/utils/versions.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC;AAElD,QAAA,kBAAkB,GAAG,QAAQ,CAAC;AAC9B,QAAA,uBAAuB,GAAG,QAAQ,CAAC;AAEnC,QAAA,gBAAgB,GAAG,SAAS,CAAC;AAE7B,QAAA,YAAY,GAAG,QAAQ,CAAC;AAExB,QAAA,uBAAuB,GAAG,OAAO,CAAC;AAClC,QAAA,0BAA0B,GAAG,OAAO,CAAC;AACrC,QAAA,8BAA8B,GAAG,OAAO,CAAC;AAEzC,QAAA,wBAAwB,GAAG,OAAO,CAAC;AACnC,QAAA,0CAA0C,GAAG,QAAQ,CAAC;AAEtD,QAAA,gCAAgC,GAAG,QAAQ,CAAC;AAC5C,QAAA,+BAA+B,GAAG,OAAO,CAAC;AAE1C,QAAA,sBAAsB,GAAG,QAAQ,CAAC;AAElC,QAAA,gCAAgC,GAAG,OAAO,CAAC;AAC3C,QAAA,qBAAqB,GAAG,QAAQ,CAAC;AAEjC,QAAA,mBAAmB,GAAG,QAAQ,CAAC"}
|