@nx/detox 23.2.0-beta.4 → 23.2.0-beta.6

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.
@@ -5,14 +5,12 @@ const internal_1 = require("@nx/devkit/internal");
5
5
  const devkit_1 = require("@nx/devkit");
6
6
  const path_1 = require("path");
7
7
  const js_1 = require("@nx/js");
8
- const cache_directory_1 = require("nx/src/utils/cache-directory");
9
- const devkit_internals_1 = require("nx/src/devkit-internals");
10
8
  const internal_2 = require("@nx/js/internal");
11
9
  exports.createNodes = [
12
10
  '**/{detox.config,.detoxrc}.{json,js}',
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, `detox-${optionsHash}.hash`);
12
+ const optionsHash = (0, internal_1.hashObject)(options);
13
+ const cachePath = (0, path_1.join)(internal_1.workspaceDataDirectory, `detox-${optionsHash}.hash`);
16
14
  const targetsCache = new internal_1.PluginCache(cachePath);
17
15
  const packageManager = (0, devkit_1.detectPackageManager)(context.workspaceRoot);
18
16
  const pmc = (0, devkit_1.getPackageManagerCommand)(packageManager);
@@ -1,4 +1,4 @@
1
- import type { Tree } from 'nx/src/generators/tree';
1
+ import { type Tree } from '@nx/devkit';
2
2
  /**
3
3
  * Get the installed Expo version from package.json.
4
4
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/detox",
3
- "version": "23.2.0-beta.4",
3
+ "version": "23.2.0-beta.6",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Detox contains executors and generators for allowing your workspace to use the powerful Detox integration testing capabilities.",
6
6
  "keywords": [
@@ -37,14 +37,14 @@
37
37
  "dependencies": {
38
38
  "semver": "^7.6.3",
39
39
  "tslib": "^2.3.0",
40
- "@nx/devkit": "23.2.0-beta.4",
41
- "@nx/jest": "23.2.0-beta.4",
42
- "@nx/js": "23.2.0-beta.4",
43
- "@nx/eslint": "23.2.0-beta.4",
44
- "@nx/react": "23.2.0-beta.4"
40
+ "@nx/devkit": "23.2.0-beta.6",
41
+ "@nx/jest": "23.2.0-beta.6",
42
+ "@nx/js": "23.2.0-beta.6",
43
+ "@nx/eslint": "23.2.0-beta.6",
44
+ "@nx/react": "23.2.0-beta.6"
45
45
  },
46
46
  "devDependencies": {
47
- "nx": "23.2.0-beta.4"
47
+ "nx": "23.2.0-beta.6"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "detox": "^20.0.0"