@nrwl/react-native 15.9.0-beta.0 → 15.9.0-beta.10

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/migrations.json CHANGED
@@ -1252,6 +1252,15 @@
1252
1252
  "alwaysAddToPackageJson": false
1253
1253
  }
1254
1254
  }
1255
+ },
1256
+ "15.8.6": {
1257
+ "version": "15.8.6-beta.0",
1258
+ "packages": {
1259
+ "react-native": {
1260
+ "version": "0.71.4",
1261
+ "alwaysAddToPackageJson": false
1262
+ }
1263
+ }
1255
1264
  }
1256
1265
  }
1257
1266
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrwl/react-native",
3
- "version": "15.9.0-beta.0",
3
+ "version": "15.9.0-beta.10",
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": [
@@ -22,16 +22,16 @@
22
22
  },
23
23
  "license": "MIT",
24
24
  "author": "Victor Savkin",
25
- "main": "index.js",
25
+ "main": "./index",
26
26
  "types": "index.d.ts",
27
27
  "dependencies": {
28
- "@nrwl/detox": "15.9.0-beta.0",
29
- "@nrwl/devkit": "15.9.0-beta.0",
30
- "@nrwl/jest": "15.9.0-beta.0",
31
- "@nrwl/js": "15.9.0-beta.0",
32
- "@nrwl/linter": "15.9.0-beta.0",
33
- "@nrwl/react": "15.9.0-beta.0",
34
- "@nrwl/workspace": "15.9.0-beta.0",
28
+ "@nrwl/detox": "15.9.0-beta.10",
29
+ "@nrwl/devkit": "15.9.0-beta.10",
30
+ "@nrwl/jest": "15.9.0-beta.10",
31
+ "@nrwl/js": "15.9.0-beta.10",
32
+ "@nrwl/linter": "15.9.0-beta.10",
33
+ "@nrwl/react": "15.9.0-beta.10",
34
+ "@nrwl/workspace": "15.9.0-beta.10",
35
35
  "chalk": "^4.1.0",
36
36
  "enhanced-resolve": "^5.8.3",
37
37
  "fs-extra": "^11.1.0",
@@ -42,7 +42,7 @@
42
42
  "tsconfig-paths": "^4.1.2"
43
43
  },
44
44
  "peerDependencies": {
45
- "react-native": "^0.71.2"
45
+ "react-native": "^0.71.4"
46
46
  },
47
47
  "builders": "./executors.json",
48
48
  "ng-update": {
@@ -53,5 +53,5 @@
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
- "gitHead": "e3e87f57fd740bf78945a4907745d03f18d057c3"
56
+ "gitHead": "2c13d4ae3d70058a88f493706240d3da472e90cf"
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
  }
@@ -280,7 +280,7 @@ export const App = () => {
280
280
  </TouchableOpacity>
281
281
  </View>
282
282
  </View>
283
- <View style={styles.section}>
283
+ <View style={[styles.section, styles.shadowBox]}>
284
284
  <TouchableOpacity
285
285
  onPress={() =>
286
286
  Linking.openURL(
@@ -288,7 +288,7 @@ export const App = () => {
288
288
  )
289
289
  }
290
290
  >
291
- <View style={[styles.listItem, styles.shadowBox]}>
291
+ <View style={[styles.listItem, styles.learning]}>
292
292
  <Svg
293
293
  width={48}
294
294
  height={48}
@@ -305,10 +305,42 @@ export const App = () => {
305
305
  styles.marginBottomSm,
306
306
  ]}
307
307
  >
308
- Install Nx Console
308
+ Install Nx Console for VSCode
309
309
  </Text>
310
310
  <Text style={[styles.textXS, styles.textLight]}>
311
- Plugin for VSCode
311
+ The official VSCode plugin for Nx.
312
+ </Text>
313
+ </View>
314
+ </View>
315
+ </TouchableOpacity>
316
+ <TouchableOpacity
317
+ onPress={() =>
318
+ Linking.openURL(
319
+ 'https://plugins.jetbrains.com/plugin/21060-nx-console'
320
+ )
321
+ }
322
+ >
323
+ <View style={[styles.listItem, styles.learning]}>
324
+ <Svg
325
+ width={48}
326
+ height={48}
327
+ fill="rgba(0, 122, 204, 1)"
328
+ viewBox="0 0 24 24"
329
+ >
330
+ <Path d="M0 0v24h24V0zm3.723 3.111h5v1.834h-1.39v6.277h1.39v1.834h-5v-1.834h1.444V4.945H3.723zm11.055 0H17v6.5c0 .612-.055 1.111-.222 1.556-.167.444-.39.777-.723 1.11-.277.279-.666.557-1.11.668a3.933 3.933 0 0 1-1.445.278c-.778 0-1.444-.167-1.944-.445a4.81 4.81 0 0 1-1.279-1.056l1.39-1.555c.277.334.555.555.833.722.277.167.611.278.945.278.389 0 .721-.111 1-.389.221-.278.333-.667.333-1.278zM2.222 19.5h9V21h-9z" />
331
+ </Svg>
332
+ <View style={styles.listItemTextContainer}>
333
+ <Text
334
+ style={[
335
+ styles.textMd,
336
+ styles.textBold,
337
+ styles.marginBottomSm,
338
+ ]}
339
+ >
340
+ Install Nx Console for JetBrains
341
+ </Text>
342
+ <Text style={[styles.textXS, styles.textLight]}>
343
+ Available for WebStorm, Intellij IDEA Ultimate and more!
312
344
  </Text>
313
345
  </View>
314
346
  </View>
@@ -440,7 +472,7 @@ export const App = () => {
440
472
  </Text>
441
473
  </View>
442
474
  <View style={styles.listItem}>
443
- <Svg
475
+ <Svg
444
476
  width={24}
445
477
  height={24}
446
478
  stroke="#000000"
@@ -461,9 +493,7 @@ export const App = () => {
461
493
  </View>
462
494
  </View>
463
495
  <View style={[styles.codeBlock, styles.marginBottomLg]}>
464
- <Text style={[styles.textXS, styles.monospace]}>
465
- nx graph
466
- </Text>
496
+ <Text style={[styles.textXS, styles.monospace]}>nx graph</Text>
467
497
  </View>
468
498
  <View style={styles.listItem}>
469
499
  <Svg
@@ -1,5 +1,5 @@
1
1
  export declare const nxVersion: any;
2
- export declare const reactNativeVersion = "0.71.3";
2
+ export declare const reactNativeVersion = "0.71.4";
3
3
  export declare const typesReactNativeVersion = "0.71.3";
4
4
  export declare const typesNodeVersion = "18.14.4";
5
5
  export declare const metroVersion = "0.74.1";
@@ -2,7 +2,7 @@
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.typesReactVersion = exports.reactTestRendererVersion = exports.reactDomVersion = exports.reactVersion = 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.71.3';
5
+ exports.reactNativeVersion = '0.71.4';
6
6
  exports.typesReactNativeVersion = '0.71.3';
7
7
  exports.typesNodeVersion = '18.14.4';
8
8
  exports.metroVersion = '0.74.1';
@@ -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