@nx/react-native 17.0.3 → 17.1.0-beta.2

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
@@ -501,6 +501,51 @@
501
501
  "alwaysAddToPackageJson": false
502
502
  }
503
503
  }
504
+ },
505
+ "17.1.0": {
506
+ "version": "17.1.0-beta.1",
507
+ "packages": {
508
+ "react-native": {
509
+ "version": "0.72.6",
510
+ "alwaysAddToPackageJson": false
511
+ },
512
+ "metro": {
513
+ "version": "0.76.8",
514
+ "alwaysAddToPackageJson": false
515
+ },
516
+ "metro-resolver": {
517
+ "version": "0.76.8",
518
+ "alwaysAddToPackageJson": false
519
+ },
520
+ "metro-config": {
521
+ "version": "0.76.8",
522
+ "alwaysAddToPackageJson": false
523
+ },
524
+ "metro-react-native-babel-preset": {
525
+ "version": "0.76.8",
526
+ "alwaysAddToPackageJson": false
527
+ },
528
+ "metro-babel-register": {
529
+ "version": "0.76.8",
530
+ "alwaysAddToPackageJson": false
531
+ },
532
+ "metro-react-native-babel-transformer": {
533
+ "version": "0.76.7",
534
+ "alwaysAddToPackageJson": false
535
+ },
536
+ "@react-native-community/cli": {
537
+ "version": "11.3.7",
538
+ "alwaysAddToPackageJson": false
539
+ },
540
+ "@react-native-community/cli-platform-android": {
541
+ "version": "11.3.7",
542
+ "alwaysAddToPackageJson": false
543
+ },
544
+ "@react-native-community/cli-platform-ios": {
545
+ "version": "11.3.7",
546
+ "alwaysAddToPackageJson": false
547
+ }
548
+ }
504
549
  }
505
550
  }
506
551
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/react-native",
3
- "version": "17.0.3",
3
+ "version": "17.1.0-beta.2",
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": [
@@ -30,20 +30,20 @@
30
30
  "fs-extra": "^11.1.0",
31
31
  "glob": "7.1.4",
32
32
  "ignore": "^5.0.4",
33
- "metro-config": "0.76.7",
34
- "metro-resolver": "0.76.7",
33
+ "metro-config": "~0.76.8",
34
+ "metro-resolver": "~0.76.8",
35
35
  "minimatch": "3.0.5",
36
36
  "node-fetch": "^2.6.7",
37
37
  "tsconfig-paths": "^4.1.2",
38
38
  "tslib": "^2.3.0",
39
- "@nx/detox": "17.0.3",
40
- "@nx/devkit": "17.0.3",
41
- "@nx/jest": "17.0.3",
42
- "@nx/js": "17.0.3",
43
- "@nx/eslint": "17.0.3",
44
- "@nx/react": "17.0.3",
45
- "@nx/workspace": "17.0.3",
46
- "@nrwl/react-native": "17.0.3"
39
+ "@nx/detox": "17.1.0-beta.2",
40
+ "@nx/devkit": "17.1.0-beta.2",
41
+ "@nx/jest": "17.1.0-beta.2",
42
+ "@nx/js": "17.1.0-beta.2",
43
+ "@nx/eslint": "17.1.0-beta.2",
44
+ "@nx/react": "17.1.0-beta.2",
45
+ "@nx/workspace": "17.1.0-beta.2",
46
+ "@nrwl/react-native": "17.1.0-beta.2"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "react-native": ">= 0.72.0 < 0.73.0"
@@ -3,4 +3,5 @@ source 'https://rubygems.org'
3
3
  # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
4
4
  ruby ">= 2.6.10"
5
5
 
6
- gem 'cocoapods', '~> 1.12'
6
+ gem 'cocoapods', '~> 1.13'
7
+ gem 'activesupport', '>= 6.1.7.3', '< 7.1.0'
@@ -10,7 +10,7 @@ import {
10
10
  TouchableOpacity,
11
11
  Linking,
12
12
  } from 'react-native';
