@nrwl/react-native 14.3.0-beta.2 → 14.3.1

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 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
- # [14.3.0-beta.2](https://github.com/nrwl/nx/compare/14.2.2...14.3.0-beta.2) (2022-06-11)
6
+ ## [14.3.1](https://github.com/nrwl/nx/compare/14.3.0...14.3.1) (2022-06-13)
7
7
 
8
8
  **Note:** Version bump only for package @nrwl/react-native
package/migrations.json CHANGED
@@ -642,6 +642,39 @@
642
642
  "alwaysAddToPackageJson": false
643
643
  }
644
644
  }
645
+ },
646
+ "14.2.5": {
647
+ "version": "14.2.5-beta.0",
648
+ "packages": {
649
+ "react-native-config": {
650
+ "version": "1.4.6",
651
+ "alwaysAddToPackageJson": false
652
+ },
653
+ "@react-native-async-storage/async-storage": {
654
+ "version": "1.17.6",
655
+ "alwaysAddToPackageJson": false
656
+ },
657
+ "metro": {
658
+ "version": "0.71.1",
659
+ "alwaysAddToPackageJson": false
660
+ },
661
+ "metro-resolver": {
662
+ "version": "0.71.1",
663
+ "alwaysAddToPackageJson": false
664
+ },
665
+ "metro-babel-register": {
666
+ "version": "0.71.1",
667
+ "alwaysAddToPackageJson": false
668
+ },
669
+ "metro-config": {
670
+ "version": "0.71.1",
671
+ "alwaysAddToPackageJson": false
672
+ },
673
+ "metro-react-native-babel-preset": {
674
+ "version": "0.71.1",
675
+ "alwaysAddToPackageJson": false
676
+ }
677
+ }
645
678
  }
646
679
  }
647
680
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrwl/react-native",
3
- "version": "14.3.0-beta.2",
3
+ "version": "14.3.1",
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,18 +24,18 @@
24
24
  "main": "index.js",
25
25
  "types": "index.d.ts",
26
26
  "dependencies": {
27
- "@nrwl/detox": "14.3.0-beta.2",
28
- "@nrwl/devkit": "14.3.0-beta.2",
29
- "@nrwl/jest": "14.3.0-beta.2",
30
- "@nrwl/linter": "14.3.0-beta.2",
31
- "@nrwl/react": "14.3.0-beta.2",
32
- "@nrwl/storybook": "14.3.0-beta.2",
33
- "@nrwl/workspace": "14.3.0-beta.2",
27
+ "@nrwl/detox": "14.3.1",
28
+ "@nrwl/devkit": "14.3.1",
29
+ "@nrwl/jest": "14.3.1",
30
+ "@nrwl/linter": "14.3.1",
31
+ "@nrwl/react": "14.3.1",
32
+ "@nrwl/storybook": "14.3.1",
33
+ "@nrwl/workspace": "14.3.1",
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.0",
38
+ "metro-resolver": "^0.71.1",
39
39
  "node-fetch": "^2.6.7",
40
40
  "tsconfig-paths": "^3.9.0"
41
41
  },
@@ -49,5 +49,5 @@
49
49
  },
50
50
  "schematics": "./generators.json",
51
51
  "typings": "./index.d.ts",
52
- "gitHead": "0fd3281d3c7dc7c086adfe754ce1be85b0f890bb"
52
+ "gitHead": "161ff82ab2a7e7cee2dda119a3d376f5146d9c2e"
53
53
  }
