@nx/plugin 23.2.0-beta.2 → 23.2.0-beta.3
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.
|
@@ -228,7 +228,7 @@ async function addLintingToApplication(tree, options) {
|
|
|
228
228
|
],
|
|
229
229
|
unitTestRunner: options.testRunner ?? 'jest',
|
|
230
230
|
skipFormat: true,
|
|
231
|
-
|
|
231
|
+
enableTypedLinting: false,
|
|
232
232
|
addPlugin: options.addPlugin,
|
|
233
233
|
});
|
|
234
234
|
return lintTask;
|
|
@@ -12,6 +12,10 @@ export interface Schema {
|
|
|
12
12
|
tags?: string;
|
|
13
13
|
unitTestRunner?: 'jest' | 'vitest' | 'none';
|
|
14
14
|
linter?: Linter | LinterType;
|
|
15
|
+
enableTypedLinting?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated Use `enableTypedLinting` instead. This option will be removed in Nx v24.
|
|
18
|
+
*/
|
|
15
19
|
setParserOptionsProject?: boolean;
|
|
16
20
|
compiler?: 'swc' | 'tsc';
|
|
17
21
|
rootProject?: boolean;
|
|
@@ -75,11 +75,17 @@
|
|
|
75
75
|
"type": "string",
|
|
76
76
|
"description": "A directory where the plugin E2E project is placed."
|
|
77
77
|
},
|
|
78
|
-
"
|
|
78
|
+
"enableTypedLinting": {
|
|
79
79
|
"type": "boolean",
|
|
80
|
-
"description": "Whether
|
|
80
|
+
"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.",
|
|
81
81
|
"default": false
|
|
82
82
|
},
|
|
83
|
+
"setParserOptionsProject": {
|
|
84
|
+
"type": "boolean",
|
|
85
|
+
"description": "Deprecated alias for `enableTypedLinting`.",
|
|
86
|
+
"default": false,
|
|
87
|
+
"x-deprecated": "Use `enableTypedLinting` instead. This option will be removed in Nx v24."
|
|
88
|
+
},
|
|
83
89
|
"compiler": {
|
|
84
90
|
"type": "string",
|
|
85
91
|
"enum": ["tsc", "swc"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/plugin",
|
|
3
|
-
"version": "23.2.0-beta.
|
|
3
|
+
"version": "23.2.0-beta.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "This plugin is used to create Nx plugins! It contains generators for generating common plugin features like generators, executors, migrations and more.",
|
|
6
6
|
"repository": {
|
|
@@ -36,16 +36,16 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"tslib": "^2.3.0",
|
|
39
|
-
"@nx/devkit": "23.2.0-beta.
|
|
40
|
-
"@nx/jest": "23.2.0-beta.
|
|
41
|
-
"@nx/js": "23.2.0-beta.
|
|
42
|
-
"@nx/eslint": "23.2.0-beta.
|
|
39
|
+
"@nx/devkit": "23.2.0-beta.3",
|
|
40
|
+
"@nx/jest": "23.2.0-beta.3",
|
|
41
|
+
"@nx/js": "23.2.0-beta.3",
|
|
42
|
+
"@nx/eslint": "23.2.0-beta.3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"nx": "23.2.0-beta.
|
|
45
|
+
"nx": "23.2.0-beta.3"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@nx/vitest": "23.2.0-beta.
|
|
48
|
+
"@nx/vitest": "23.2.0-beta.3"
|
|
49
49
|
},
|
|
50
50
|
"peerDependenciesMeta": {
|
|
51
51
|
"@nx/vitest": {
|