@nx/react-native 24.0.0-canary.20261020-e7ffd79 → 24.0.0-rc.0
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/dist/src/generators/application/lib/add-e2e.js +0 -2
- package/dist/src/generators/application/schema.d.ts +0 -4
- package/dist/src/generators/application/schema.json +0 -6
- package/dist/src/generators/library/schema.d.ts +0 -4
- package/dist/src/generators/library/schema.json +0 -6
- package/dist/src/utils/add-linting.d.ts +0 -4
- package/dist/src/utils/add-linting.js +1 -1
- package/package.json +9 -9
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.addE2e = addE2e;
|
|
4
4
|
const internal_1 = require("@nx/react/internal");
|
|
5
5
|
const devkit_1 = require("@nx/devkit");
|
|
6
|
-
const internal_2 = require("@nx/eslint/internal");
|
|
7
6
|
const versions_1 = require("../../../utils/versions");
|
|
8
7
|
async function addE2e(host, options) {
|
|
9
8
|
switch (options.e2eTestRunner) {
|
|
@@ -35,7 +34,6 @@ async function addE2e(host, options) {
|
|
|
35
34
|
appDisplayName: options.displayName,
|
|
36
35
|
appName: options.name,
|
|
37
36
|
framework: 'react-native',
|
|
38
|
-
enableTypedLinting: (0, internal_2.isTypedLintingEnabled)(options),
|
|
39
37
|
skipFormat: true,
|
|
40
38
|
});
|
|
41
39
|
case 'none':
|
|
@@ -12,10 +12,6 @@ export interface Schema {
|
|
|
12
12
|
js?: boolean;
|
|
13
13
|
linter?: LinterType;
|
|
14
14
|
enableTypedLinting?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated Use `enableTypedLinting` instead. This option will be removed in Nx v24.
|
|
17
|
-
*/
|
|
18
|
-
setParserOptionsProject?: boolean;
|
|
19
15
|
e2eTestRunner: 'cypress' | 'playwright' | 'detox' | 'none'; // default is cypress
|
|
20
16
|
bundler: 'webpack' | 'vite'; // default is webpack
|
|
21
17
|
install: boolean; // default is true
|
|
@@ -73,12 +73,6 @@
|
|
|
73
73
|
"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.",
|
|
74
74
|
"default": false
|
|
75
75
|
},
|
|
76
|
-
"setParserOptionsProject": {
|
|
77
|
-
"type": "boolean",
|
|
78
|
-
"description": "Deprecated alias for `enableTypedLinting`.",
|
|
79
|
-
"default": false,
|
|
80
|
-
"x-deprecated": "Use `enableTypedLinting` instead. This option will be removed in Nx v24."
|
|
81
|
-
},
|
|
82
76
|
"e2eTestRunner": {
|
|
83
77
|
"description": "Adds the specified e2e test runner.",
|
|
84
78
|
"type": "string",
|
|
@@ -17,10 +17,6 @@ export interface Schema {
|
|
|
17
17
|
js?: boolean;
|
|
18
18
|
strict?: boolean;
|
|
19
19
|
enableTypedLinting?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated Use `enableTypedLinting` instead. This option will be removed in Nx v24.
|
|
22
|
-
*/
|
|
23
|
-
setParserOptionsProject?: boolean;
|
|
24
20
|
skipPackageJson?: boolean; //default is false
|
|
25
21
|
useProjectJson?: boolean;
|
|
26
22
|
}
|
|
@@ -87,12 +87,6 @@
|
|
|
87
87
|
"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.",
|
|
88
88
|
"default": false
|
|
89
89
|
},
|
|
90
|
-
"setParserOptionsProject": {
|
|
91
|
-
"type": "boolean",
|
|
92
|
-
"description": "Deprecated alias for `enableTypedLinting`.",
|
|
93
|
-
"default": false,
|
|
94
|
-
"x-deprecated": "Use `enableTypedLinting` instead. This option will be removed in Nx v24."
|
|
95
|
-
},
|
|
96
90
|
"skipPackageJson": {
|
|
97
91
|
"description": "Do not add dependencies to `package.json`.",
|
|
98
92
|
"type": "boolean",
|
|
@@ -5,10 +5,6 @@ interface NormalizedSchema {
|
|
|
5
5
|
projectName: string;
|
|
6
6
|
projectRoot: string;
|
|
7
7
|
enableTypedLinting?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated Use `enableTypedLinting` instead. This option will be removed in Nx v24.
|
|
10
|
-
*/
|
|
11
|
-
setParserOptionsProject?: boolean;
|
|
12
8
|
tsConfigPaths: string[];
|
|
13
9
|
unitTestRunner?: string;
|
|
14
10
|
skipPackageJson?: boolean;
|
|
@@ -14,7 +14,7 @@ async function addLinting(host, options) {
|
|
|
14
14
|
tsConfigPaths: options.tsConfigPaths,
|
|
15
15
|
unitTestRunner: options.unitTestRunner,
|
|
16
16
|
skipPackageJson: options.skipPackageJson,
|
|
17
|
-
enableTypedLinting:
|
|
17
|
+
enableTypedLinting: options.enableTypedLinting,
|
|
18
18
|
addPackageJsonDependencyChecks: options.buildable,
|
|
19
19
|
}));
|
|
20
20
|
// Everything below configures ESLint — predefined configs, `extends`, ignore
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/react-native",
|
|
3
|
-
"version": "24.0.0-
|
|
3
|
+
"version": "24.0.0-rc.0",
|
|
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": [
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@nx/devkit": "24.0.0-
|
|
58
|
-
"@nx/js": "24.0.0-
|
|
59
|
-
"@nx/eslint": "24.0.0-
|
|
60
|
-
"@nx/react": "24.0.0-
|
|
57
|
+
"@nx/devkit": "24.0.0-rc.0",
|
|
58
|
+
"@nx/js": "24.0.0-rc.0",
|
|
59
|
+
"@nx/eslint": "24.0.0-rc.0",
|
|
60
|
+
"@nx/react": "24.0.0-rc.0",
|
|
61
61
|
"ajv": "^8.0.0",
|
|
62
62
|
"enhanced-resolve": "^5.8.3",
|
|
63
63
|
"ignore": "^7.0.5",
|
|
@@ -78,12 +78,12 @@
|
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"@nx/webpack": "24.0.0-
|
|
82
|
-
"nx": "24.0.0-
|
|
81
|
+
"@nx/webpack": "24.0.0-rc.0",
|
|
82
|
+
"nx": "24.0.0-rc.0"
|
|
83
83
|
},
|
|
84
84
|
"optionalDependencies": {
|
|
85
|
-
"@nx/detox": "24.0.0-
|
|
86
|
-
"@nx/rollup": "24.0.0-
|
|
85
|
+
"@nx/detox": "24.0.0-rc.0",
|
|
86
|
+
"@nx/rollup": "24.0.0-rc.0"
|
|
87
87
|
},
|
|
88
88
|
"executors": "./executors.json",
|
|
89
89
|
"ng-update": {
|