@@ -147,6 +147,7 @@ android {
147
147
  <% if (e2eTestRunner === 'detox') { %>
148
148
  testBuildType System.getProperty('testBuildType', 'debug') // This will later be used to control the test apk build type
149
149
  testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
150
+ missingDimensionStrategy 'detox', 'full'
150
151
  <% } %>
151
152
 
152
153
  if (isNewArchitectureEnabled()) {
@@ -302,7 +303,7 @@ dependencies {
302
303
  }
303
304
 
304
305
  <% if (e2eTestRunner === 'detox') { %>
305
- androidTestImplementation('com.wix:detox:+')
306
+ androidTestImplementation(project(path: ":detox"))
306
307
  <% } %>
307
308
  }
308
309
 
@@ -8,6 +8,9 @@ buildscript {
8
8
  minSdkVersion = 21
9
9
  compileSdkVersion = 31
10
10
  targetSdkVersion = 31
11
+ <% if (e2eTestRunner === 'detox') { %>
12
+ kotlinVersion = '1.6.21'
13
+ <% } %>
11
14
 
12
15
  if (System.properties['os.arch'] == "aarch64") {
13
16
  // For M1 Users we need to use the NDK 24 which added support for aarch64
@@ -25,6 +28,9 @@ buildscript {
25
28
  classpath("com.android.tools.build:gradle:7.0.4")
26
29
  classpath("com.facebook.react:react-native-gradle-plugin")
27
30
  classpath("de.undercouch:gradle-download-task:4.1.2")
31
+ <% if (e2eTestRunner === 'detox') { %>
32
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
33
+ <% } %>
28
34
  // NOTE: Do not place your application dependencies here; they belong
29
35
  // in the individual module build.gradle files
30
36
  }
@@ -49,12 +55,5 @@ allprojects {
49
55
  }
50
56
  google()
51
57
  maven { url 'https://www.jitpack.io' }
52
-
53
- <% if (e2eTestRunner === 'detox') { %>
54
- maven {
55
- // All of Detox' artifacts are provided via the npm module
56
- url "$rootDir/../node_modules/detox/Detox-android"
57
- }
58
- <% } %>
59
58
  }
60
59
  }
@@ -3,6 +3,11 @@ rootProject.name = '<%= className %>'
3
3
  include ':react-native-config'
4
4
  project(':react-native-config').projectDir = new File(rootProject.projectDir, '../../../node_modules/react-native-config/android')
5
5
 
6
+ <% if (e2eTestRunner === 'detox') { %>
7
+ include ':detox'
8
+ project(':detox').projectDir = new File(rootProject.projectDir, '../node_modules/detox/android/detox')
9
+ <% } %>
10
+
6
11
  apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle");
7
12
  applyNativeModulesSettingsGradle(settings)
8
13
 
@@ -2,12 +2,12 @@ export declare const nxVersion: any;
2
2
  export declare const reactNativeVersion = "0.68.2";
3
3
  export declare const typesReactNativeVersion = "0.67.8";
4
4
  export declare const typesNodeVersion = "16.11.7";
5
- export declare const metroVersion = "0.71.0";
5
+ export declare const metroVersion = "0.71.1";
6
6
  export declare const reactNativeCommunityCli = "7.0.3";
7
7
  export declare const reactNativeCommunityCliIos = "7.0.1";
8
8
  export declare const reactNativeCommunityCliAndroid = "7.0.1";
9
- export declare const reactNativeConfigVersion = "1.4.5";
10
- export declare const reactNativeAsyncStorageAsyncStorageVersion = "1.17.5";
9
+ export declare const reactNativeConfigVersion = "1.4.6";
10
+ export declare const reactNativeAsyncStorageAsyncStorageVersion = "1.17.6";
11
11
  export declare const testingLibraryReactNativeVersion = "9.1.0";
12
12
  export declare const testingLibraryJestNativeVersion = "4.0.5";
13
13
  export declare const jestReactNativeVersion = "18.0.0";
@@ -5,12 +5,12 @@ exports.nxVersion = require('../../package.json').version;
5
5
  exports.reactNativeVersion = '0.68.2';
6
6
  exports.typesReactNativeVersion = '0.67.8';
7
7
  exports.typesNodeVersion = '16.11.7';
8
- exports.metroVersion = '0.71.0';
8
+ exports.metroVersion = '0.71.1';
9
9
  exports.reactNativeCommunityCli = '7.0.3';
10
10
  exports.reactNativeCommunityCliIos = '7.0.1';
11
11
  exports.reactNativeCommunityCliAndroid = '7.0.1';
12
- exports.reactNativeConfigVersion = '1.4.5';
13
- exports.reactNativeAsyncStorageAsyncStorageVersion = '1.17.5';
12
+ exports.reactNativeConfigVersion = '1.4.6';
13
+ exports.reactNativeAsyncStorageAsyncStorageVersion = '1.17.6';
14
14
  exports.testingLibraryReactNativeVersion = '9.1.0';
15
15
  exports.testingLibraryJestNativeVersion = '4.0.5';
16
16
  exports.jestReactNativeVersion = '18.0.0';