@nx/cypress 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.
|
@@ -7,10 +7,6 @@ export interface CypressE2EConfigSchema {
|
|
|
7
7
|
js?: boolean;
|
|
8
8
|
skipFormat?: boolean;
|
|
9
9
|
enableTypedLinting?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated Use `enableTypedLinting` instead. This option will be removed in Nx v24.
|
|
12
|
-
*/
|
|
13
|
-
setParserOptionsProject?: boolean;
|
|
14
10
|
skipPackageJson?: boolean;
|
|
15
11
|
bundler?: 'webpack' | 'vite' | 'none';
|
|
16
12
|
devServerTarget?: string;
|
|
@@ -65,12 +65,6 @@
|
|
|
65
65
|
"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.",
|
|
66
66
|
"default": false
|
|
67
67
|
},
|
|
68
|
-
"setParserOptionsProject": {
|
|
69
|
-
"type": "boolean",
|
|
70
|
-
"description": "Deprecated alias for `enableTypedLinting`.",
|
|
71
|
-
"default": false,
|
|
72
|
-
"x-deprecated": "Use `enableTypedLinting` instead. This option will be removed in Nx v24."
|
|
73
|
-
},
|
|
74
68
|
"skipPackageJson": {
|
|
75
69
|
"type": "boolean",
|
|
76
70
|
"default": false,
|
|
@@ -4,10 +4,6 @@ export interface CyLinterOptions {
|
|
|
4
4
|
project: string;
|
|
5
5
|
linter: LinterType;
|
|
6
6
|
enableTypedLinting?: boolean;
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated Use `enableTypedLinting` instead. This option will be removed in Nx v24.
|
|
9
|
-
*/
|
|
10
|
-
setParserOptionsProject?: boolean;
|
|
11
7
|
skipPackageJson?: boolean;
|
|
12
8
|
rootProject?: boolean;
|
|
13
9
|
js?: boolean;
|
|
@@ -12,7 +12,7 @@ async function addLinterToCyProject(tree, options) {
|
|
|
12
12
|
const tasks = [];
|
|
13
13
|
const projectConfig = (0, devkit_1.readProjectConfiguration)(tree, options.project);
|
|
14
14
|
const eslintFile = (0, internal_1.findEslintFile)(tree, projectConfig.root);
|
|
15
|
-
const enableTypedLinting =
|
|
15
|
+
const { enableTypedLinting } = options;
|
|
16
16
|
// Register whichever linter was asked for. An existing ESLint config means
|
|
17
17
|
// the project is already registered, so skip straight to the Cypress-specific
|
|
18
18
|
// shaping below.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/cypress",
|
|
3
|
-
"version": "24.0.0-
|
|
3
|
+
"version": "24.0.0-rc.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"files": [
|
|
@@ -84,16 +84,16 @@
|
|
|
84
84
|
"supportsOptionalMigrations": true
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@nx/devkit": "24.0.0-
|
|
88
|
-
"@nx/eslint": "24.0.0-
|
|
89
|
-
"@nx/js": "24.0.0-
|
|
87
|
+
"@nx/devkit": "24.0.0-rc.0",
|
|
88
|
+
"@nx/eslint": "24.0.0-rc.0",
|
|
89
|
+
"@nx/js": "24.0.0-rc.0",
|
|
90
90
|
"@phenomnomnominal/tsquery": "~6.2.0",
|
|
91
91
|
"semver": "^7.6.3",
|
|
92
92
|
"tree-kill": "^1.2.2",
|
|
93
93
|
"tslib": "^2.3.0"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
|
-
"nx": "24.0.0-
|
|
96
|
+
"nx": "24.0.0-rc.0"
|
|
97
97
|
},
|
|
98
98
|
"peerDependencies": {
|
|
99
99
|
"cypress": ">= 13 < 17"
|