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

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.
@@ -17,6 +17,7 @@ async function addLinting(host, options) {
17
17
  (0, devkit_1.joinPathFragments)(options.e2eProjectRoot, 'tsconfig.app.json'),
18
18
  ],
19
19
  skipFormat: true,
20
+ enableTypedLinting: (0, internal_1.isTypedLintingEnabled)(options),
20
21
  addPlugin: options.addPlugin,
21
22
  });
22
23
  tasks.push(lintTask);
@@ -9,6 +9,10 @@ export interface Schema {
9
9
  linter?: Linter | LinterType;
10
10
  js?: boolean;
11
11
  skipFormat?: boolean;
12
+ enableTypedLinting?: boolean;
13
+ /**
14
+ * @deprecated Use `enableTypedLinting` instead. This option will be removed in Nx v24.
15
+ */
12
16
  setParserOptionsProject?: boolean;
13
17
  framework: 'react-native' | 'expo';
14
18
  addPlugin?: boolean;
@@ -56,11 +56,17 @@
56
56
  "default": false,
57
57
  "x-priority": "internal"
58
58
  },
59
- "setParserOptionsProject": {
59
+ "enableTypedLinting": {
60
60
  "type": "boolean",
61
- "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
61
+ "description": "Whether to enable typed linting. For flat configs, this configures the recommended `parserOptions.projectService` and `tsconfigRootDir`. For legacy `.eslintrc` configs, this configures `parserOptions.project`. We do not enable this by default for lint performance reasons.",
62
62
  "default": false
63
63
  },
64
+ "setParserOptionsProject": {
65
+ "type": "boolean",
66
+ "description": "Deprecated alias for `enableTypedLinting`.",
67
+ "default": false,
68
+ "x-deprecated": "Use `enableTypedLinting` instead. This option will be removed in Nx v24."
69
+ },
64
70
  "useProjectJson": {
65
71
  "type": "boolean",
66
72
  "description": "Use a `project.json` configuration file instead of inlining the Nx configuration in the `package.json` file."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/detox",
3
- "version": "23.2.0-beta.2",
3
+ "version": "23.2.0-beta.4",
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.2",
41
- "@nx/jest": "23.2.0-beta.2",
42
- "@nx/js": "23.2.0-beta.2",
43
- "@nx/eslint": "23.2.0-beta.2",
44
- "@nx/react": "23.2.0-beta.2"
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"
45
45
  },
46
46
  "devDependencies": {
47
- "nx": "23.2.0-beta.2"
47
+ "nx": "23.2.0-beta.4"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "detox": "^20.0.0"