13
- import Svg, { Path } from 'react-native-svg';
13
+ import Svg, { G, Path } from 'react-native-svg';
14
14
 
15
15
  export const App = () => {
16
16
  const [whatsNextYCoord, setWhatsNextYCoord] = useState<number>(0);
@@ -308,11 +308,14 @@ export const App = () => {
308
308
  Install Nx Console for VSCode
309
309
  </Text>
310
310
  <Text style={[styles.textXS, styles.textLight]}>
311
- The official VSCode plugin for Nx.
311
+ The official VSCode extension for Nx.
312
312
  </Text>
313
313
  </View>
314
314
  </View>
315
315
  </TouchableOpacity>
316
+ </View>
317
+
318
+ <View style={[styles.section, styles.shadowBox]}>
316
319
  <TouchableOpacity
317
320
  onPress={() =>
318
321
  Linking.openURL(
@@ -321,13 +324,20 @@ export const App = () => {
321
324
  }
322
325
  >
323
326
  <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" />
327
+ <Svg width={48} height={48} viewBox="20 20 60 60">
328
+ <Path d="m22.5 22.5h60v60h-60z" />
329
+ <G fill="#fff">
330
+ <Path d="m29.03 71.25h22.5v3.75h-22.5z" />
331
+ <Path d="m28.09 38 1.67-1.58a1.88 1.88 0 0 0 1.47.87c.64 0 1.06-.44 1.06-1.31v-5.98h2.58v6a3.48 3.48 0 0 1 -.87 2.6 3.56 3.56 0 0 1 -2.57.95 3.84 3.84 0 0 1 -3.34-1.55z" />
332
+ <Path d="m36 30h7.53v2.19h-5v1.44h4.49v2h-4.42v1.49h5v2.21h-7.6z" />
333
+ <Path d="m47.23 32.29h-2.8v-2.29h8.21v2.27h-2.81v7.1h-2.6z" />
334
+ <Path d="m29.13 43.08h4.42a3.53 3.53 0 0 1 2.55.83 2.09 2.09 0 0 1 .6 1.53 2.16 2.16 0 0 1 -1.44 2.09 2.27 2.27 0 0 1 1.86 2.29c0 1.61-1.31 2.59-3.55 2.59h-4.44zm5 2.89c0-.52-.42-.8-1.18-.8h-1.29v1.64h1.24c.79 0 1.25-.26 1.25-.81zm-.9 2.66h-1.57v1.73h1.62c.8 0 1.24-.31 1.24-.86 0-.5-.4-.87-1.27-.87z" />
335
+ <Path d="m38 43.08h4.1a4.19 4.19 0 0 1 3 1 2.93 2.93 0 0 1 .9 2.19 3 3 0 0 1 -1.93 2.89l2.24 3.27h-3l-1.88-2.84h-.87v2.84h-2.56zm4 4.5c.87 0 1.39-.43 1.39-1.11 0-.75-.54-1.12-1.4-1.12h-1.44v2.26z" />
336
+ <Path d="m49.59 43h2.5l4 9.44h-2.79l-.67-1.69h-3.63l-.67 1.69h-2.71zm2.27 5.73-1-2.65-1.06 2.65z" />
337
+ <Path d="m56.46 43.05h2.6v9.37h-2.6z" />
338
+ <Path d="m60.06 43.05h2.42l3.37 5v-5h2.57v9.37h-2.26l-3.53-5.14v5.14h-2.57z" />
339
+ <Path d="m68.86 51 1.45-1.73a4.84 4.84 0 0 0 3 1.13c.71 0 1.08-.24 1.08-.65 0-.4-.31-.6-1.59-.91-2-.46-3.53-1-3.53-2.93 0-1.74 1.37-3 3.62-3a5.89 5.89 0 0 1 3.86 1.25l-1.26 1.84a4.63 4.63 0 0 0 -2.62-.92c-.63 0-.94.25-.94.6 0 .42.32.61 1.63.91 2.14.46 3.44 1.16 3.44 2.91 0 1.91-1.51 3-3.79 3a6.58 6.58 0 0 1 -4.35-1.5z" />
340
+ </G>
331
341
  </Svg>
332
342
  <View style={styles.listItemTextContainer}>
333
343
  <Text
@@ -296,16 +296,9 @@ describe('lib', () => {
296
296
  const projectConfiguration = readProjectConfiguration(appTree, 'my-lib');
297
297
  expect(projectConfiguration.targets.test).toMatchInlineSnapshot(`
298
298
  {
299
- "configurations": {
300
- "ci": {
301
- "ci": true,
302
- "codeCoverage": true,
303
- },
304
- },
305
299
  "executor": "@nx/jest:jest",
306
300
  "options": {
307
301
  "jestConfig": "my-lib/jest.config.ts",
308
- "passWithNoTests": true,
309
302
  },
310
303
  "outputs": [
311
304
  "{workspaceRoot}/coverage/{projectRoot}",
@@ -1,11 +1,11 @@
1
1
  export declare const nxVersion: any;
2
- export declare const reactNativeVersion = "0.72.4";
2
+ export declare const reactNativeVersion = "0.72.6";
3
3
  export declare const typesNodeVersion = "18.14.4";
4
- export declare const metroVersion = "0.76.7";
4
+ export declare const metroVersion = "0.76.8";
5
5
  export declare const reactNativeMetroConfigVersion = "^0.72.11";
6
- export declare const reactNativeCommunityCli = "11.3.6";
7
- export declare const reactNativeCommunityCliIos = "11.3.6";
8
- export declare const reactNativeCommunityCliAndroid = "11.3.6";
6
+ export declare const reactNativeCommunityCli = "11.3.7";
7
+ export declare const reactNativeCommunityCliIos = "11.3.7";
8
+ export declare const reactNativeCommunityCliAndroid = "11.3.7";
9
9
  export declare const reactVersion = "18.2.0";
10
10
  export declare const reactDomVersion = "18.2.0";
11
11
  export declare const reactTestRendererVersion = "18.2.0";
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.reactNativeSafeAreaContextVersion = exports.reactNativeAsyncStorageVersion = exports.babelRuntimeVersion = exports.reactNativeSvgVersion = exports.reactNativeSvgTransformerVersion = exports.jestReactNativeVersion = exports.testingLibraryJestNativeVersion = exports.testingLibraryReactNativeVersion = exports.typesReactVersion = exports.reactTestRendererVersion = exports.reactDomVersion = exports.reactVersion = exports.reactNativeCommunityCliAndroid = exports.reactNativeCommunityCliIos = exports.reactNativeCommunityCli = exports.reactNativeMetroConfigVersion = exports.metroVersion = exports.typesNodeVersion = exports.reactNativeVersion = exports.nxVersion = void 0;
4
4
  exports.nxVersion = require('../../package.json').version;
5
- exports.reactNativeVersion = '0.72.4';
5
+ exports.reactNativeVersion = '0.72.6';
6
6
  exports.typesNodeVersion = '18.14.4';
7
- exports.metroVersion = '0.76.7';
7
+ exports.metroVersion = '0.76.8';
8
8
  exports.reactNativeMetroConfigVersion = '^0.72.11';
9
- exports.reactNativeCommunityCli = '11.3.6';
10
- exports.reactNativeCommunityCliIos = '11.3.6';
11
- exports.reactNativeCommunityCliAndroid = '11.3.6';
9
+ exports.reactNativeCommunityCli = '11.3.7';
10
+ exports.reactNativeCommunityCliIos = '11.3.7';
11
+ exports.reactNativeCommunityCliAndroid = '11.3.7';
12
12
  exports.reactVersion = '18.2.0';
13
13
  exports.reactDomVersion = '18.2.0';
14
14
  exports.reactTestRendererVersion = '18.2.0';