@nx/react-native 23.1.1 → 23.1.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.
@@ -6,13 +6,11 @@ const devkit_1 = require("@nx/devkit");
6
6
  const path_1 = require("path");
7
7
  const js_1 = require("@nx/js");
8
8
  const fs_1 = require("fs");
9
- const cache_directory_1 = require("nx/src/utils/cache-directory");
10
- const devkit_internals_1 = require("nx/src/devkit-internals");
11
9
  exports.createNodes = [
12
10
  '**/app.{json,config.js,config.ts}',
13
11
  async (configFiles, options, context) => {
14
- const optionsHash = (0, devkit_internals_1.hashObject)(options);
15
- const cachePath = (0, path_1.join)(cache_directory_1.workspaceDataDirectory, `react-native-${optionsHash}.hash`);
12
+ const optionsHash = (0, internal_1.hashObject)(options);
13
+ const cachePath = (0, path_1.join)(internal_1.workspaceDataDirectory, `react-native-${optionsHash}.hash`);
16
14
  const targetsCache = new internal_1.PluginCache(cachePath);
17
15
  const lockFileName = (0, js_1.getLockFileName)((0, devkit_1.detectPackageManager)(context.workspaceRoot));
18
16
  const normalizedOptions = normalizeOptions(options);
@@ -1,6 +1,6 @@
1
1
  import { ExecutorContext, ProjectGraph } from '@nx/devkit';
2
2
  import { ReactNativeSyncDepsOptions } from './schema';
3
- import { PackageJson } from 'nx/src/utils/package-json';
3
+ import { PackageJson } from '@nx/devkit/internal';
4
4
  export interface ReactNativeSyncDepsOutput {
5
5
  success: boolean;
6
6
  }
@@ -4,11 +4,11 @@ exports.createApplicationFiles = createApplicationFiles;
4
4
  const devkit_1 = require("@nx/devkit");
5
5
  const js_1 = require("@nx/js");
6
6
  const path_1 = require("path");
7
- const onboarding_1 = require("nx/src/nx-cloud/utilities/onboarding");
7
+ const internal_1 = require("@nx/devkit/internal");
8
8
  async function createApplicationFiles(host, options) {
9
- const onBoardingStatus = await (0, onboarding_1.createNxCloudOnboardingURLForWelcomeApp)(host, options.nxCloudToken);
9
+ const onBoardingStatus = await (0, internal_1.createNxCloudOnboardingURLForWelcomeApp)(host, options.nxCloudToken);
10
10
  const connectCloudUrl = onBoardingStatus === 'unclaimed' &&
11
- (await (0, onboarding_1.getNxCloudAppOnBoardingUrl)(options.nxCloudToken));
11
+ (await (0, internal_1.getNxCloudAppOnBoardingUrl)(options.nxCloudToken));
12
12
  (0, devkit_1.generateFiles)(host, (0, path_1.join)(__dirname, '../files/app'), options.appProjectRoot, {
13
13
  ...options,
14
14
  entryFileIos: 'src/main',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/react-native",
3
- "version": "23.1.1",
3
+ "version": "23.1.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": [
@@ -62,11 +62,10 @@
62
62
  "tinyglobby": "^0.2.12",
63
63
  "tsconfig-paths": "^4.1.2",
64
64
  "tslib": "^2.3.0",
65
- "@nx/js": "23.1.1",
66
- "@nx/devkit": "23.1.1",
67
- "@nx/eslint": "23.1.1",
68
- "@nx/webpack": "23.1.1",
69
- "@nx/react": "23.1.1"
65
+ "@nx/js": "23.1.2",
66
+ "@nx/eslint": "23.1.2",
67
+ "@nx/devkit": "23.1.2",
68
+ "@nx/react": "23.1.2"
70
69
  },
71
70
  "peerDependencies": {
72
71
  "react-native": ">=0.83.0 <0.85.0",
@@ -79,11 +78,12 @@
79
78
  }
80
79
  },
81
80
  "devDependencies": {
82
- "nx": "23.1.1"
81
+ "@nx/webpack": "23.1.2",
82
+ "nx": "23.1.2"
83
83
  },
84
84
  "optionalDependencies": {
85
- "@nx/detox": "23.1.1",
86
- "@nx/rollup": "23.1.1"
85
+ "@nx/detox": "23.1.2",
86
+ "@nx/rollup": "23.1.2"
87
87
  },
88
88
  "executors": "./executors.json",
89
89
  "ng-update": {